/* ==========================================================================
   黄杏短剧 · 官方落地页
   Palette sampled from the brand logo: deep navy #03102b + apricot gold/orange
   ========================================================================== */

:root {
  --navy-950: #010817;
  --navy-900: #03102b;
  --navy-850: #061631;
  --navy-800: #081c3c;
  --navy-700: #0d264c;
  --cream: #fff8ea;
  --cream-2: #ffe9c7;
  --gold: #ffb21c;
  --gold-2: #ffd36a;
  --orange: #ff7a18;
  --orange-deep: #ef4d1b;
  --leaf: #55b55d;
  --text: #fff8ea;
  --muted: #b9bfd0;
  --muted-2: #8f98ad;
  --line: rgba(255, 190, 92, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glass: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-warm: 0 18px 46px rgba(239, 77, 27, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 78px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "STSong", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--navy-900);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(1200px 760px at 82% -6%, rgba(255, 133, 30, 0.16), transparent 62%),
    radial-gradient(900px 640px at -8% 28%, rgba(28, 88, 168, 0.16), transparent 65%),
    radial-gradient(800px 600px at 50% 106%, rgba(255, 150, 40, 0.08), transparent 62%),
    var(--navy-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 213, 150, 0.1) 0.7px, transparent 0.7px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #1d1204;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: #1b1206;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(3, 16, 43, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(255, 196, 92, 0.34);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.brand-copy small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: rgba(255, 205, 130, 0.62);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 14.5px;
  color: rgba(255, 248, 234, 0.78);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--cream);
}

.main-nav a:hover::after {
  width: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.main-nav + .header-actions {
  margin-left: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & shared type
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #201305;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 38%, var(--orange) 100%);
  box-shadow: 0 12px 30px rgba(255, 132, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(255, 132, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--cream);
  border-color: rgba(255, 203, 120, 0.24);
  background: rgba(255, 255, 255, 0.035);
}

.btn-ghost:hover {
  border-color: rgba(255, 203, 120, 0.5);
  background: rgba(255, 203, 120, 0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 16.5px;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 178, 28, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 178, 28, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 178, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 178, 28, 0); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold-2);
  transition: gap 0.25s var(--ease), color 0.2s ease;
}

.text-link:hover {
  gap: 13px;
  color: #fff3d3;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-alt {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(255, 157, 45, 0.055), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2,
.rank-intro h2,
.faq-intro h2,
.about-layout h2,
.download-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.section-lead {
  padding-bottom: 6px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
}

.hero-glow-1 {
  top: -12%;
  right: 4%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 144, 30, 0.28), transparent 66%);
}

.hero-glow-2 {
  bottom: -30%;
  left: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(30, 92, 175, 0.28), transparent 66%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 203, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 203, 122, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 68%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(56px, 6.4vw, 88px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.02em;
  color: var(--gold-2);
  text-shadow: 0 10px 40px rgba(255, 138, 26, 0.16);
}

.hero-title-sub {
  display: block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0.035em;
  color: var(--cream);
  text-shadow: none;
}

.hero-lead {
  max-width: 590px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  margin-top: 30px;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 196, 92, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px;
  color: rgba(255, 244, 226, 0.8);
}

.hero-chips .icon {
  width: 13px;
  height: 13px;
  color: var(--leaf);
  stroke-width: 2.6;
}

.hero-domain {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.hero-domain .icon {
  color: var(--gold);
}

.hero-domain strong {
  color: var(--cream-2);
  font-weight: 700;
}

/* Hero visual */

.hero-visual {
  --tilt-x: 0px;
  --tilt-y: 0px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-orbit {
  position: absolute;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  border: 1px solid rgba(255, 198, 96, 0.09);
  background:
    radial-gradient(circle, rgba(255, 156, 42, 0.14) 0%, rgba(255, 156, 42, 0.02) 52%, transparent 70%);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 198, 96, 0.11);
}

.hero-orbit::before {
  inset: 42px;
}

.hero-orbit::after {
  inset: 92px;
}

.hero-logo-card {
  position: relative;
  width: min(438px, 84%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 196, 92, 0.26);
  border-radius: 48px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 10px rgba(255, 191, 84, 0.035),
    0 0 90px rgba(255, 138, 26, 0.16);
  transform: translate(var(--tilt-x), var(--tilt-y));
  transition: transform 0.4s var(--ease);
}

.hero-logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 32%, transparent 72%, rgba(255, 160, 50, 0.08));
  pointer-events: none;
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 198, 96, 0.24);
  border-radius: 16px;
  background: rgba(6, 22, 49, 0.86);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.float-card-top {
  top: -1%;
  left: -4%;
}

.float-card-bottom {
  right: -4%;
  bottom: 5%;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  animation-delay: -3s;
}

.float-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.float-card strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
}

.float-meter {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.float-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--orange));
  color: #201305;
  box-shadow: 0 8px 20px rgba(255, 130, 24, 0.32);
}

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

.float-card-bottom span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.float-card-bottom small {
  font-size: 11px;
  color: var(--muted-2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 14px 3px rgba(255, 178, 28, 0.55);
  animation: twinkle 4s ease-in-out infinite;
}

.spark-1 { top: 9%; right: 17%; }
.spark-2 { bottom: 20%; left: 9%; width: 4px; height: 4px; animation-delay: -1.6s; }
.spark-3 { top: 42%; right: 2%; width: 3px; height: 3px; animation-delay: -2.7s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 150, 36, 0.07), rgba(255, 255, 255, 0.02), rgba(255, 150, 36, 0.07));
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 38s linear infinite;
}

.ticker span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 216, 156, 0.72);
  white-space: nowrap;
}

.ticker i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.7;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Features
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--glass);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 185, 70, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 190, 92, 0.26);
  background: linear-gradient(155deg, rgba(255, 178, 28, 0.075), rgba(255, 255, 255, 0.02));
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 196, 92, 0.22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 178, 28, 0.15), rgba(255, 102, 24, 0.05));
  color: var(--gold-2);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ==========================================================================
   Drama cards
   ========================================================================== */

.drama-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.drama-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(7, 24, 50, 0.74);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.drama-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 190, 92, 0.32);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.drama-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drama-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
}

.drama-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(2, 10, 26, 0.05) 0%, transparent 40%, rgba(2, 10, 26, 0.78) 100%),
    repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.drama-glyph {
  position: absolute;
  right: 4%;
  bottom: -16%;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(150px, 15vw, 210px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 236, 203, 0.16);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s var(--ease), color 0.4s ease;
}

.drama-card:hover .drama-glyph {
  transform: scale(1.06) rotate(-3deg);
  color: rgba(255, 236, 203, 0.24);
}

.drama-tag,
.drama-eps {
  position: absolute;
  z-index: 3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.drama-tag {
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 224, 176, 0.24);
  background: rgba(4, 16, 38, 0.62);
  color: var(--cream-2);
}

.drama-eps {
  right: 16px;
  bottom: 16px;
  padding: 4px 10px;
  background: rgba(4, 16, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 244, 226, 0.8);
}

/* Art themes */

.art-city {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 210, 106, 0.95) 0 8%, rgba(255, 160, 48, 0.24) 8.5% 15%, transparent 16%),
    linear-gradient(158deg, #173a6c 0%, #0c2049 46%, #07152f 100%);
}

.art-sun {
  position: absolute;
  top: 14%;
  left: 62%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff2c9, #ffc044 46%, #ff8a2a 100%);
  box-shadow: 0 0 60px 14px rgba(255, 168, 50, 0.35);
}

.art-skyline {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(8, 27, 58, 0.45), rgba(3, 12, 30, 0.95));
  clip-path: polygon(0 100%, 0 52%, 8% 52%, 8% 35%, 15% 35%, 15% 58%, 24% 58%, 24% 22%, 33% 22%, 33% 46%, 42% 46%, 42% 30%, 52% 30%, 52% 62%, 61% 62%, 61% 18%, 70% 18%, 70% 44%, 79% 44%, 79% 33%, 88% 33%, 88% 55%, 100% 55%, 100% 100%);
}

.art-palace {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 238, 196, 0.95) 0 7%, rgba(255, 206, 126, 0.16) 7.5% 13%, transparent 14%),
    linear-gradient(158deg, #6b1d2a 0%, #3a1424 45%, #100d21 100%);
}

.art-moon {
  position: absolute;
  top: 12%;
  left: 18%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffedc4;
  box-shadow: 0 0 50px 12px rgba(255, 214, 150, 0.22);
  opacity: 0.86;
}

.art-palace {
  overflow: hidden;
}

.art-palace::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(26, 10, 22, 0.2), rgba(9, 8, 20, 0.94));
  clip-path: polygon(0 100%, 0 58%, 7% 58%, 7% 48%, 16% 48%, 16% 38%, 24% 38%, 24% 28%, 50% 6%, 76% 28%, 76% 38%, 84% 38%, 84% 48%, 93% 48%, 93% 58%, 100% 58%, 100% 100%);
}

.art-moon,
.art-palace::before {
  z-index: 1;
}

.art-palace .drama-glyph {
  z-index: 2;
}

.art-sweet {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 183, 160, 0.5), transparent 36%),
    linear-gradient(158deg, #8d334f 0%, #4a2039 48%, #17112b 100%);
}

.art-heart {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff0df, #ffb08e 38%, rgba(255, 104, 104, 0.15) 72%);
  filter: blur(0.4px);
}

.art-heart-1 {
  top: 18%;
  left: 58%;
  width: 52px;
  height: 52px;
  opacity: 0.75;
}

.art-heart-2 {
  top: 46%;
  left: 78%;
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.art-mystery {
  background:
    radial-gradient(circle at 74% 16%, rgba(146, 226, 218, 0.36), transparent 34%),
    linear-gradient(158deg, #123f4f 0%, #0a253c 48%, #061122 100%);
}

.art-mist {
  position: absolute;
  inset: auto -10% 14%;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(151, 214, 214, 0.16) 45%, transparent);
  filter: blur(12px);
}

.art-lighthouse {
  position: absolute;
  right: 22%;
  bottom: 14%;
  width: 10px;
  height: 46%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #ffe2ac, #8a6a48 42%, #1b2534);
  box-shadow: 0 0 28px rgba(255, 222, 170, 0.28);
}

.art-lighthouse::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -5px;
  width: 20px;
  height: 12px;
  border-radius: 6px 6px 2px 2px;
  background: #ffe6b0;
  box-shadow: 0 0 22px 6px rgba(255, 220, 160, 0.42);
}

.art-lighthouse::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 4px;
  width: 130px;
  height: 40px;
  background: linear-gradient(90deg, rgba(255, 228, 172, 0.26), transparent);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%);
}

.art-blaze {
  background:
    radial-gradient(circle at 76% 74%, rgba(255, 142, 52, 0.42), transparent 42%),
    linear-gradient(158deg, #7a2b14 0%, #3b1420 46%, #0d0f24 100%);
}

.art-ridge {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(248, 133, 54, 0.22), rgba(5, 10, 24, 0.92));
  clip-path: polygon(0 100%, 0 70%, 14% 44%, 28% 62%, 45% 24%, 62% 54%, 77% 38%, 100% 66%, 100% 100%);
}

.art-beam {
  position: absolute;
  top: -10%;
  right: 12%;
  width: 120px;
  height: 130%;
  background: linear-gradient(180deg, rgba(255, 186, 96, 0.28), transparent 72%);
  transform: rotate(18deg);
  filter: blur(8px);
}

.art-luck {
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 184, 96, 0.26), transparent 34%),
    linear-gradient(158deg, #453181 0%, #211d4d 50%, #0a102b 100%);
}

.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 203, 120, 0.3);
}

.art-ring-1 {
  top: 12%;
  left: 54%;
  width: 130px;
  height: 130px;
  border-color: rgba(255, 211, 106, 0.4);
  box-shadow: 0 0 40px rgba(255, 184, 54, 0.12) inset;
}

.art-ring-2 {
  top: 30%;
  left: 68%;
  width: 54px;
  height: 54px;
  border-style: dashed;
}

.art-city .drama-glyph,
.art-luck .drama-glyph {
  color: rgba(255, 228, 172, 0.2);
}

.drama-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.drama-body h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.015em;
  color: var(--cream);
}

.drama-body p {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.drama-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-2);
}

.drama-cta .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.drama-card:hover .drama-cta .icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Rank
   ========================================================================== */

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 60px;
  align-items: start;
}

.rank-intro {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.rank-intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.rank-notes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.rank-notes li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 244, 226, 0.76);
}

.rank-notes span {
  flex: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.rank-intro .text-link {
  margin-top: 28px;
  font-size: 14px;
}

.rank-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.rank-item {
  display: grid;
  grid-template-columns: 58px 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 18px;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.rank-item:hover {
  background: rgba(255, 178, 28, 0.06);
  transform: translateX(4px);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 214, 150, 0.38);
}

.rank-item:first-child .rank-num {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 178, 28, 0.32);
}

.rank-thumb {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  color: rgba(255, 242, 216, 0.82);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.art-palace-mini {
  background: radial-gradient(circle at 28% 24%, rgba(255, 236, 190, 0.55) 0 11%, transparent 12%), linear-gradient(150deg, #6b1d2a, #2a1021 70%, #0c0c1c);
}

.art-city-mini {
  background: radial-gradient(circle at 76% 20%, rgba(255, 205, 96, 0.72) 0 14%, transparent 15%), linear-gradient(150deg, #173a6c, #0a1a38 72%, #07132b);
}

.art-mystery-mini {
  background: radial-gradient(circle at 72% 24%, rgba(156, 226, 220, 0.42), transparent 32%), linear-gradient(150deg, #123f4f, #0a253c 72%, #061122);
}

.art-sweet-mini {
  background: radial-gradient(circle at 76% 22%, rgba(255, 190, 166, 0.55), transparent 34%), linear-gradient(150deg, #8d334f, #4a2039 72%, #17112b);
}

.art-luck-mini {
  background: radial-gradient(circle at 72% 26%, rgba(255, 190, 104, 0.45), transparent 34%), linear-gradient(150deg, #453181, #211d4d 72%, #0a102b);
}

.rank-info h3 {
  margin-bottom: 2px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--cream);
}

.rank-info p {
  font-size: 12.5px;
  color: var(--muted-2);
}

.rank-trend {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.trend-up {
  color: #9fe0a4;
  background: rgba(85, 181, 93, 0.12);
  border: 1px solid rgba(85, 181, 93, 0.22);
}

.trend-hot {
  color: var(--gold-2);
  background: rgba(255, 178, 28, 0.12);
  border: 1px solid rgba(255, 178, 28, 0.24);
}

.trend-new {
  color: #ffc1a8;
  background: rgba(255, 122, 24, 0.1);
  border: 1px solid rgba(255, 122, 24, 0.22);
}

/* ==========================================================================
   Genres
   ========================================================================== */

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.genre-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--glass);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.genre-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 28, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.genre-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 190, 92, 0.28);
  background: linear-gradient(155deg, rgba(255, 178, 28, 0.07), rgba(255, 255, 255, 0.02));
}

.genre-card:hover::after {
  opacity: 1;
}

.genre-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 196, 92, 0.18);
  background: rgba(255, 178, 28, 0.08);
  color: var(--gold-2);
}

.genre-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.genre-card h3 {
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
}

.genre-card p {
  flex: 1;
  font-size: 12.8px;
  line-height: 1.75;
  color: var(--muted-2);
}

.genre-arrow {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 210, 130, 0.8);
}

/* ==========================================================================
   Experience
   ========================================================================== */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.exp-card {
  padding: 18px 18px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(7, 24, 50, 0.6);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.exp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 190, 92, 0.25);
}

.exp-card h3 {
  margin: 22px 8px 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--cream);
}

.exp-card > p {
  margin: 0 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.exp-ui {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(240px 120px at 80% 0%, rgba(255, 167, 52, 0.12), transparent 70%),
    linear-gradient(160deg, #0a2042, #06152e);
  overflow: hidden;
}

.exp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted-2);
}

.exp-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 142px;
  margin-bottom: 14px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 201, 100, 0.4), transparent 34%),
    linear-gradient(150deg, #214b7d, #10284b 58%, #08162e);
  overflow: hidden;
}

.exp-screen::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(6, 19, 42, 0.1), rgba(3, 10, 24, 0.8));
  clip-path: polygon(0 100%, 0 54%, 12% 54%, 12% 34%, 24% 34%, 24% 62%, 38% 62%, 38% 24%, 52% 24%, 52% 52%, 66% 52%, 66% 36%, 80% 36%, 80% 58%, 100% 58%, 100% 100%);
}

.exp-glyph {
  position: absolute;
  right: 8%;
  bottom: -8%;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: rgba(255, 239, 210, 0.14);
}

.exp-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 244, 225, 0.92);
  color: #1b1206;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.exp-play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.exp-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(3, 12, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--cream-2);
}

.exp-bar {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.exp-bar i {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.exp-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.exp-ui-episodes .exp-row-head {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.exp-ui-episodes .exp-row-head span:first-child {
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
}

.exp-episodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.exp-episodes span {
  display: grid;
  place-items: center;
  aspect-ratio: 1.35;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  color: var(--muted);
}

.exp-episodes .is-active {
  border-color: rgba(255, 178, 28, 0.42);
  background: linear-gradient(135deg, rgba(255, 178, 28, 0.28), rgba(255, 122, 24, 0.12));
  color: var(--gold-2);
  font-weight: 700;
}

.exp-progress {
  margin-top: auto;
  padding-top: 16px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.exp-progress i {
  display: block;
  height: 3px;
  margin-top: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.exp-progress b {
  display: block;
  width: 13%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.exp-saved-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
}

.exp-saved-thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 68px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 242, 220, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-saved-more {
  display: grid;
  place-items: center;
  width: 38px;
  height: 68px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  font-size: 20px;
  color: var(--muted-2);
}

.exp-note {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 178, 28, 0.16);
  background: rgba(255, 178, 28, 0.06);
  font-size: 11.5px;
  color: var(--cream-2);
}

/* ==========================================================================
   Download
   ========================================================================== */

.download-section {
  padding-top: 88px;
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 54px;
  padding: 56px;
  border: 1px solid rgba(255, 190, 92, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(720px 420px at 82% 18%, rgba(255, 153, 44, 0.16), transparent 64%),
    radial-gradient(520px 380px at 8% 100%, rgba(28, 90, 170, 0.18), transparent 66%),
    linear-gradient(150deg, #071b3b 0%, #05142f 58%, #061126 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 213, 150, 0.09) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  mask-image: linear-gradient(115deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 60%);
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy h2 {
  margin-bottom: 18px;
  line-height: 1.22;
}

.download-copy > p:not(.eyebrow):not(.download-note) {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.download-steps {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.download-steps li {
  display: flex;
  gap: 16px;
}

.download-steps li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 196, 92, 0.3);
  border-radius: 50%;
  background: rgba(255, 178, 28, 0.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-2);
}

.download-steps strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--cream);
}

.download-steps p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-2);
}

.download-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 30px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 196, 92, 0.14);
  border-radius: 12px;
  background: rgba(255, 178, 28, 0.05);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 243, 223, 0.72);
}

.download-note .icon {
  margin-top: 2px;
  color: var(--gold);
}

.download-note span {
  flex: 1;
  min-width: 0;
}

.download-note strong {
  color: var(--gold-2);
}

.download-card {
  position: relative;
  align-self: center;
  padding: 32px 28px 26px;
  border-radius: 26px;
  background: linear-gradient(165deg, #fffaf0 0%, #ffedcf 64%, #ffe1b4 100%);
  color: #23180a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 68%);
  pointer-events: none;
}

.download-logo {
  display: block;
  width: 82px;
  height: 82px;
  margin-bottom: 14px;
  border-radius: 20px;
  border: 1px solid rgba(40, 24, 8, 0.1);
  box-shadow: 0 12px 26px rgba(70, 40, 8, 0.18);
}

.download-card h3 {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #201405;
}

.download-card-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: #7c5a30;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
  padding: 15px 0;
  border-block: 1px solid rgba(80, 48, 12, 0.12);
}

.download-meta dt {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7a582c;
}

.download-meta dd {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 800;
  color: #2a1b09;
}

.download-card .btn-primary {
  color: #211305;
  box-shadow: 0 12px 26px rgba(239, 77, 27, 0.3);
}

.copy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(80, 48, 12, 0.18);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: #6f4e23;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.copy-link:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(80, 48, 12, 0.3);
}

.copy-link .icon {
  width: 14px;
  height: 14px;
}

.copy-fallback {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(80, 48, 12, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.copy-fallback[hidden] {
  display: none;
}

.copy-fallback label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #7b5a2f;
}

.copy-fallback input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(80, 48, 12, 0.22);
  border-radius: 7px;
  background: #fffdf8;
  font-family: inherit;
  font-size: 10.5px;
  color: #3d2a10;
}

.download-card-foot {
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
  color: #6f4e23;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.faq-intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.faq-tip {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 178, 28, 0.075), rgba(255, 255, 255, 0.02));
}

.faq-tip strong {
  font-size: 14px;
  color: var(--cream);
}

.faq-tip p {
  margin: 6px 0 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

.faq-tip .text-link {
  font-size: 12.5px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(255, 190, 92, 0.28);
  background: linear-gradient(155deg, rgba(255, 178, 28, 0.06), rgba(255, 255, 255, 0.02));
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 196, 92, 0.26);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i {
  background: rgba(255, 178, 28, 0.12);
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 22px 22px;
}

.faq-answer p {
  max-width: 650px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-answer strong {
  color: var(--cream-2);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.64fr);
  gap: 64px;
  align-items: start;
}

.about-layout > div > p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.about-layout > div > p strong {
  color: var(--cream-2);
}

.about-facts {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 178, 28, 0.07), rgba(255, 255, 255, 0.018));
}

.about-facts h3 {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
}

.about-facts dl {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.about-facts dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.about-facts dt {
  flex: none;
  color: var(--muted-2);
}

.about-facts dd {
  text-align: right;
  font-weight: 700;
  color: var(--cream-2);
}

.about-facts .btn {
  font-size: 13.5px;
  padding: 12px 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(255, 143, 30, 0.075), transparent 66%),
    #020c21;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1fr);
  gap: 44px;
  padding: 60px 0 46px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand > p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted-2);
}

.footer-download {
  display: inline-flex;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-2);
  transition: transform 0.25s var(--ease);
}

.footer-download:hover {
  transform: translateX(4px);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-2);
}

.footer-col-info strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--cream-2);
  word-break: break-all;
}

.footer-col-info > a {
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 11.5px;
  color: rgba(143, 152, 173, 0.82);
}

.footer-disclaimer {
  text-align: right;
}

/* ==========================================================================
   Motion (progressive enhancement)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .main-nav {
    gap: 20px;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-orbit {
    width: 490px;
    height: 490px;
  }

  .float-card-top {
    left: -3%;
  }

  .float-card-bottom {
    right: -3%;
  }

  .rank-layout,
  .about-layout {
    gap: 40px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background:
      radial-gradient(500px 300px at 80% 0%, rgba(255, 143, 30, 0.08), transparent 70%),
      #03102b;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 15px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: calc(var(--header-h) + 54px);
    padding-bottom: 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 480px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-logo-card {
    width: min(400px, 76%);
  }

  .hero-orbit {
    width: 500px;
    height: 500px;
  }

  .float-card-top {
    left: 2%;
  }

  .float-card-bottom {
    right: 2%;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .section-lead {
    max-width: 640px;
    padding-bottom: 0;
  }

  .feature-grid,
  .drama-grid,
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rank-intro,
  .faq-intro {
    position: static;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 42px;
  }

  .download-card {
    max-width: 440px;
    width: 100%;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-facts {
    max-width: 560px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
    gap: 34px;
  }

  .footer-col-info {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .header-actions .btn-sm {
    padding: 9px 15px;
    font-size: 12.5px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 64px);
    margin-bottom: 18px;
  }

  .hero-title-sub {
    margin-top: 12px;
    font-size: clamp(22px, 6.4vw, 29px);
  }

  .hero-lead {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-chips {
    gap: 7px;
    margin-top: 22px;
  }

  .hero-chips li {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 4px;
  }

  .hero-logo-card {
    width: min(330px, 78%);
    border-radius: 34px;
  }

  .hero-orbit {
    width: 390px;
    height: 390px;
  }

  .hero-orbit::before {
    inset: 30px;
  }

  .hero-orbit::after {
    inset: 64px;
  }

  .float-card {
    padding: 11px 14px;
    border-radius: 13px;
  }

  .float-card-top {
    top: -4%;
    left: 0;
  }

  .float-card-bottom {
    right: 0;
    bottom: 1%;
  }

  .float-card strong {
    font-size: 11.5px;
  }

  .float-card small {
    font-size: 10px;
  }

  .float-icon {
    width: 32px;
    height: 32px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head h2,
  .rank-intro h2,
  .faq-intro h2,
  .about-layout h2,
  .download-copy h2 {
    font-size: 29px;
  }

  .feature-grid,
  .drama-grid,
  .experience-grid,
  .genre-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px 22px;
  }

  .drama-art {
    aspect-ratio: 16 / 10;
  }

  .drama-glyph {
    font-size: 170px;
  }

  .rank-list {
    padding: 8px;
    border-radius: 22px;
  }

  .rank-item {
    grid-template-columns: 34px 52px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 10px;
  }

  .rank-thumb {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    font-size: 24px;
  }

  .rank-num {
    font-size: 22px;
  }

  .rank-trend {
    display: none;
  }

  .rank-info h3 {
    font-size: 14.5px;
  }

  .rank-info p {
    font-size: 11px;
  }

  .download-section {
    padding-top: 56px;
  }

  .download-panel {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .download-copy > h2 {
    font-size: 27px;
  }

  .download-card {
    padding: 26px 22px 22px;
  }

  .download-logo {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .download-card h3 {
    font-size: 22px;
  }

  .download-meta {
    gap: 6px;
  }

  .download-meta dd {
    font-size: 12px;
  }

  .faq-item summary {
    padding: 17px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .faq-answer p {
    font-size: 13px;
  }

  .about-facts {
    padding: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding: 46px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col-info {
    padding-top: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 350px;
  }

  .header-actions .btn-sm {
    white-space: nowrap;
    flex: none;
  }

  .hero-logo-card {
    width: 80%;
  }

  .hero-orbit {
    width: 330px;
    height: 330px;
  }

  .float-card-top {
    left: 0;
  }

  .float-card-bottom {
    right: 0;
  }

  .download-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 340px) {
  .header-actions .btn-sm {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-title-sub {
    font-size: 20px;
    letter-spacing: 0.02em;
  }

  .float-card-top {
    left: -2%;
  }

  .float-card-bottom {
    right: -2%;
  }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-main {
  padding: calc(var(--header-h) + 62px) 0 88px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--muted-2);
}

.legal-breadcrumb a {
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
  color: var(--gold-2);
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 36px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--cream);
}

.legal-hero p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.legal-updated {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 178, 28, 0.06);
  font-size: 11.5px;
  color: var(--gold-2);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.legal-toc h2 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--gold-2);
}

.legal-body {
  padding: 38px 40px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
}

.legal-body section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-body h2 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--cream);
}

.legal-body h3 {
  margin: 20px 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--cream-2);
}

.legal-body p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.legal-body ul,
.legal-body ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  padding-left: 1.25em;
  list-style: disc;
}

.legal-body ol {
  list-style: decimal;
}

.legal-body li {
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--muted);
}

.legal-body strong {
  color: var(--cream-2);
}

.legal-body a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 190, 92, 0.2);
  border-radius: 14px;
  background: rgba(255, 178, 28, 0.055);
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 16px;
  }

  .legal-toc a {
    padding: 3px 0;
  }

  .legal-body {
    padding: 30px 26px;
  }
}

@media (max-width: 700px) {
  .legal-main {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 56px;
  }

  .legal-hero h1 {
    font-size: 30px;
  }

  .legal-body {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-body h2 {
    font-size: 18px;
  }

  .legal-body p,
  .legal-body li {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
