/* Gt Bet Casino — brand theme (pink / gold / deep night) */
:root {
  --bg: #0a0614;
  --bg-elevated: #140c22;
  --bg-card: #1a102e;
  --border: rgba(255, 45, 138, 0.18);
  --text: #f5f0f8;
  --text-muted: #b9aec8;
  --pink: #ff2d8a;
  --pink-hot: #ff4da6;
  --gold: #ffc107;
  --gold-soft: #ffe082;
  --purple: #2a1548;
  --header-h: 64px;
  --radius: 10px;
  --max: 1080px;
  --font: Tahoma, Geneva, Verdana, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 45, 138, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 193, 7, 0.08), transparent 45%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 6, 20, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link img {
  width: 115px;
  height: 56px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--pink-hot);
  background: rgba(255, 45, 138, 0.12);
  text-decoration: none;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none !important;
  transform: translateY(-1px);
}

.btn-login {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-login:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-cta {
  color: #1a0a00 !important;
  background: #ffc107;
  border-color: #ffc107;
  box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.btn-cta:hover {
  color: #1a0a00 !important;
  background: #ffd54f;
  border-color: #ffd54f;
}

.btn-pink {
  color: #fff !important;
  background: #c2185b;
  border-color: #c2185b;
  box-shadow: 0 2px 10px rgba(194, 24, 91, 0.35);
}

.btn-pink:hover {
  color: #fff !important;
  background: #e91e63;
  border-color: #e91e63;
}

.btn-lg {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(5, 2, 12, 0.96);
  padding: 16px;
  overflow-y: auto;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.nav-mobile a {
  display: block;
  padding: 14px 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  color: var(--pink-hot);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-mobile-actions .btn {
  width: 100%;
  min-height: 48px;
}

body.nav-open {
  overflow: hidden;
}

/* ——— Hero / Banner ——— */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 12px 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  /* Reserve space — mobile default 800/1000 */
  aspect-ratio: 4 / 5;
}

.hero-banner picture,
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-banner img {
  width: 100%;
  height: 100%;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px 8px 8px;
}

.hero-cta .btn {
  flex: 1 1 160px;
  max-width: 280px;
}

/* ——— Content ——— */
.main-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.article h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.25;
  color: #fff;
}

.article h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.3;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.article h3 {
  margin: 24px 0 10px;
  font-size: 1.1rem;
  color: #fff;
}

.article p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.article p strong,
.article li strong {
  color: var(--text);
}

.article ul,
.article ol {
  margin: 0 0 16px;
  padding-left: 1.35em;
  color: var(--text-muted);
}

.article li {
  margin-bottom: 8px;
}

.article a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article a:not(.btn):hover {
  color: #ffe082;
}

/* Tables — stable layout */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

.article table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 14px;
}

.article th,
.article td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.article th {
  background: var(--purple);
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
}

.article td {
  color: var(--text-muted);
}

.article tr:last-child td {
  border-bottom: none;
}

.article tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ accordion (visual) + schema in JSON-LD */
.faq-list details {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-list summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--pink);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 14px;
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.mid-cta .btn {
  flex: 1 1 200px;
  max-width: 320px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 32px 16px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--pink-hot);
}

.footer-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  color: var(--pink);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: #7a7088;
  margin: 0;
}

/* Mobile header compactness */
@media (max-width: 899px) {
  .header-actions .btn-login {
    display: none;
  }

  .header-actions .btn-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .logo-link img {
    width: 96px;
    height: 47px;
  }
}

/* ——— Desktop ——— */
@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-actions .btn-login,
  .header-actions .btn-cta {
    min-height: 44px;
    padding: 10px 20px;
  }

  .hero {
    padding: 16px 20px 0;
  }

  .hero-banner {
    aspect-ratio: 16 / 5; /* 1920×600 */
  }

  .hero-cta {
    padding: 20px 0 4px;
  }

  .main-wrap {
    padding: 32px 24px 64px;
  }

  .article table {
    font-size: 15px;
  }
}

@media (min-width: 1100px) {
  .nav-desktop a {
    padding: 8px 12px;
    font-size: 15px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
