:root {
  --bg: #08060f;
  --bg-soft: #0f0b1a;
  --panel: #151026;
  --panel-2: #1c1533;
  --panel-3: #241a40;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f2fb;
  --text-2: #cfc7e2;
  --muted: #9d94b5;
  --brand: #ff2f63;
  --brand-soft: #ff5f86;
  --brand-2: #ff8a3d;
  --gold: #ffc861;
  --mint: #35e0a1;
  --violet: #8a5cff;
  --grad: linear-gradient(135deg, #ff2f63 0%, #ff7a3d 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 47, 99, 0.16), rgba(255, 138, 61, 0.1));
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.55);
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
  --shadow-brand: 0 18px 40px rgba(255, 47, 99, 0.28);
  --max: 1220px;
  --gap: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 520px at 8% -6%, rgba(255, 47, 99, 0.18), transparent 62%),
    radial-gradient(680px 460px at 96% 4%, rgba(138, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 620px at 50% 108%, rgba(255, 138, 61, 0.12), transparent 66%),
    var(--bg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

img {
  border-style: none;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

figure,
blockquote {
  margin: 0;
  padding: 0;
}

.rail-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.aside-cta {
  margin-top: 16px;
}

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

.wrap {
  width: min(var(--max), 100% - 44px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 6, 15, 0.66);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-stuck {
  background: rgba(8, 6, 15, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(255, 47, 99, 0.4);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.22s var(--ease), background 0.22s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav a.is-active {
  color: #fff;
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 95, 134, 0.3);
}

.header-cta {
  flex: 0 0 auto;
}

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

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

.nav-toggle span + span {
  margin-top: 4px;
}

.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);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255, 47, 99, 0.42);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 95, 134, 0.55);
  background: rgba(255, 95, 134, 0.12);
}

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

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  padding: 76px 0 62px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 134, 0.32);
  background: rgba(255, 47, 99, 0.1);
  color: #ffc0cf;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(255, 47, 99, 0.2);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 47, 99, 0.24);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 47, 99, 0);
  }
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 24%, #ffd9e2 62%, #ffb185 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  min-width: 0;
}

.hero-sub {
  margin-top: 16px;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 600;
  color: #ffd3a8;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin-top: 16px;
  max-width: 620px;
  color: var(--text-2);
  font-size: 15.5px;
}

.hero-lead b {
  color: #fff;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.stat strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.stat span {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

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

.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}

.hero-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: var(--panel);
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.06) 34%, rgba(8, 6, 15, 0.88) 100%);
}

.hero-poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.hero-poster-info strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-poster-info small {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 13px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(19, 13, 33, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 13px;
  white-space: nowrap;
}

.float-card b {
  color: var(--gold);
  font-weight: 800;
}

.float-1 {
  top: 16px;
  right: -14px;
  animation: floaty 5.4s ease-in-out infinite;
}

.float-2 {
  bottom: 96px;
  left: -22px;
  animation: floaty 6.6s ease-in-out infinite reverse;
}

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

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-2);
  font-size: 12.5px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

a.chip:hover,
a.chip:focus-visible {
  border-color: rgba(255, 95, 134, 0.5);
  background: rgba(255, 95, 134, 0.12);
  color: #fff;
}

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

.section + .section {
  padding-top: 40px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  margin-top: 10px;
  max-width: 720px;
  color: var(--muted);
  font-size: 14.5px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 95, 134, 0.42);
  box-shadow: var(--shadow-lg);
}

.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #2a1d47, #150f26);
}

.media-3x4 {
  aspect-ratio: 3 / 4;
  height: auto;
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.card:hover .media img {
  transform: scale(1.07);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0) 46%, rgba(8, 6, 15, 0.82) 100%);
  pointer-events: none;
}

.badge-heat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 6, 15, 0.72);
  border: 1px solid rgba(255, 200, 97, 0.34);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(255, 47, 99, 0.35);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 15px 16px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.42;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 95, 134, 0.12);
  color: #ffb3c6;
  font-size: 12px;
  font-weight: 600;
}

.tag-mint {
  background: rgba(53, 224, 161, 0.12);
  color: #7cf0c4;
}

.tag-violet {
  background: rgba(138, 92, 255, 0.16);
  color: #c3acff;
}

.progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-2);
}

.progress-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--grad);
}

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

.plan-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 95, 134, 0.4);
  box-shadow: var(--shadow);
}

.plan-thumb {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel-3);
}

.plan-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.plan-card:hover .plan-thumb img {
  transform: scale(1.06);
}

.plan-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.plan-body h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
}

.plan-body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.66;
}

.plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.plan-list span {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font-size: 12px;
}

.rank-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(255, 95, 134, 0.4);
  background: rgba(255, 95, 134, 0.07);
}

.rank-no {
  flex: 0 0 30px;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  color: var(--muted);
}

.rank-item:nth-child(1) .rank-no,
.rank-item:nth-child(2) .rank-no,
.rank-item:nth-child(3) .rank-no {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.rank-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 82px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--panel-3);
}

.rank-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-main {
  flex: 1;
  min-width: 0;
}

.rank-main h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-main p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.rank-heat {
  font-weight: 700;
  color: var(--gold);
}

.rank-trend {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.trend-up {
  background: rgba(53, 224, 161, 0.14);
  color: #7cf0c4;
}

.trend-down {
  background: rgba(120, 130, 160, 0.18);
  color: #b8bfd4;
}

.trend-flat {
  background: rgba(255, 200, 97, 0.14);
  color: var(--gold);
}

.rank-aside {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 47, 99, 0.15), rgba(138, 92, 255, 0.1) 60%, rgba(255, 255, 255, 0.02));
}

.rank-aside h3 {
  font-size: 17px;
  font-weight: 800;
}

.rank-aside p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13.5px;
}

.rank-aside .aside-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 12.5px;
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: stretch;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.chat-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-head strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}

.chat-head span {
  display: block;
  margin-top: 2px;
  color: var(--mint);
  font-size: 12px;
}

.chat-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  display: flex;
  gap: 9px;
  max-width: 92%;
}

.msg p {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.62;
}

.msg-user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.msg-user p {
  border-top-right-radius: 4px;
  background: var(--grad);
  color: #fff;
}

.msg-ai p {
  border-top-left-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-2);
}

.msg-ai p b {
  color: #fff;
}

.match {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(53, 224, 161, 0.16);
  color: #7cf0c4;
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: 1px;
}

.ai-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.ai-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 92, 255, 0.45);
}

.ai-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 95, 134, 0.26);
  font-size: 19px;
}

.ai-feature h3 {
  font-size: 15.5px;
  font-weight: 800;
}

.ai-feature p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
}

.ai-cta {
  margin-top: 4px;
}

.rail-real {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.free-band {
  position: relative;
  padding: 44px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 95, 134, 0.28);
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(255, 47, 99, 0.24), transparent 62%),
    radial-gradient(520px 320px at 92% 100%, rgba(255, 138, 61, 0.2), transparent 60%),
    linear-gradient(150deg, #201635, #140f22);
  overflow: hidden;
}

.free-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.free-band h2 {
  position: relative;
  font-size: clamp(23px, 2.9vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.free-band h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.free-band > p {
  position: relative;
  margin-top: 10px;
  max-width: 780px;
  color: var(--text-2);
  font-size: 14.5px;
}

.free-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.free-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.free-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
}

.free-item h3 i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(53, 224, 161, 0.18);
  color: var(--mint);
  font-size: 12px;
  font-style: normal;
}

.free-item p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13.5px;
}

.free-tip {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 200, 97, 0.4);
  background: rgba(255, 200, 97, 0.07);
  color: #ffe0ab;
  font-size: 13.5px;
}

.grid-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.review {
  position: relative;
  padding: 22px 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 1;
  color: rgba(255, 95, 134, 0.22);
}

.review-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
}

.review p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.72;
}

.review footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.review-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 95, 134, 0.3);
  font-size: 12px;
  color: #ffc0cf;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 940px;
  margin-inline: auto;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] {
  border-color: rgba(255, 95, 134, 0.4);
  background: linear-gradient(155deg, rgba(255, 47, 99, 0.09), rgba(255, 255, 255, 0.012));
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-q {
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 95, 134, 0.3);
  color: #ffb3c6;
  font-size: 12.5px;
  font-weight: 900;
}

.faq-icon {
  position: relative;
  margin-left: auto;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-2);
  transform: translate(-50%, -50%);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

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

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

.faq-item[open] .faq-icon::before {
  background: var(--brand-soft);
}

.faq-a {
  padding: 0 20px 18px 56px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.76;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 26px;
  align-items: stretch;
}

.dl-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}

.dl-panel h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 900;
}

.dl-panel > p {
  color: var(--muted);
  font-size: 14px;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 6px;
}

.dl-meta div {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.dl-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.dl-meta dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.dl-appshot {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel-3);
}

.dl-appshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.dl-appshot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 15, 0.88));
  color: var(--text-2);
  font-size: 12.5px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.steps h3 {
  font-size: 17px;
  font-weight: 800;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.step:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.step-no {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 47, 99, 0.3);
}

.step h4 {
  font-size: 14.5px;
  font-weight: 700;
}

.step p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.66;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.about h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 900;
  line-height: 1.3;
}

.about h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-body p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.82;
}

.about-body p + p {
  margin-top: 12px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.about-facts li {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  color: var(--text-2);
}

.about-facts strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
}

.footer {
  margin-top: 56px;
  padding: 54px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
}

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

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.76;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.hotwords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hotwords strong {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.footer-bottom a {
  color: var(--text-2);
}

.footer-bottom a:hover {
  color: #fff;
}

.icp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(19, 13, 33, 0.92);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), border-color 0.2s var(--ease);
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: rgba(255, 95, 134, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

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

.img-fallback {
  background:
    linear-gradient(135deg, rgba(255, 47, 99, 0.22), rgba(138, 92, 255, 0.18)),
    var(--panel-3);
}

.img-fallback img {
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .ai-grid,
  .download-grid,
  .rank-wrap,
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-wrap {
    gap: 22px;
  }

  .hero-media {
    justify-self: start;
    max-width: 420px;
  }

  .grid-drama,
  .rail-real {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    margin-left: auto;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 20px;
    background: rgba(9, 7, 17, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: 15.5px;
  }

  .nav .btn {
    margin-top: 10px;
  }

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

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

@media (max-width: 720px) {
  :root {
    --gap: 14px;
  }

  body {
    font-size: 15.5px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 44px 0 40px;
  }

  .float-2 {
    left: 0;
  }

  .float-1 {
    right: 0;
  }

  .section {
    padding: 46px 0;
  }

  .section + .section {
    padding-top: 26px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

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

  .plan-card {
    gap: 13px;
    padding: 14px;
  }

  .plan-thumb {
    flex: 0 0 108px;
    width: 108px;
    height: 108px;
  }

  .rank-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 72px;
  }

  .rank-main h3 {
    font-size: 14px;
  }

  .free-band {
    padding: 26px 20px;
  }

  .free-grid {
    margin-top: 20px;
  }

  .about {
    padding: 24px 20px;
  }

  .about-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-panel {
    padding: 24px 20px;
  }

  .dl-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

  .faq-a {
    padding-left: 20px;
  }

  .to-top {
    right: 14px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .card-body {
    padding: 11px 12px 13px;
  }

  .card-title {
    font-size: 14.5px;
  }

  .badge-heat {
    padding: 4px 8px;
    font-size: 11px;
  }

  .badge-new {
    padding: 3px 7px;
    font-size: 10.5px;
  }

  .rank-item {
    gap: 10px;
    padding: 9px 11px;
  }

  .rank-trend {
    padding: 3px 8px;
    font-size: 11px;
  }

  .brand-text small {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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