:root {
  --bg: #f7f4fd;
  --bg-2: #efeafa;
  --panel: #ffffff;
  --panel-2: #f5f1fe;
  --line: #e3dbf5;
  --line-2: #efeaf9;
  --text: #1c1533;
  --muted: #6a6288;
  --accent: #ffb020;
  --accent-2: #ff7a1a;
  --accent-ink: #b7590a;
  --violet: #6d3ff0;
  --violet-soft: #efe8ff;
  --pink: #e0349b;
  --ink-btn: #2a1705;
  --radius: 16px;
  --wrap: 1200px;
  --shadow-sm: 0 6px 18px rgba(40, 22, 90, .07);
  --shadow-md: 0 14px 34px rgba(40, 22, 90, .1);
  --shadow-lg: 0 26px 60px rgba(40, 22, 90, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(880px 500px at 10% -6%, rgba(109, 63, 240, .16), transparent 62%),
    radial-gradient(720px 420px at 94% 2%, rgba(255, 176, 32, .18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--violet);
  text-decoration: none;
}

a:hover {
  color: var(--accent-ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}

.btn:hover::after {
  left: 150%;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-ghost:hover {
  color: var(--violet);
  border-color: var(--violet);
  background: var(--violet-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(109, 63, 240, .18);
}

.btn-solid {
  color: var(--ink-btn);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 8px 20px rgba(255, 122, 26, .3);
}

.btn-solid:hover {
  color: var(--ink-btn);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(255, 122, 26, .45);
}

.btn-cta {
  color: var(--ink-btn);
  padding: 16px 42px;
  font-size: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 28px rgba(255, 122, 26, .34);
  animation: pulse 2.8s ease-in-out infinite;
}

.btn-cta:hover {
  color: var(--ink-btn);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px rgba(255, 122, 26, .5);
  animation-play-state: paused;
}

.btn-wide {
  color: var(--ink-btn);
  padding: 15px 46px;
  font-size: 17px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 26px rgba(255, 122, 26, .3);
}

.btn-wide:hover {
  color: var(--ink-btn);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(255, 122, 26, .48);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 12px 28px rgba(255, 122, 26, .34);
  }
  50% {
    box-shadow: 0 12px 38px rgba(255, 176, 32, .62);
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(40, 22, 90, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #241b45 0%, #140e2b 100%);
  box-shadow: 0 8px 20px rgba(30, 16, 70, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.brand:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 26px rgba(30, 16, 70, .32);
}

.brand img {
  height: 40px;
  width: auto;
}

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

.hero {
  padding: 34px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  gap: 0;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 52px 46px;
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(109, 63, 240, .1), transparent 70%),
    var(--panel);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  border: 1px solid rgba(109, 63, 240, .22);
}

.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .45;
    transform: scale(.7);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: 52px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--pink) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  display: block;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}

.hero-tags span:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 63, 240, .45);
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-action .hint {
  font-size: 14px;
  color: var(--muted);
}

.hero-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 62% center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .55) 14%, rgba(255, 255, 255, 0) 42%);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  animation: floaty 5s ease-in-out infinite;
}

.hero-chip b {
  font-size: 20px;
  line-height: 1.2;
  color: var(--accent-ink);
}

.hero-chip span {
  font-size: 13px;
  color: var(--muted);
}

.hero-chip.one {
  top: 40px;
  right: 34px;
}

.hero-chip.two {
  bottom: 46px;
  right: 60px;
  animation-delay: 1.4s;
}

.section {
  padding: 62px 0 10px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.4px;
}

.section-title em {
  font-style: normal;
  color: var(--violet);
}

.section-sub {
  display: block;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.slot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .45s ease, filter .35s ease;
}

.slot-name {
  display: block;
  padding: 12px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: linear-gradient(180deg, rgba(28, 21, 51, .25), rgba(28, 21, 51, .72));
  transition: opacity .3s ease;
}

.slot-play {
  color: var(--ink-btn);
  padding: 12px 34px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  transform: translateY(14px) scale(.9);
  transition: transform .35s ease, box-shadow .25s ease;
}

.slot:hover {
  transform: translateY(-8px);
  border-color: rgba(109, 63, 240, .4);
  box-shadow: var(--shadow-lg);
}

.slot:hover img {
  transform: scale(1.1);
  filter: saturate(1.12);
}

.slot:hover .slot-overlay {
  opacity: 1;
}

.slot:hover .slot-play {
  transform: translateY(0) scale(1);
  box-shadow: 0 12px 26px rgba(255, 122, 26, .5);
}

.slots-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.toc {
  margin: 46px 0 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.toc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  transition: background .25s ease;
}

.toc > summary::-webkit-details-marker {
  display: none;
}

.toc > summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--violet);
  transition: transform .3s ease;
}

.toc[open] > summary::after {
  transform: rotate(45deg);
}

.toc > summary:hover {
  background: var(--panel-2);
}

.toc-body {
  padding: 6px 22px 20px;
  border-top: 1px solid var(--line);
}

.toc-list {
  columns: 2;
  column-gap: 30px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.toc-list li a {
  display: inline-block;
  color: var(--text);
  font-size: 16px;
  transition: color .2s ease, transform .2s ease;
}

.toc-list li a:hover {
  color: var(--violet);
  transform: translateX(4px);
}

.toc-list li.sub {
  padding-left: 18px;
}

.toc-list li.sub a {
  color: var(--muted);
  font-size: 15px;
}

.article {
  padding: 40px 0 20px;
}

.article .wrap {
  max-width: 900px;
}

.article h1,
.article h2,
.article h3 {
  line-height: 1.25;
  letter-spacing: -.4px;
  scroll-margin-top: 96px;
}

.article h1 {
  font-size: 40px;
  margin: 0 0 24px;
}

.article h2 {
  font-size: 29px;
  margin: 38px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--violet);
}

.article h3 {
  font-size: 22px;
  margin: 28px 0 12px;
  color: var(--accent-ink);
}

.article p {
  margin: 0 0 16px;
}

.article strong {
  color: #0f0a20;
}

.article ol,
.article ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article li {
  margin: 0 0 8px;
}

.article li::marker {
  color: var(--violet);
  font-weight: 700;
}

.article hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: linear-gradient(90deg, var(--line), transparent);
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--violet);
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #faf8ff;
}

tbody td:first-child {
  font-weight: 600;
}

.faq-item {
  margin: 0 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  transition: background .25s ease, color .25s ease;
}

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

.faq-item > summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  line-height: 1;
  color: var(--violet);
  transition: transform .3s ease;
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.faq-item > summary:hover {
  background: var(--panel-2);
  color: var(--violet);
}

.faq-answer {
  padding: 4px 20px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 14px 0 0;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px 0 60px;
  padding: 50px 30px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(620px 260px at 50% 0%, rgba(109, 63, 240, .14), transparent 72%),
    radial-gradient(520px 240px at 50% 100%, rgba(255, 176, 32, .18), transparent 72%),
    var(--panel);
  box-shadow: var(--shadow-md);
}

.final-cta .hero-title {
  align-items: center;
  font-size: 40px;
}

.final-cta .hero-sub {
  text-align: center;
}

.site-footer {
  padding: 46px 0 26px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-col b {
  margin-bottom: 4px;
  font-size: 17px;
}

.footer-col a {
  color: var(--muted);
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
  color: var(--violet);
  transform: translateX(4px);
}

.footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 7px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #241b45 0%, #140e2b 100%);
  box-shadow: 0 8px 20px rgba(30, 16, 70, .18);
}

.footer-logo {
  flex: none;
  width: 107px;
  height: 40px;
  object-fit: contain;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 800;
  color: #d92d4b;
  border: 2px solid #d92d4b;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero-copy {
    padding: 40px 30px;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-visual img {
    min-height: 360px;
    object-position: center 30%;
  }

  .hero-visual::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .1) 60%, #fff 100%);
  }

  .hero-chip.two {
    display: none;
  }

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

  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .brand img {
    height: 32px;
  }

  .hero {
    padding: 22px 0 0;
  }

  .hero-copy {
    padding: 30px 22px;
  }

  .hero-title {
    font-size: 33px;
  }

  .hero-chip.one {
    top: 18px;
    right: 18px;
    padding: 10px 14px;
  }

  .hero-chip b {
    font-size: 17px;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .slot-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(28, 21, 51, .78));
    align-items: flex-end;
    padding-bottom: 54px;
  }

  .slot-play {
    transform: none;
    padding: 9px 22px;
    font-size: 14px;
  }

  .section-title {
    font-size: 27px;
  }

  .toc-list {
    columns: 1;
  }

  .article h1 {
    font-size: 30px;
  }

  .article h2 {
    font-size: 24px;
  }

  .final-cta .hero-title {
    font-size: 30px;
  }

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