:root {
  --bg-body: #050816;
  --bg-card: #0f172a;
  --bg-soft: #020617;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-strong: #16a34a;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.4);
  --danger: #ef4444;
  --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.7);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --container-width: 1200px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter",
    "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 46%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

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

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 6px 0;
}

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

/* Burger */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

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

/* Hero */
.hero {
  padding: 32px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, #22c55e1a, #020617 60%);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #15803d);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero h1 {
  font-size: clamp(26px, 3.1vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-banner {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #02130a;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.65);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-secondary {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.2);
}

/* Sections */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Slots */
.slots {
  padding: 8px 0 32px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.slot-card {
  background: radial-gradient(circle at top, #1e293b 0, #020617 70%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.65);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.slot-thumb img {
  width: 100%;
  display: block;
  height: 120px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}

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

.slot-play-btn {
  position: absolute;
  inset: auto 8px 8px auto;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent);
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.slot-play-btn::before {
  content: "▶";
  font-size: 11px;
}

.slot-play-btn:hover {
  background: rgba(15, 23, 42, 1);
}

.slot-title {
  margin: 0;
  font-size: 14px;
}

.slots-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Content */
.content {
  padding: 20px 0 40px;
}

.content-inner {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 60%);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 24px 18px 28px;
  box-shadow: var(--shadow-soft);
}

.article h2 {
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.article h3 {
  font-size: 17px;
  margin-top: 14px;
  margin-bottom: 6px;
}

.article p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.article ul,
.article ol {
  margin: 0 0 10px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.article li + li {
  margin-top: 4px;
}

.note {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px dashed rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  font-size: 13px;
}

/* Tables */
.table-wrapper {
  margin: 14px 0 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table-wrapper thead {
  background: radial-gradient(circle at top, #22c55e1a, #020617 70%);
}

.table-wrapper th,
.table-wrapper td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.table-wrapper th {
  font-weight: 600;
  color: #e5e7eb;
}

.table-wrapper tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.9);
}

/* FAQ */
.faq {
  margin-top: 20px;
}

.faq details {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 10px 12px;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 70%);
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

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

.faq summary::after {
  content: "▾";
  float: right;
  font-size: 11px;
  color: var(--text-muted);
}

.faq details[open] summary::after {
  content: "▴";
}

.faq p {
  margin-top: 6px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .content-inner {
    padding: 18px 14px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 20px;
    padding: 8px 10px;
    min-width: 190px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-list a {
    width: 100%;
    padding: 6px 4px;
  }

  .nav-list.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

@media (max-width: 480px) {
  .hero {
    padding-top: 20px;
  }

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

  .table-wrapper {
    border-radius: 14px;
  }

  .table-wrapper th,
  .table-wrapper td {
    padding: 7px 8px;
  }
}
/* Centered hero variant */
.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.hero-media--center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-banner--large {
  max-width: 100%;
  width: 100%;
}

.hero-text--center {
  max-width: 720px;
}

.hero-actions--center {
  justify-content: center;
}

.hero-list--center {
  list-style: none;
  padding-left: 0;
}

.hero-list--center li + li {
  margin-top: 4px;
}
.site-footer {
  margin-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.96);
  padding: 14px 0 18px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
