/* ═══════════════════════════════════════════════════════
   BETZILLO — Casino & Sportsbook Theme (Australia)
   ═══════════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --bg-primary: #0a0a14;
  --bg-secondary: #11111f;
  --bg-tertiary: #1a1a2e;
  --bg-card: #1f1f38;
  --bg-card-hover: #2a2a4a;

  /* Brand yellow */
  --gold-primary: #FDEE20;
  --gold-bright: #fff44f;
  --gold-dark: #d4c800;

  /* CTA red/orange */
  --cta: #ff3057;
  --cta-hover: #e6244a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #c8c8d8;
  --text-muted: #8888a0;

  /* Borders & effects */
  --border-subtle: rgba(255,255,255,0.08);
  --border-gold: rgba(253,238,32,0.3);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Typography */
  --font-display: 'Russo One', 'Oswald', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* ── Buttons ── */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  border: none;
  white-space: nowrap;
}
.btn--login {
  background: transparent;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
}
.btn--login:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
}
.btn--register {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,48,87,0.35);
}
.btn--register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,48,87,0.5);
}

/* ── Top Bar ── */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.top-bar__logo img {
  height: 40px;
  width: auto;
}
.top-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  margin-left: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-nav::-webkit-scrollbar { display: none; }
.top-nav__link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.top-nav__link:hover,
.top-nav__link--active {
  color: var(--gold-primary);
  background: rgba(253,238,32,0.06);
}
.top-bar__cta {
  display: flex;
  gap: 10px;
}

@media (max-width: 900px) {
  .top-nav { display: none; }
}

/* ── Hero Banner Slider ── */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}
.hero-banner__slider {
  display: flex;
  transition: transform 0.5s ease;
}
.hero-banner__slide {
  min-width: 100%;
  position: relative;
}
.hero-banner__slide img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.hero-banner__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 40px 56px;
  background: linear-gradient(to top, rgba(10,10,20,0.85) 0%, rgba(10,10,20,0.4) 60%, transparent 100%);
  color: #fff;
}
.hero-banner__content h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-banner__content h3 span {
  color: var(--gold-primary);
}
.hero-banner__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-banner__dot.active {
  background: var(--gold-primary);
  width: 28px;
  border-radius: 5px;
}
.hero-banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.hero-banner__arrow:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}
.hero-banner__arrow--prev { left: 16px; }
.hero-banner__arrow--next { right: 16px; }

@media (max-width: 700px) {
  .hero-banner__content { padding: 16px 16px 40px; }
  .hero-banner__content h3 { font-size: 1.1rem; }
  .hero-banner__arrow { display: none; }
}

/* ── Intro / H1 ── */
.intro-section {
  padding: 36px 20px 8px;
  text-align: center;
}
.intro-section h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .intro-section h1 { font-size: 1.1rem; }
}

/* ── Row Sections (Leagues, Providers, New, Popular, etc.) ── */
.row-section {
  padding: 26px 20px;
}
.row-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.row-section__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.row-section__see-all {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  padding: 8px 16px;
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.row-section__see-all:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

.row-rail {
  position: relative;
}
.row-rail__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px;
  scroll-snap-type: x proximity;
}
.row-rail__track::-webkit-scrollbar { display: none; }
.row-rail__track > * {
  scroll-snap-align: start;
}

.row-rail__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
}
.row-rail:hover .row-rail__arrow { opacity: 1; }
.row-rail__arrow:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}
.row-rail__arrow--prev { left: -8px; }
.row-rail__arrow--next { right: -8px; }

@media (hover: none) {
  .row-rail__arrow { display: none; }
}

/* ── League Card ── */
.league-card {
  flex: 0 0 auto;
  width: 130px;
  height: 100px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  transition: all 0.2s ease;
  border: 1px solid var(--border-subtle);
}
.league-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-gold);
}
.league-card img {
  width: auto;
  height: 38px;
  max-width: 80%;
  object-fit: contain;
}
.league-card span {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
}

/* ── Provider Card ── */
.provider-card {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: all 0.2s ease;
  border: 1px solid var(--border-subtle);
}
.provider-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-gold);
}
.provider-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Game Tile ── */
.game-tile {
  flex: 0 0 auto;
  width: 170px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease;
  background: var(--bg-card);
}
.game-tile:hover {
  transform: translateY(-4px);
}
.game-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.game-tile__name {
  display: block;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--bg-card);
}
.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: 36px;
  background: rgba(0,0,0,0);
  transition: background 0.2s ease;
  pointer-events: none;
}
.game-tile:hover::after {
  background: rgba(253,238,32,0.08);
}

@media (max-width: 600px) {
  .game-tile { width: 130px; }
  .game-tile__name { font-size: 0.72rem; padding: 6px 8px; }
  .league-card { width: 100px; height: 84px; }
  .league-card img { height: 30px; }
  .provider-card { width: 140px; height: 76px; padding: 10px; }
}

/* ── Payments Strip ── */
.payments-strip {
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 20px auto;
}
.payments-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.payments-strip__logos img {
  height: 26px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.payments-strip__logos img:hover { opacity: 1; }
.payments-strip__age img {
  height: 48px;
  width: auto;
}

/* ── Content / SEO Sections ── */
.content-section {
  padding: 40px 20px;
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.content-section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-primary);
  margin: 24px 0 10px;
  letter-spacing: 0.4px;
}
.content-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
  max-width: 900px;
}

/* ── Site Footer ── */
.site-footer {
  background: var(--bg-secondary);
  padding: 40px 0 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 30px;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.site-footer__logo img {
  height: 40px;
  width: auto;
}
.site-footer__social {
  display: flex;
  gap: 12px;
}
.site-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.site-footer__social a:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.site-footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.site-footer__links a:hover {
  color: var(--gold-primary);
}

.site-footer__legal {
  padding-top: 20px;
}
.site-footer__legal p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.site-footer__copy {
  text-align: center;
  margin-top: 16px;
}
.site-footer__copy u {
  color: var(--gold-primary);
  text-decoration: none;
}

/* ── Login / Register Pages (kept compatible) ── */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.register-card,
.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 460px;
}
.register-card h1,
.login-card h1 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}
.register-card label,
.login-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 12px 0 6px;
}
.register-card input,
.login-card input {
  width: 100%;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.register-card input:focus,
.login-card input:focus {
  outline: none;
  border-color: var(--gold-primary);
}
.btn--register-full {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  margin-top: 14px;
}
.auth-page__alt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-page__alt a {
  color: var(--gold-primary);
}

/* ═══════════════════════════════════════════════════════
   LEGACY COMPATIBILITY
   Styles below support older pages (sportsbook.html, slots.html,
   live-casino.html, table-games.html, jackpot.html, games/*.html,
   register.html) that were built against the previous CSS structure.
   ═══════════════════════════════════════════════════════ */

/* Aliases */
:root {
  --accent: var(--gold-primary);
  --bg: var(--bg-primary);
  --bg-elevated: var(--bg-secondary);
}

/* Category nav (old top nav under header) */
.cat-nav {
  background: var(--bg-secondary);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid var(--border-subtle);
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav__list {
  display: flex;
  justify-content: center;
  min-width: max-content;
  padding: 0;
}
.cat-nav__item a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cat-nav__item a:hover,
.cat-nav__item a.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  background: rgba(253,238,32,0.05);
}
.cat-nav__icon { margin-right: 6px; }

/* Breadcrumb */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb li:not(:last-child)::after {
  content: " /";
  margin-left: 6px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--gold-primary);
  transition: opacity 0.2s ease;
}
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb li[aria-current] { color: var(--text-secondary); }

/* Category intro */
.category-intro {
  padding: 30px 0 10px;
  text-align: center;
}
.category-intro h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.category-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Generic game grid section (slots.html, sportsbook.html, etc.) */
.game-grid-section { padding: 30px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.game-grid-section .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Old game card (with thumb + info + Play button) */
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-gold);
}
.game-card__thumb {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(253,238,32,0.08), rgba(255,48,87,0.08));
}
.game-card__info {
  padding: 14px 14px 6px;
}
.game-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.game-card__title a { color: inherit; }
.game-card__provider {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}
.game-card .btn--play {
  margin: 10px 14px 14px;
}

/* Old game card (image-wrap + overlay style) */
.game-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.game-card__name {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.game-card__name a { color: inherit; }

/* btn--play and btn--play-now */
.btn--play {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  color: var(--bg-primary);
  font-weight: 700;
  padding: 8px 18px;
  display: inline-block;
  text-align: center;
}
.btn--play:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(253,238,32,0.3);
}
.btn--play-now {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(255,48,87,0.35);
}
.btn--play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,48,87,0.5);
}

/* Game pages: hero, stats, description */
.game-hero { padding: 30px 0; }
.game-hero h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
}
.game-hero__image {
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold);
}

.game-stats {
  padding: 24px 0;
  display: flex;
  justify-content: center;
}
.game-stats__table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.game-stats__table th,
.game-stats__table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.game-stats__table th {
  background: var(--bg-tertiary);
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  width: 40%;
}
.game-stats__table td { color: var(--text-secondary); }
.game-stats__table tr:last-child th,
.game-stats__table tr:last-child td { border-bottom: none; }
.game-stats__cta {
  text-align: center;
  margin-top: 24px;
}

.game-description { padding: 30px 0; }
.content-block {
  max-width: 900px;
  margin: 0 auto;
}
.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.content-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin: 22px 0 10px;
}
.content-block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
.content-block a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-decoration-color: rgba(253, 238, 32, 0.45);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.content-block a:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}

/* Image thumbnails in similar-games cards */
.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card__thumb:has(img) {
  padding: 0;
  background: none;
  font-size: 0;
}

/* Old providers-section and payments-section (image-less placeholders) */
.providers-section,
.payments-section {
  padding: 36px 0;
  text-align: center;
}
.providers-logos,
.payments-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}
.providers-logos__item,
.payments-logos__item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-text {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Old game-grid horizontal-scroll (only used by login.html clone) */
.game-section { padding: 30px 0; }
.game-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.game-section__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
}
.game-section__title-icon { margin-right: 8px; }
.game-section__view-all {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.game-section__view-all:hover { opacity: 0.8; }
.game-section .game-grid {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.game-section .game-grid::-webkit-scrollbar { display: none; }
.game-section .game-grid .game-card {
  flex: 0 0 auto;
  width: 180px;
}
.game-grid__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-grid__arrow:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
}
.game-grid__arrow--prev { left: 0; }
.game-grid__arrow--next { right: 0; }

/* Old footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-col__title {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--gold-primary); }

.footer-bottom { padding-top: 24px; }
.footer-bottom__rg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-bottom__rg-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.footer-bottom__legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 12px;
}
.footer-bottom__copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Register page (full layout) */
.register-page,
.login-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.register-card,
.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 520px;
}
.register-card__logo,
.login-card__logo {
  text-align: center;
  margin-bottom: 18px;
}
.register-card__logo img,
.login-card__logo img {
  display: inline-block;
  height: 48px;
  width: auto;
}
.register-card__subtitle,
.login-card__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-primary);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--gold-primary);
}
.form-checkbox a { color: var(--gold-primary); }
.register-card__login,
.login-card__signup {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.register-card__login a,
.login-card__signup a {
  color: var(--gold-primary);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .register-card, .login-card { padding: 24px; }
}

