:root {
  --bg: #e7eaee;
  --bg-alt: #f2f4f7;
  --card: #ffffff;
  --line: #ccd2da;
  --text: #171a1f;
  --muted: #5b636e;
  --hot: #ff7a00;
  --hot-deep: #f03a17;
  --blue: #2f78ff;
  --blue-deep: #0b3fd1;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(23, 26, 31, .18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 247, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(23, 26, 31, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e222a, #0f1216);
  box-shadow: 0 6px 16px rgba(23, 26, 31, .25);
  transition: transform .3s ease, box-shadow .3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(23, 26, 31, .35);
}

.logo-link img {
  height: 34px;
  width: auto;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

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

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

.btn-login {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(31, 95, 255, .38);
}

.btn-login:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(31, 95, 255, .6);
}

.btn-signup {
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(240, 58, 23, .4);
  animation: pulse-glow 2.6s ease-in-out infinite;
}

.btn-signup:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(240, 58, 23, .65);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(240, 58, 23, .4); }
  50% { box-shadow: 0 8px 30px rgba(255, 122, 0, .78); }
}

.banner {
  position: relative;
  margin: 28px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 5% 6%;
  background: linear-gradient(90deg, rgba(12, 14, 18, .88) 0%, rgba(12, 14, 18, .55) 45%, rgba(12, 14, 18, .05) 100%);
  color: #fff;
}

.banner-kicker {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(240, 58, 23, .45);
}

.banner-title {
  font-size: clamp(22px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 640px;
}

.banner-title span {
  color: #ffb020;
}

.banner-sub {
  font-size: clamp(14px, 1.5vw, 19px);
  color: #e3e6ea;
  max-width: 520px;
}

.banner-cta {
  margin-top: 8px;
  padding: 15px 46px;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  width: fit-content;
  box-shadow: 0 10px 26px rgba(240, 58, 23, .5);
  animation: bob 2.4s ease-in-out infinite;
}

.banner-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 38px rgba(240, 58, 23, .72);
  animation-play-state: paused;
}

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

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

.section-label {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 6px;
}

.section-note {
  color: var(--muted);
  margin-bottom: 26px;
}

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

.slot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(23, 26, 31, .1);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

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

.slot-card:hover {
  transform: translateY(-8px);
  border-color: var(--hot);
  box-shadow: 0 18px 34px rgba(240, 58, 23, .32);
}

.slot-card:hover img {
  transform: scale(1.12);
  filter: brightness(.42);
}

.slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  color: #fff;
  transition: opacity .35s ease;
}

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

.slot-name {
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 0 10px;
  transform: translateY(10px);
  transition: transform .35s ease;
}

.slot-play {
  padding: 10px 30px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  box-shadow: 0 8px 20px rgba(240, 58, 23, .5);
  transform: translateY(14px);
  transition: transform .35s ease, box-shadow .25s ease;
}

.slot-card:hover .slot-name,
.slot-card:hover .slot-play {
  transform: translateY(0);
}

.slot-play:hover {
  box-shadow: 0 12px 28px rgba(255, 122, 0, .8);
}

.toc {
  margin: 46px 0 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(23, 26, 31, .08);
  overflow: hidden;
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: background-color .25s ease;
}

.toc-toggle:hover {
  background: rgba(47, 120, 255, .1);
}

.toc-arrow {
  transition: transform .3s ease;
  color: var(--hot-deep);
  font-size: 14px;
}

.toc-toggle[aria-expanded="true"] .toc-arrow {
  transform: rotate(180deg);
}

.toc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.toc-list {
  list-style: none;
  padding: 4px 22px 22px;
  columns: 2;
  column-gap: 30px;
}

.toc-list li {
  break-inside: avoid;
  padding: 5px 0;
}

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

.toc-list a {
  color: var(--text);
  transition: color .2s ease, padding-left .2s ease;
}

.toc-list a:hover {
  color: var(--hot-deep);
  padding-left: 5px;
}

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

.article h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  margin: 10px 0 22px;
  font-weight: 800;
}

.article h2 {
  font-size: clamp(21px, 2.4vw, 29px);
  margin: 42px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--hot);
  line-height: 1.3;
}

.article h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  margin: 28px 0 12px;
  color: var(--hot-deep);
}

.article p {
  margin: 0 0 16px;
  color: #2c3138;
}

.article strong {
  color: #0d1014;
}

.article ol {
  margin: 0 0 18px 22px;
}

.article ol li {
  margin-bottom: 8px;
  color: #2c3138;
}

.article ol li::marker {
  color: var(--hot-deep);
  font-weight: 800;
}

.article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(23, 26, 31, .07);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--card);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

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

tbody tr:hover {
  background: rgba(255, 122, 0, .13);
}

td:first-child {
  color: #0d1014;
  font-weight: 700;
}

.faq-list {
  margin: 6px 0 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(23, 26, 31, .07);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.faq-q:hover {
  color: var(--hot-deep);
  background: rgba(255, 122, 0, .1);
}

.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  transition: transform .3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 11px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 11px;
  transition: opacity .3s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 20px 18px;
  margin: 0;
  color: #2c3138;
}

.site-footer {
  margin-top: 50px;
  background: var(--bg-alt);
  border-top: 3px solid var(--hot);
  padding: 40px 0 26px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e222a, #0f1216);
}

.footer-brand img {
  height: 34px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color .25s ease;
}

.footer-nav a:hover {
  color: var(--hot-deep);
}

.footer-note {
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot), var(--hot-deep));
  color: #fff;
  font-weight: 800;
  float: left;
}

.footer-copy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .banner-overlay {
    background: linear-gradient(180deg, rgba(12, 14, 18, .45) 0%, rgba(12, 14, 18, .9) 100%);
    gap: 10px;
  }

  .banner-cta {
    padding: 12px 32px;
    font-size: 16px;
  }

  .toc-list {
    columns: 1;
  }
}

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

  .header-inner {
    min-height: 64px;
  }

  .logo-link {
    padding: 5px 11px;
  }

  .logo-link img {
    height: 26px;
  }

  .btn {
    padding: 9px 18px;
    font-size: 14px;
  }

  .banner-kicker {
    font-size: 11px;
    padding: 4px 12px;
  }

  .slot-overlay {
    gap: 8px;
  }

  .slot-play {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .banner-sub {
    display: none;
  }
}
