/* ============================================
   XONBET CASINO CANADA — GLOBAL STYLESHEET
   Brand: #FF00A8 (pink) + #00D9FF (cyan)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-deep:       #07071A;
  --bg-card:       #0F0F2A;
  --bg-card2:      #131330;
  --bg-header:     rgba(7,7,26,0.92);
  --pink:          #FF00A8;
  --pink-glow:     rgba(255,0,168,0.25);
  --pink-light:    #FF4DC4;
  --cyan:          #00D9FF;
  --cyan-glow:     rgba(0,217,255,0.20);
  --cyan-light:    #66E8FF;
  --white:         #FFFFFF;
  --gray-100:      #E8E9F0;
  --gray-200:      #B4B7CC;
  --gray-400:      #6B6E8A;
  --gray-600:      #2A2A4A;
  --border:        rgba(0,217,255,0.18);
  --border-pink:   rgba(255,0,168,0.18);
  --grad-brand:    linear-gradient(135deg, #FF00A8 0%, #00D9FF 100%);
  --grad-dark:     linear-gradient(180deg, #07071A 0%, #0D0D2B 100%);
  --grad-card:     linear-gradient(145deg, #0F0F2A 0%, #13132E 100%);
  --shadow-pink:   0 0 30px rgba(255,0,168,0.35);
  --shadow-cyan:   0 0 30px rgba(0,217,255,0.30);
  --shadow-card:   0 4px 40px rgba(0,0,0,0.5);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --font-body:     'Space Grotesk', sans-serif;
  --font-display:  'Rajdhani', sans-serif;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:         1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--gray-100);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan-light); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
p { font-size: 1rem; color: var(--gray-200); }
.text-pink  { color: var(--pink); }
.text-cyan  { color: var(--cyan); }
.text-white { color: var(--white); }
.text-gray  { color: var(--gray-400); }

/* ── Section Headings ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.25);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-heading {
  margin-bottom: 12px;
}
.section-heading span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-200);
  max-width: 640px;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}
.section {
  padding: 90px 0;
  overflow: hidden;
}
.section-sm { padding: 60px 0; }
.section-header {
  margin-bottom: 56px;
}
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Glowing Grid Lines (decorative) ── */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(7,7,26,0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.logo-text .x { color: var(--pink); }
.logo-text .on { color: var(--cyan); }
.logo-text .bet { color: var(--white); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
  background: rgba(0,217,255,0.07);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-100);
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-login:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-register {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-deep);
  padding: 8px 20px;
  background: var(--grad-brand);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 0 20px var(--pink-glow);
}
.btn-register:hover {
  box-shadow: 0 0 35px var(--pink-glow);
  transform: translateY(-1px);
  color: var(--bg-deep);
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7,7,26,0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-menu nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-100);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}
.mobile-menu nav a:hover {
  color: var(--cyan);
  border-color: var(--border);
  background: rgba(0,217,255,0.05);
}
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-cta .btn-register {
  text-align: center;
  padding: 14px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}
.mobile-cta .btn-login {
  text-align: center;
  padding: 14px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  display: block;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 14px 30px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--bg-deep);
  box-shadow: 0 0 25px var(--pink-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 45px var(--pink-glow), 0 0 45px var(--cyan-glow);
  transform: translateY(-2px);
  color: var(--bg-deep);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: inset 0 0 0 rgba(0,217,255,0);
}
.btn-outline:hover {
  background: rgba(0,217,255,0.1);
  box-shadow: 0 0 25px var(--cyan-glow);
  color: var(--cyan);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--gray-100);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--cyan);
  color: var(--white);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; border-radius: var(--radius-sm); }

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0,217,255,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(0,217,255,0.08);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card-icon.cyan { background: rgba(0,217,255,0.12); color: var(--cyan); }
.card-icon.pink { background: rgba(255,0,168,0.12); color: var(--pink); }
.card-icon.grad {
  background: var(--grad-brand);
  color: var(--bg-deep);
}
.card h3, .card h4 { color: var(--white); margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ══════════════════════════════════════
   GRIDS
══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }

/* ══════════════════════════════════════
   TABLES
══════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.xon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.xon-table thead tr {
  background: rgba(0,217,255,0.08);
  border-bottom: 1px solid var(--border);
}
.xon-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.xon-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.xon-table tbody tr:hover {
  background: rgba(0,217,255,0.04);
}
.xon-table tbody td {
  padding: 14px 20px;
  color: var(--gray-100);
  vertical-align: middle;
}
.xon-table tbody td:first-child { color: var(--white); font-weight: 500; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-green  { background: rgba(0,255,136,0.12); color: #00FF88; }
.badge-cyan   { background: rgba(0,217,255,0.12); color: var(--cyan); }
.badge-pink   { background: rgba(255,0,168,0.12); color: var(--pink); }
.badge-gray   { background: rgba(255,255,255,0.08); color: var(--gray-200); }

/* ══════════════════════════════════════
   RATING STARS
══════════════════════════════════════ */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #FFB800;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════
   STAT COUNTERS
══════════════════════════════════════ */
.stat-block {
  text-align: center;
  padding: 32px 20px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-200);
}

/* ══════════════════════════════════════
   NUMBER STEPS
══════════════════════════════════════ */
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.step-content h4 { color: var(--white); margin-bottom: 4px; }
.step-content p  { font-size: 0.95rem; }

/* ══════════════════════════════════════
   BONUS CARD
══════════════════════════════════════ */
.bonus-card {
  background: var(--grad-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pink);
}
.bonus-card-top {
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,0,168,0.12), rgba(0,217,255,0.08));
  border-bottom: 1px solid var(--border);
}
.bonus-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 8px;
}
.bonus-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.bonus-amount span { color: var(--pink); }
.bonus-card-body { padding: 24px; }
.bonus-details { display: flex; flex-direction: column; gap: 10px; }
.bonus-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bonus-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.bonus-detail-row .label { color: var(--gray-400); }
.bonus-detail-row .value { color: var(--white); font-weight: 500; }

/* ══════════════════════════════════════
   PAYMENT ICONS ROW
══════════════════════════════════════ */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.payment-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.payment-item:hover {
  border-color: var(--cyan);
  color: var(--white);
}
.payment-item .pi { font-size: 1.1rem; }

/* ══════════════════════════════════════
   AUTHOR BOX
══════════════════════════════════════ */
.author-box {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: var(--grad-brand) border-box;
  flex-shrink: 0;
}
.author-info h4 { color: var(--white); margin-bottom: 4px; }
.author-info .role {
  font-size: 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.author-info p { font-size: 0.9rem; }

/* Author card with border gradient */
.author-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.author-avatar-wrap img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cyan);
}

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open {
  border-color: rgba(0,217,255,0.30);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  cursor: pointer;
}
.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--cyan);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   TRUST BADGES / FEATURES ROW
══════════════════════════════════════ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 20px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-200);
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7,7,26,0.95) 40%, rgba(7,7,26,0.5) 100%),
              linear-gradient(to top, rgba(7,7,26,0.9) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,0,168,0.12);
  border: 1px solid rgba(255,0,168,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink-light);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s infinite;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat .num span { color: var(--cyan); }
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ══════════════════════════════════════
   GLOW BLOBS (Background decoration)
══════════════════════════════════════ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.blob-pink {
  background: rgba(255,0,168,0.18);
  width: 500px;
  height: 500px;
}
.blob-cyan {
  background: rgba(0,217,255,0.12);
  width: 400px;
  height: 400px;
}

/* ══════════════════════════════════════
   GAME CARDS
══════════════════════════════════════ */
.game-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.game-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,217,255,0.12);
}
.game-thumb {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--grad-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.06); }
.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-thumb-overlay { opacity: 1; }
.game-card-body { padding: 14px; }
.game-card-body h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-body .provider {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.game-rtp {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,255,136,0.15);
  border: 1px solid rgba(0,255,136,0.3);
  color: #00FF88;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}

/* ══════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════ */
.progress-bar-wrap { margin-bottom: 16px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--gray-200);
  margin-bottom: 6px;
}
.progress-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}

/* ══════════════════════════════════════
   HIGHLIGHT BOX
══════════════════════════════════════ */
.highlight-box {
  background: linear-gradient(135deg, rgba(255,0,168,0.08), rgba(0,217,255,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.callout {
  background: rgba(0,217,255,0.06);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.callout p { color: var(--gray-100); font-size: 0.95rem; margin: 0; }

/* ══════════════════════════════════════
   ICON CHECK LIST
══════════════════════════════════════ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-200);
}
.check-item .icon {
  color: var(--cyan);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
  background: #04041A;
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-text { font-size: 1.8rem; margin-bottom: 16px; display: inline-block; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gray-600);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray-200);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-400);
}
.footer-bottom-links a:hover { color: var(--cyan); }
.gamble-warning {
  background: rgba(255,0,168,0.06);
  border-top: 1px solid rgba(255,0,168,0.12);
  padding: 16px 0;
  text-align: center;
}
.gamble-warning p {
  font-size: 0.8rem;
  color: var(--gray-400);
  max-width: 800px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   SCROLL + ANIMATIONS
══════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-fadeInUp   { animation: fadeInUp 0.6s ease both; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease both; }
.animate-float      { animation: float 4s ease-in-out infinite; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--gray-600); }
.breadcrumb .current { color: var(--gray-200); }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,168,0.06) 0%, rgba(0,217,255,0.04) 100%);
}
.page-hero-bg .grid-lines { opacity: 0.6; }

/* ══════════════════════════════════════
   RATING WIDGET
══════════════════════════════════════ */
.rating-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.rating-score {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rating-max { font-size: 1.5rem; color: var(--gray-400); }

/* ══════════════════════════════════════
   PIE / DONUT MOCK CHART
══════════════════════════════════════ */
.donut-chart {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
}
.donut-chart svg { transform: rotate(-90deg); }
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut-center .val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.donut-center .lbl {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3   { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-1-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav  { display: none; }
  .header-cta .btn-register { display: none; }
  /* Log In button — brand gradient style on mobile */
  .header-cta .btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--bg-deep);
    background: var(--grad-brand);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 18px var(--pink-glow);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .header-cta .btn-login:hover {
    box-shadow: 0 0 32px var(--pink-glow);
    transform: translateY(-1px);
    color: var(--bg-deep);
  }
  .burger    { display: flex; }
  .mobile-menu { display: block; }
  .hero { padding: 120px 0 70px; }
  .section { padding: 64px 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  /* Disable translateX animations on mobile */
  .reveal-left {
    transform: none !important;
    opacity: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .reveal-left.visible { opacity: 1; }

  /* All grid children must not exceed parent width */
  .grid-2 > *,
  .grid-2-1 > *,
  .grid-3 > *,
  .grid-4 > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
  }

  /* Text containers - force wrap */
  p, h1, h2, h3, h4, h5, li, span, td, th {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Tables — allow horizontal scroll, don't clip */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .grid-2   { grid-template-columns: 1fr; }
  .grid-3   { grid-template-columns: 1fr; }
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .author-box { flex-direction: column; text-align: center; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: var(--pink);
  color: var(--bg-deep);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
