:root {
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-bg-strong: rgba(255, 255, 255, 0.28);
  --ink-strong: #13203d;
  --ink-soft: #3f4f79;
  --accent-blue: #5a8dff;
  --accent-cyan: #42d6ff;
  --accent-pink: #ff7fb1;
}

html,
body {
  background: radial-gradient(circle at 8% 8%, #bed6ff 0%, transparent 40%),
              radial-gradient(circle at 85% 15%, #ffd3e4 0%, transparent 35%),
              radial-gradient(circle at 50% 95%, #c9ffe8 0%, transparent 35%),
              linear-gradient(130deg, #9eb2e8 0%, #95a4d8 45%, #9ca7cd 100%);
  color: var(--ink-strong);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.36;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -10vw;
  left: -8vw;
  background: linear-gradient(135deg, #82d4ff, #b59dff);
}

body::after {
  right: -12vw;
  bottom: -14vw;
  background: linear-gradient(135deg, #ff9dbf, #ffd081);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin-top: 28px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.47), rgba(255, 255, 255, 0.23));
  box-shadow: 0 28px 60px rgba(22, 34, 62, 0.24);
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
}

.page::before {
  display: none;
}

.glass-hero {
  padding: 72px 40px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: end;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #17325f;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(126, 154, 227, 0.45);
}

.glass-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #0f1f42;
  background: linear-gradient(120deg, #0f2d63, #4a4a9f 45%, #8f3f76);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-hero p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-btn {
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-btn.primary {
  color: white;
  background: linear-gradient(135deg, #316ef5, #6239f7);
  box-shadow: 0 10px 24px rgba(60, 79, 187, 0.35);
}

.hero-btn.secondary {
  color: #163262;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(103, 131, 209, 0.5);
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-stat-cloud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-pill {
  border-radius: 16px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.stat-pill strong {
  display: block;
  font-size: 1.26rem;
  color: #0f2856;
}

.stat-pill span {
  font-size: 0.84rem;
  color: #405179;
}

.glass-grid {
  padding: 10px 40px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.glass-card {
  border-radius: 18px;
  padding: 18px;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #132a55;
}

.glass-card p {
  margin: 0;
  color: #485b85;
  line-height: 1.6;
  font-size: 0.93rem;
}

.album-row {
  padding: 8px 40px 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.discography-section {
  padding: 0 40px 42px;
}

.discography-head h2 {
  margin: 0 0 8px;
  color: #152f5f;
}

.discography-head p {
  margin: 0 0 14px;
  color: #465984;
}

.discography-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.release-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(117, 145, 214, 0.36);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.43));
  box-shadow: 0 12px 24px rgba(31, 43, 80, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.release-main {
  min-width: 0;
  text-decoration: none;
  color: #143161;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.release-main strong {
  font-size: 0.94rem;
}

.release-main span {
  font-size: 0.8rem;
  color: #4a618f;
}

.release-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.stream-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(118, 145, 204, 0.44);
  background: rgba(255, 255, 255, 0.62);
}

.stream-btn.apple {
  background: #fc3c44;
  border-color: #fc3c44;
  color: #ffffff;
}

.stream-btn.spotify {
  color: #1db954;
}

.stream-btn.apple:hover {
  background: #ff4757;
  border-color: #ff4757;
}

.stream-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.artist-bio-section {
  padding: 0 40px 46px;
}

.artist-bio-card {
  border-radius: 20px;
  border: 1px solid rgba(117, 145, 214, 0.36);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.43));
  box-shadow: 0 14px 28px rgba(31, 43, 80, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px;
}

.artist-bio-content h2 {
  margin: 0 0 10px;
  color: #152f5f;
}

.artist-bio-photo-inline {
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  float: left;
  margin: 4px 16px 10px 0;
  border-radius: 12px;
  border: 1px solid rgba(115, 145, 212, 0.4);
  box-shadow: 0 8px 18px rgba(31, 43, 80, 0.16);
}

.artist-bio-content p {
  margin: 0 0 12px;
  color: #445981;
  line-height: 1.75;
}

.artist-bio-content p:last-child {
  margin-bottom: 0;
}

.album-card {
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: 1px solid rgba(255, 255, 255, 0.45);
  overflow: hidden;
  box-shadow: 0 16px 26px rgba(31, 43, 80, 0.16);
}

.album-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.album-body {
  padding: 16px;
}

.album-body h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #152f5f;
}

.album-body p {
  margin: 0;
  color: #435680;
  line-height: 1.65;
}

.mini-links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: #143161;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(110, 137, 206, 0.5);
  background: rgba(255, 255, 255, 0.55);
}

/* Disable inherited legacy hover underline from style-optimized.css */
.page a:hover::after,
.page a:not(.btn-icon):hover::after,
.discography-section a:hover::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

footer {
  color: #3a4f7c;
}

@media (max-width: 960px) {
  .glass-hero {
    grid-template-columns: 1fr;
    padding: 66px 26px 26px;
  }

  .glass-grid,
  .album-row,
  .artist-bio-section {
    padding-left: 26px;
    padding-right: 26px;
  }

  .glass-grid {
    grid-template-columns: 1fr;
  }

  .album-row {
    grid-template-columns: 1fr;
  }

  .discography-list {
    grid-template-columns: 1fr;
  }

  .release-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-links {
    width: 100%;
  }

  .artist-bio-photo-inline {
    float: none;
    display: block;
    margin: 2px 0 12px;
    width: 160px !important;
    max-width: 160px !important;
  }
}

@media (max-width: 640px) {
  .hero-stat-cloud {
    grid-template-columns: 1fr;
  }

  .glass-hero h1 {
    font-size: 2.15rem;
  }

  .glass-hero p {
    font-size: 0.99rem;
  }
}

html[data-theme="dark"] .page {
  background: linear-gradient(140deg, rgba(20, 26, 44, 0.8), rgba(20, 24, 38, 0.72));
  border-color: rgba(143, 170, 255, 0.25);
}

html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .stat-pill,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .album-card,
html[data-theme="dark"] .mini-links a,
html[data-theme="dark"] .hero-btn.secondary {
  background: rgba(21, 29, 46, 0.62);
  border-color: rgba(131, 155, 219, 0.35);
  color: #d8e6ff;
}

html[data-theme="dark"] .glass-hero p,
html[data-theme="dark"] .glass-card p,
html[data-theme="dark"] .album-body p,
html[data-theme="dark"] footer,
html[data-theme="dark"] .stat-pill span {
  color: #a8bddf;
}

html[data-theme="dark"] .glass-hero h1,
html[data-theme="dark"] .album-body h2,
html[data-theme="dark"] .glass-card h3,
html[data-theme="dark"] .stat-pill strong {
  color: #eef4ff;
}

html[data-theme="dark"] .discography-head h2 {
  color: #eef4ff;
}

html[data-theme="dark"] .discography-head p,
html[data-theme="dark"] .release-main span {
  color: #a8bddf;
}

html[data-theme="dark"] .release-card {
  background: linear-gradient(145deg, rgba(21, 29, 46, 0.72), rgba(21, 29, 46, 0.56));
  border-color: rgba(131, 155, 219, 0.3);
}

html[data-theme="dark"] .release-main {
  color: #d8e6ff;
}

html[data-theme="dark"] .stream-btn {
  background: rgba(17, 24, 39, 0.78);
  border-color: rgba(136, 163, 220, 0.36);
}

html[data-theme="dark"] .stream-btn.apple {
  background: #fc3c44;
  border-color: #fc3c44;
  color: #ffffff;
}

html[data-theme="dark"] .artist-bio-card {
  background: linear-gradient(145deg, rgba(21, 29, 46, 0.72), rgba(21, 29, 46, 0.56));
  border-color: rgba(131, 155, 219, 0.3);
}

html[data-theme="dark"] .artist-bio-content h2 {
  color: #eef4ff;
}

html[data-theme="dark"] .artist-bio-content p {
  color: #a8bddf;
}
