/* ============================================================
   88p.lol — theme-04d4.css
   Vietnamese casino/gaming foundation stylesheet
   Prefix: gd45-
   Art direction: Dark luxe casino with electric-blue core,
   warm gold accent, neon glow highlights.
   Mobile-first. Max mobile width ~430px, desktop >= 768px.
   All comments in English.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette (from prompt brief) */
  --gd45-bg: #1A1A1A;
  --gd45-bg-deep: #111114;
  --gd45-surface: #212126;
  --gd45-surface-soft: #2a2a31;
  --gd45-surface-glass: rgba(33, 33, 38, 0.72);
  --gd45-text: #DEE2E6;
  --gd45-text-soft: #b9bdc4;
  --gd45-muted: #8a8f99;
  --gd45-border: rgba(222, 226, 230, 0.10);
  --gd45-border-strong: rgba(222, 226, 230, 0.22);

  /* Brand accent (1E90FF electric blue + gold for VIP tone) */
  --gd45-primary: #1E90FF;
  --gd45-primary-soft: #3a9eff;
  --gd45-primary-deep: #1567c4;
  --gd45-secondary: #f5c451;
  --gd45-secondary-soft: #ffd97a;
  --gd45-accent: #ff5b8a;
  --gd45-accent-soft: #ff84a8;
  --gd45-success: #34d399;
  --gd45-danger: #f87171;

  /* Gradients */
  --gd45-grad-primary: linear-gradient(135deg, #1E90FF 0%, #1567c4 100%);
  --gd45-grad-gold: linear-gradient(135deg, #ffd97a 0%, #f5c451 50%, #c7932a 100%);
  --gd45-grad-hero: radial-gradient(120% 90% at 50% 0%, rgba(30, 144, 255, 0.30) 0%, rgba(26, 26, 26, 0) 60%), linear-gradient(180deg, #20202a 0%, #16161a 100%);
  --gd45-grad-card: linear-gradient(160deg, #232329 0%, #1b1b20 100%);
  --gd45-grad-neon: linear-gradient(90deg, #1E90FF 0%, #ff5b8a 100%);

  /* Shadows */
  --gd45-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --gd45-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --gd45-shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.55);
  --gd45-glow-blue: 0 0 0 1px rgba(30, 144, 255, 0.35), 0 8px 28px rgba(30, 144, 255, 0.28);
  --gd45-glow-gold: 0 0 0 1px rgba(245, 196, 81, 0.35), 0 8px 28px rgba(245, 196, 81, 0.22);

  /* Radius */
  --gd45-radius-xs: 6px;
  --gd45-radius-sm: 10px;
  --gd45-radius: 14px;
  --gd45-radius-lg: 20px;
  --gd45-radius-pill: 999px;

  /* Spacing rhythm */
  --gd45-space-1: 0.25rem;
  --gd45-space-2: 0.5rem;
  --gd45-space-3: 0.75rem;
  --gd45-space-4: 1rem;
  --gd45-space-5: 1.5rem;
  --gd45-space-6: 2rem;
  --gd45-space-7: 2.75rem;
  --gd45-space-8: 3.5rem;

  /* Layout */
  --gd45-maxw: 430px;
  --gd45-header-h: 58px;
  --gd45-bottomnav-h: 62px;
  --gd45-safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Type */
  --gd45-font: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --gd45-font-display: "Segoe UI", system-ui, -apple-system, "Roboto", sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--gd45-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gd45-text);
  background: var(--gd45-bg);
  background-image:
    radial-gradient(80% 50% at 50% -10%, rgba(30, 144, 255, 0.10) 0%, rgba(26, 26, 26, 0) 60%),
    radial-gradient(60% 40% at 100% 100%, rgba(245, 196, 81, 0.06) 0%, rgba(26, 26, 26, 0) 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gd45-primary-soft); text-decoration: none; }
a:hover { color: var(--gd45-text); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 2px solid var(--gd45-primary-soft);
  outline-offset: 2px;
  border-radius: var(--gd45-radius-xs);
}

/* ---------- Page wrapper ---------- */
.gd45-wrapper {
  width: 100%;
  max-width: var(--gd45-maxw);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--gd45-bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.gd45-main {
  padding-top: var(--gd45-header-h);
  /* Bottom padding so bottom-nav never covers content */
  padding-bottom: calc(var(--gd45-bottomnav-h) + var(--gd45-safe-bottom) + var(--gd45-space-5));
}

/* ---------- Header ---------- */
.gd45-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--gd45-header-h);
  background: rgba(17, 17, 20, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--gd45-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.gd45-header.gd45-scrolled {
  background: rgba(13, 13, 16, 0.94);
  box-shadow: var(--gd45-shadow-sm);
}

.gd45-header-inner {
  max-width: var(--gd45-maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gd45-space-3);
  display: flex;
  align-items: center;
  gap: var(--gd45-space-3);
}

/* Brand */
.gd45-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  min-width: 0;
}

.gd45-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gd45-grad-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: var(--gd45-glow-blue);
  flex: 0 0 auto;
}

.gd45-brand-name {
  font-family: var(--gd45-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--gd45-text);
  white-space: nowrap;
}
.gd45-brand-name span { color: var(--gd45-primary-soft); }

/* Desktop nav (hidden on mobile) */
.gd45-nav {
  display: none;
  align-items: center;
  gap: var(--gd45-space-4);
}
.gd45-nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gd45-text-soft);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
}
.gd45-nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gd45-grad-neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.gd45-nav-link:hover { color: var(--gd45-text); }
.gd45-nav-link:hover::after { transform: scaleX(1); }

/* Header auth buttons */
.gd45-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hamburger (mobile) */
.gd45-menu-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--gd45-text);
  font-size: 1.25rem;
}
.gd45-menu-btn:hover { background: var(--gd45-surface-soft); }

/* ---------- Buttons ---------- */
.gd45-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  border-radius: var(--gd45-radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}
.gd45-btn:active { transform: translateY(1px) scale(0.99); }
.gd45-btn i, .gd45-btn .material-icons-outlined, .gd45-btn ion-icon {
  font-size: 1rem;
}

.gd45-btn-primary {
  background: var(--gd45-grad-primary);
  color: #fff;
  box-shadow: var(--gd45-glow-blue);
}
.gd45-btn-primary:hover { background: linear-gradient(135deg, #3a9eff 0%, #1E90FF 100%); }

.gd45-btn-gold {
  background: var(--gd45-grad-gold);
  color: #1a1300;
  box-shadow: var(--gd45-glow-gold);
}
.gd45-btn-gold:hover { filter: brightness(1.06); }

.gd45-btn-secondary {
  background: var(--gd45-surface-soft);
  color: var(--gd45-text);
  border: 1px solid var(--gd45-border-strong);
}
.gd45-btn-secondary:hover { background: #32323a; }

.gd45-btn-ghost {
  background: transparent;
  color: var(--gd45-text-soft);
  border: 1px solid var(--gd45-border-strong);
}
.gd45-btn-ghost:hover { color: var(--gd45-text); border-color: var(--gd45-primary); }

.gd45-btn-sm { min-height: 34px; padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.gd45-btn-lg { min-height: 50px; padding: 0.85rem 1.4rem; font-size: 1rem; }
.gd45-btn-block { display: flex; width: 100%; }

/* Inline promo text link */
.gd45-link {
  color: var(--gd45-primary-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30, 144, 255, 0.4);
}
.gd45-link:hover { color: var(--gd45-secondary-soft); text-decoration-color: var(--gd45-secondary); }
.gd45-link-gold { color: var(--gd45-secondary); text-decoration-color: rgba(245, 196, 81, 0.4); }
.gd45-link-gold:hover { color: var(--gd45-secondary-soft); }

/* ---------- Mobile menu ---------- */
.gd45-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 9998;
}
.gd45-menu-backdrop.gd45-open { opacity: 1; visibility: visible; }

.gd45-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100vh;
  background: var(--gd45-bg-deep);
  border-left: 1px solid var(--gd45-border);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: var(--gd45-space-4);
  overflow-y: auto;
}
.gd45-mobile-menu.gd45-open { transform: translateX(0); box-shadow: var(--gd45-shadow-lg); }

.gd45-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--gd45-space-4);
}
.gd45-menu-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gd45-text);
}
.gd45-menu-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--gd45-text-soft);
  font-size: 1.15rem;
}
.gd45-menu-close:hover { background: var(--gd45-surface-soft); color: var(--gd45-text); }

.gd45-menu-auth {
  display: grid;
  gap: 0.6rem;
  margin-bottom: var(--gd45-space-5);
}

.gd45-menu-links { display: grid; gap: 0.25rem; }
.gd45-menu-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--gd45-radius-sm);
  color: var(--gd45-text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.gd45-menu-link i, .gd45-menu-link .material-icons-outlined, .gd45-menu-link ion-icon {
  color: var(--gd45-primary-soft);
  font-size: 1.1rem;
}
.gd45-menu-link:hover { background: var(--gd45-surface-soft); color: var(--gd45-text); }

.gd45-menu-foot {
  margin-top: auto;
  padding-top: var(--gd45-space-4);
  border-top: 1px solid var(--gd45-border);
  font-size: 0.78rem;
  color: var(--gd45-muted);
}

/* ---------- Sections ---------- */
.gd45-section {
  padding: var(--gd45-space-6) var(--gd45-space-4);
}
.gd45-section-tight { padding: var(--gd45-space-5) var(--gd45-space-4); }
.gd45-section-alt {
  background: linear-gradient(180deg, rgba(30, 144, 255, 0.05) 0%, rgba(26, 26, 26, 0) 60%);
}

/* Section heading */
.gd45-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--gd45-space-5);
}
.gd45-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gd45-secondary);
  padding: 0.3rem 0.7rem;
  border-radius: var(--gd45-radius-pill);
  background: rgba(245, 196, 81, 0.10);
  border: 1px solid rgba(245, 196, 81, 0.25);
}
.gd45-section-title {
  font-family: var(--gd45-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--gd45-text);
  letter-spacing: -0.01em;
}
.gd45-section-title em {
  font-style: normal;
  background: var(--gd45-grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gd45-section-sub {
  font-size: 0.9rem;
  color: var(--gd45-muted);
  max-width: 36ch;
}

/* ---------- Hero ---------- */
.gd45-hero {
  position: relative;
  padding: var(--gd45-space-6) var(--gd45-space-4) var(--gd45-space-7);
  background: var(--gd45-grad-hero);
  overflow: hidden;
}
.gd45-hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.18) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.gd45-hero-inner { position: relative; z-index: 1; display: grid; gap: var(--gd45-space-4); }

.gd45-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gd45-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: var(--gd45-radius-pill);
  background: rgba(245, 196, 81, 0.10);
  border: 1px solid rgba(245, 196, 81, 0.30);
}
.gd45-hero-title {
  font-family: var(--gd45-font-display);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--gd45-text);
  letter-spacing: -0.02em;
}
.gd45-hero-title span {
  background: var(--gd45-grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gd45-hero-title small {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gd45-secondary);
  margin-top: 0.3rem;
  letter-spacing: 0;
}
.gd45-hero-intro {
  font-size: 0.95rem;
  color: var(--gd45-text-soft);
  max-width: 38ch;
}
.gd45-hero-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.6rem;
}
.gd45-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-top: 0.3rem;
}
.gd45-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gd45-text-soft);
}
.gd45-trust-item i, .gd45-trust-item .material-icons-outlined, .gd45-trust-item ion-icon {
  color: var(--gd45-success);
  font-size: 0.95rem;
}

/* ---------- Carousel / banners ---------- */
.gd45-carousel {
  position: relative;
  border-radius: var(--gd45-radius-lg);
  overflow: hidden;
  box-shadow: var(--gd45-shadow);
  background: var(--gd45-surface);
}
.gd45-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gd45-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.gd45-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gd45-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gd45-space-4);
}
.gd45-slide-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.gd45-slide-sub {
  font-size: 0.8rem;
  color: var(--gd45-secondary-soft);
  margin-top: 0.2rem;
}
.gd45-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}
.gd45-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.25s ease, background 0.25s ease;
}
.gd45-dot.gd45-active { width: 20px; border-radius: 4px; background: var(--gd45-primary); }

/* ---------- Trust / metrics strip ---------- */
.gd45-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.gd45-stat {
  background: var(--gd45-grad-card);
  border: 1px solid var(--gd45-border);
  border-radius: var(--gd45-radius);
  padding: var(--gd45-space-4) var(--gd45-space-3);
  text-align: center;
}
.gd45-stat-num {
  font-family: var(--gd45-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gd45-primary-soft);
  line-height: 1;
}
.gd45-stat-num em {
  font-style: normal;
  color: var(--gd45-secondary);
}
.gd45-stat-label {
  font-size: 0.76rem;
  color: var(--gd45-muted);
  margin-top: 0.4rem;
  font-weight: 600;
}

/* ---------- Feature cards ---------- */
.gd45-feature-grid {
  display: grid;
  gap: 0.7rem;
}
.gd45-card {
  background: var(--gd45-grad-card);
  border: 1px solid var(--gd45-border);
  border-radius: var(--gd45-radius);
  padding: var(--gd45-space-4);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.gd45-card:hover {
  transform: translateY(-2px);
  border-color: var(--gd45-border-strong);
  box-shadow: var(--gd45-shadow-sm);
}
.gd45-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: var(--gd45-space-3);
  background: var(--gd45-grad-primary);
  color: #fff;
  box-shadow: var(--gd45-glow-blue);
}
.gd45-card-icon.gd45-gold { background: var(--gd45-grad-gold); color: #1a1300; box-shadow: var(--gd45-glow-gold); }
.gd45-card-icon.gd45-pink { background: linear-gradient(135deg, #ff5b8a, #c43a66); color: #fff; }
.gd45-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gd45-text);
  margin-bottom: 0.3rem;
}
.gd45-card-text {
  font-size: 0.88rem;
  color: var(--gd45-text-soft);
  line-height: 1.5;
}

/* ---------- Category chips / filter ---------- */
.gd45-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gd45-chips::-webkit-scrollbar { display: none; }
.gd45-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--gd45-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gd45-text-soft);
  background: var(--gd45-surface-soft);
  border: 1px solid var(--gd45-border);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.gd45-chip:hover { color: var(--gd45-text); border-color: var(--gd45-border-strong); }
.gd45-chip.gd45-active {
  background: var(--gd45-grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--gd45-glow-blue);
}
.gd45-chip i, .gd45-chip .material-icons-outlined, .gd45-chip ion-icon { font-size: 0.9rem; }

/* ---------- Game grid / tiles ---------- */
.gd45-game-block { margin-bottom: var(--gd45-space-6); }
.gd45-game-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--gd45-space-3);
}
.gd45-game-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gd45-text);
}
.gd45-game-block-title i, .gd45-game-block-title .material-icons-outlined, .gd45-game-block-title ion-icon {
  color: var(--gd45-secondary);
  font-size: 1.1rem;
}
.gd45-game-block-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gd45-primary-soft);
}

.gd45-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.gd45-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.35rem 0.6rem;
  border-radius: var(--gd45-radius-sm);
  background: var(--gd45-surface);
  border: 1px solid var(--gd45-border);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
  cursor: pointer;
}
.gd45-tile:hover {
  transform: translateY(-2px);
  border-color: var(--gd45-primary);
  box-shadow: var(--gd45-glow-blue);
}
.gd45-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--gd45-radius-xs);
  overflow: hidden;
  background: var(--gd45-surface-soft);
}
.gd45-tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gd45-tile:hover .gd45-tile-img img { transform: scale(1.06); }
.gd45-tile-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gd45-text-soft);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.gd45-tile-badge {
  position: absolute;
  top: 4px; left: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1300;
  background: var(--gd45-grad-gold);
  padding: 0.1rem 0.4rem;
  border-radius: var(--gd45-radius-pill);
}
.gd45-tile-wrap { position: relative; width: 100%; }

/* ---------- Steps / how-to ---------- */
.gd45-steps {
  display: grid;
  gap: 0.7rem;
  counter-reset: gd45step;
}
.gd45-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: var(--gd45-space-4);
  background: var(--gd45-grad-card);
  border: 1px solid var(--gd45-border);
  border-radius: var(--gd45-radius);
}
.gd45-step-num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: var(--gd45-grad-primary);
  box-shadow: var(--gd45-glow-blue);
}
.gd45-step-body { flex: 1; min-width: 0; }
.gd45-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gd45-text);
  margin-bottom: 0.2rem;
}
.gd45-step-text {
  font-size: 0.83rem;
  color: var(--gd45-muted);
  line-height: 1.5;
}

/* ---------- FAQ / details ---------- */
.gd45-faq { display: grid; gap: 0.6rem; }
.gd45-faq-item {
  background: var(--gd45-grad-card);
  border: 1px solid var(--gd45-border);
  border-radius: var(--gd45-radius);
  overflow: hidden;
}
.gd45-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: var(--gd45-space-4);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gd45-text);
}
.gd45-faq-q .gd45-faq-icon {
  flex: 0 0 auto;
  color: var(--gd45-primary-soft);
  transition: transform 0.25s ease;
}
.gd45-faq-item[open] .gd45-faq-q .gd45-faq-icon { transform: rotate(45deg); }
.gd45-faq-item[open] .gd45-faq-q { color: var(--gd45-secondary-soft); }
.gd45-faq-a {
  padding: 0 var(--gd45-space-4) var(--gd45-space-4);
  font-size: 0.85rem;
  color: var(--gd45-text-soft);
  line-height: 1.6;
}

/* ---------- Safety / responsible panel ---------- */
.gd45-safety {
  display: grid;
  gap: 0.7rem;
  padding: var(--gd45-space-5);
  border-radius: var(--gd45-radius-lg);
  background:
    linear-gradient(160deg, rgba(52, 211, 153, 0.10) 0%, rgba(26, 26, 26, 0) 60%),
    var(--gd45-grad-card);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.gd45-safety-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.gd45-safety-row i, .gd45-safety-row .material-icons-outlined, .gd45-safety-row ion-icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.14);
  color: var(--gd45-success);
  font-size: 1.1rem;
}
.gd45-safety-text { font-size: 0.85rem; color: var(--gd45-text-soft); line-height: 1.55; }
.gd45-safety-text strong { color: var(--gd45-text); }

/* ---------- Badges ---------- */
.gd45-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--gd45-radius-pill);
  background: rgba(30, 144, 255, 0.14);
  color: var(--gd45-primary-soft);
  border: 1px solid rgba(30, 144, 255, 0.25);
}
.gd45-badge-gold { background: rgba(245, 196, 81, 0.14); color: var(--gd45-secondary); border-color: rgba(245, 196, 81, 0.30); }
.gd45-badge-pink { background: rgba(255, 91, 138, 0.14); color: var(--gd45-accent-soft); border-color: rgba(255, 91, 138, 0.30); }
.gd45-badge-success { background: rgba(52, 211, 153, 0.14); color: var(--gd45-success); border-color: rgba(52, 211, 153, 0.30); }

/* ---------- Promo banner (mid-page CTA) ---------- */
.gd45-promo-banner {
  position: relative;
  border-radius: var(--gd45-radius-lg);
  padding: var(--gd45-space-5);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(30, 144, 255, 0.40) 0%, rgba(26,26,26,0) 60%),
    radial-gradient(120% 120% at 100% 100%, rgba(245, 196, 81, 0.30) 0%, rgba(26,26,26,0) 60%),
    var(--gd45-surface);
  border: 1px solid var(--gd45-border-strong);
  display: grid;
  gap: var(--gd45-space-3);
}
.gd45-promo-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.gd45-promo-banner-text { font-size: 0.88rem; color: var(--gd45-text-soft); }
.gd45-promo-banner-cta { display: flex; gap: 0.55rem; flex-wrap: wrap; }

/* ---------- Winners strip ---------- */
.gd45-winners {
  display: grid;
  gap: 0.55rem;
}
.gd45-winner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--gd45-radius-sm);
  background: var(--gd45-surface);
  border: 1px solid var(--gd45-border);
}
.gd45-winner-avatar {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gd45-grad-primary);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}
.gd45-winner-meta { flex: 1; min-width: 0; }
.gd45-winner-name { font-size: 0.82rem; font-weight: 700; color: var(--gd45-text); }
.gd45-winner-game { font-size: 0.72rem; color: var(--gd45-muted); }
.gd45-winner-amount {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gd45-secondary);
}

/* ---------- Payment methods ---------- */
.gd45-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.gd45-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.4rem;
  border-radius: var(--gd45-radius-sm);
  background: var(--gd45-surface);
  border: 1px solid var(--gd45-border);
  text-align: center;
}
.gd45-pay-icon {
  font-size: 1.3rem;
  color: var(--gd45-primary-soft);
}
.gd45-pay-name { font-size: 0.72rem; color: var(--gd45-text-soft); font-weight: 600; }

/* ---------- Testimonials ---------- */
.gd45-reviews { display: grid; gap: 0.7rem; }
.gd45-review {
  padding: var(--gd45-space-4);
  border-radius: var(--gd45-radius);
  background: var(--gd45-grad-card);
  border: 1px solid var(--gd45-border);
}
.gd45-review-stars { color: var(--gd45-secondary); font-size: 0.85rem; margin-bottom: 0.4rem; letter-spacing: 0.1em; }
.gd45-review-text { font-size: 0.86rem; color: var(--gd45-text-soft); line-height: 1.55; }
.gd45-review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--gd45-muted);
}
.gd45-review-author strong { color: var(--gd45-text); font-weight: 700; }

/* ---------- Footer ---------- */
.gd45-footer {
  background: var(--gd45-bg-deep);
  border-top: 1px solid var(--gd45-border);
  padding: var(--gd45-space-6) var(--gd45-space-4) calc(var(--gd45-space-6) + var(--gd45-safe-bottom));
}
.gd45-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--gd45-space-3);
}
.gd45-footer-intro {
  font-size: 0.85rem;
  color: var(--gd45-muted);
  line-height: 1.6;
  margin-bottom: var(--gd45-space-4);
}
.gd45-footer-cta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--gd45-space-5);
}
.gd45-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem var(--gd45-space-4);
  margin-bottom: var(--gd45-space-5);
}
.gd45-footer-link {
  font-size: 0.82rem;
  color: var(--gd45-text-soft);
  font-weight: 600;
}
.gd45-footer-link:hover { color: var(--gd45-primary-soft); }

.gd45-footer-disclaimer {
  padding: var(--gd45-space-4);
  border-radius: var(--gd45-radius-sm);
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.18);
  font-size: 0.76rem;
  color: var(--gd45-muted);
  line-height: 1.6;
  margin-bottom: var(--gd45-space-4);
}
.gd45-footer-copy {
  font-size: 0.76rem;
  color: var(--gd45-muted);
  text-align: center;
}

/* ---------- Mobile bottom navigation ---------- */
.gd45-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: calc(var(--gd45-bottomnav-h) + var(--gd45-safe-bottom));
  padding-bottom: var(--gd45-safe-bottom);
  background: rgba(13, 13, 16, 0.96);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--gd45-border);
  display: flex;
}
.gd45-bottom-nav-inner {
  max-width: var(--gd45-maxw);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--gd45-bottomnav-h);
}
.gd45-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  color: var(--gd45-muted);
  font-size: 0.64rem;
  font-weight: 600;
  position: relative;
  transition: color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.gd45-nav-item i,
.gd45-nav-item .material-icons-outlined,
.gd45-nav-item ion-icon {
  font-size: 1.35rem;
  transition: transform 0.18s ease, color 0.18s ease;
}
.gd45-nav-item:active i,
.gd45-nav-item:active .material-icons-outlined,
.gd45-nav-item:active ion-icon { transform: scale(0.88); }
.gd45-nav-item:hover { color: var(--gd45-text-soft); }
.gd45-nav-item.gd45-active { color: var(--gd45-primary-soft); }
.gd45-nav-item.gd45-active i,
.gd45-nav-item.gd45-active .material-icons-outlined,
.gd45-nav-item.gd45-active ion-icon { color: var(--gd45-primary); }
.gd45-nav-item.gd45-gold { color: var(--gd45-secondary); }
.gd45-nav-item.gd45-gold i,
.gd45-nav-item.gd45-gold .material-icons-outlined,
.gd45-nav-item.gd45-gold ion-icon { color: var(--gd45-secondary); }
.gd45-nav-badge {
  position: absolute;
  top: 0.35rem;
  right: 50%;
  margin-right: -1.1rem;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--gd45-accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Utility ---------- */
.gd45-hide { display: none !important; }
.gd45-text-center { text-align: center; }
.gd45-mt-0 { margin-top: 0; }
.gd45-mb-0 { margin-bottom: 0; }
.gd45-divider {
  height: 1px;
  background: var(--gd45-border);
  margin: var(--gd45-space-4) 0;
  border: none;
}

/* ============================================================
   Responsive — desktop expansion (>= 768px)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --gd45-maxw: 1180px;
    --gd45-header-h: 66px;
  }

  /* Show desktop nav, hide hamburger */
  .gd45-nav { display: flex; }
  .gd45-menu-btn { display: none; }

  /* Header auth buttons grow to normal */
  .gd45-brand-name { font-size: 1.3rem; }

  /* Hide mobile bottom nav on desktop */
  .gd45-bottom-nav { display: none; }
  .gd45-main { padding-bottom: var(--gd45-space-7); }

  /* Wider typography & spacing */
  .gd45-hero { padding: var(--gd45-space-8) var(--gd45-space-6) var(--gd45-space-8); }
  .gd45-hero-title { font-size: 2.9rem; }
  .gd45-hero-intro { font-size: 1.05rem; max-width: 60ch; }
  .gd45-hero-cta { grid-template-columns: auto auto; width: fit-content; }
  .gd45-section { padding: var(--gd45-space-8) var(--gd45-space-6); }

  .gd45-stats { grid-template-columns: repeat(4, 1fr); }
  .gd45-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gd45-game-grid { grid-template-columns: repeat(6, 1fr); gap: 0.8rem; }
  .gd45-pay-grid { grid-template-columns: repeat(6, 1fr); }
  .gd45-steps { grid-template-columns: repeat(2, 1fr); }
  .gd45-faq { grid-template-columns: repeat(2, 1fr); }
  .gd45-reviews { grid-template-columns: repeat(2, 1fr); }
  .gd45-winners { grid-template-columns: repeat(2, 1fr); }
  .gd45-footer-links { grid-template-columns: repeat(4, 1fr); }

  .gd45-section-title { font-size: 1.9rem; }
  .gd45-promo-banner { padding: var(--gd45-space-6); }
  .gd45-promo-banner-title { font-size: 1.7rem; }

  .gd45-carousel .gd45-slide { aspect-ratio: 21 / 7; }
}

@media (min-width: 1100px) {
  .gd45-game-grid { grid-template-columns: repeat(8, 1fr); }
  .gd45-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .gd45-reviews { grid-template-columns: repeat(3, 1fr); }
  .gd45-winners { grid-template-columns: repeat(3, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
