/* =============================================================
   FS-CASINO.LV — Global Stylesheet
   Dark theme | Red buttons | Blue accents (Vulkanbet-style)
   ============================================================= */

/* ---------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   --------------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-bg:          #09090f;   /* main page background */
  --color-surface:     #111122;   /* card / section surface */
  --color-surface-2:   #1a1a2e;   /* slightly lighter surface */
  --color-border:      #2a2a44;   /* subtle borders */

  /* Accent — blue (primary UI) */
  --color-accent:      #1565ff;
  --color-accent-hover:#3d80ff;
  --color-accent-light:rgba(21,101,255,0.15);

  /* CTA — red (buttons) */
  --color-cta:         #e01020;
  --color-cta-hover:   #ff1f2f;
  --color-cta-shadow:  rgba(224,16,32,0.45);

  /* Text */
  --color-text:        #c8cad8;
  --color-text-muted:  #7a7d99;
  --color-heading:     #ffffff;

  /* Dimensions */
  --max-width:         1260px;
  --header-height:     70px;
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         18px;
  --radius-img:        12px;   /* slot image corner rounding */

  /* Transitions */
  --transition:        0.25s ease;
}

/* ---------------------------------------------------------------
   2. Reset & Box Model
   --------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent-hover); }

ul, ol { list-style: none; }

/* ---------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   4. Layout Helpers
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
/* Decorative underline accent on section titles */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

/* ---------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------- */
/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

/* Red CTA button — primary action */
.btn-cta {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 4px 20px var(--color-cta-shadow);
}
.btn-cta:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 6px 28px var(--color-cta-shadow);
  transform: translateY(-2px);
  color: #fff;
}
.btn-cta:active { transform: translateY(0); }

/* Blue accent button — secondary */
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(21,101,255,0.35);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* Outlined ghost button */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ---------------------------------------------------------------
   6. Header & Navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(9,9,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo img {
  height: 42px;
  width: auto;
}

/* Desktop navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  color: var(--color-text);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  background: var(--color-accent-light);
  color: var(--color-heading);
}

/* Hamburger menu toggle — visible on mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  aria-label: "Toggle navigation";
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Animated X when menu is open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header CTA button */
.header-cta { margin-left: 1rem; }

/* Mobile-only CTA inside nav drawer — hidden on desktop */
.nav-mobile-cta { display: none; }

/* ---------------------------------------------------------------
   7. Breadcrumbs
   --------------------------------------------------------------- */
.breadcrumbs {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding-block: 0.65rem;
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* Separator between crumbs */
.breadcrumbs li + li::before {
  content: '›';
  color: var(--color-text-muted);
  margin-right: 0.4rem;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}
.breadcrumbs a:hover { color: var(--color-accent); }

.breadcrumbs [aria-current="page"] {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   8. Hero Banner
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Full-cover banner image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark gradient overlay on top of banner for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,9,15,0.65) 0%,
    rgba(9,9,15,0.4) 50%,
    rgba(9,9,15,0.65) 100%
  );
  z-index: 1;
}

/* CTA card: semi-transparent centered block on banner */
.hero-cta-block {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(9, 9, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 560px;
  width: 90%;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-cta-block h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-cta-block .hero-subtitle {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.hero-cta-block .hero-subtitle strong {
  color: #ffd700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------------------------------------------------------------
   9. Popular Slots Section
   --------------------------------------------------------------- */
.slots-section {
  background: var(--color-bg);
}

/* 6-column grid on desktop, responsive below */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

/* Each slot card */
.slot-card {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--color-surface);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
  aspect-ratio: 3/4; /* maintain consistent card proportions */
}
.slot-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 36px rgba(21,101,255,0.3);
  border-color: var(--color-accent);
  z-index: 2;
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
  transition: transform var(--transition);
}
.slot-card:hover img { transform: scale(1.07); }

/* Play overlay that appears on hover */
.slot-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,101,255,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-img);
}
.slot-card:hover .slot-card-overlay { opacity: 1; }

.slot-play-btn {
  background: var(--color-cta);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.slot-play-btn:hover { background: var(--color-cta-hover); color: #fff; }

/* "View all slots" link below the grid */
.slots-cta-row {
  text-align: center;
  margin-top: 2.25rem;
}

/* ---------------------------------------------------------------
   10. Features / Why Us Section
   --------------------------------------------------------------- */
.features-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(21,101,255,0.15);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------
   11. Text + Image Block (About / Promo)
   --------------------------------------------------------------- */
.about-section {
  background: var(--color-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1rem; }
.about-text p  { color: var(--color-text); margin-bottom: 1rem; }
.about-text .btn { margin-top: 0.5rem; }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  border: 1px solid var(--color-border);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------
   12. Promotions / Bonuses Strip
   --------------------------------------------------------------- */
.promo-section {
  background: linear-gradient(135deg, #0d0d24 0%, #0e1640 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.promo-card {
  background: rgba(21,101,255,0.07);
  border: 1px solid rgba(21,101,255,0.25);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.promo-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 28px rgba(21,101,255,0.2);
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(21,101,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card h3 { color: #fff; margin-bottom: 0.5rem; }
.promo-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.promo-card p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.promo-card .btn { font-size: 0.85rem; padding: 0.6rem 1.4rem; }

/* ---------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------- */
.site-footer {
  background: #06060d;
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

/* Legacy grid kept for policy pages which still use the full footer */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand .site-logo img { height: 38px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--color-text-muted); max-width: 300px; }

.footer-col h4 {
  color: var(--color-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* Payment Methods row in footer */
.footer-payments {
  padding-block: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-payments h4 {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* Scrollable payment logos row */
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.payment-logo {
  height: 32px;
  width: auto;
  filter: brightness(0.75) grayscale(0.3);
  transition: filter var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.payment-logo:hover {
  filter: brightness(1) grayscale(0);
  transform: scale(1.1);
}

/* Disclaimer / legal text */
.footer-disclaimer {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.7;
  max-width: 860px;
  margin-inline: auto;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-links a { color: var(--color-text-muted); }
.footer-bottom-links a:hover { color: var(--color-accent); }

/* 18+ responsible gambling badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-cta);
  color: var(--color-cta);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   14. Policy Pages (Cookies, T&C, Privacy)
   --------------------------------------------------------------- */
.policy-page {
  padding-block: 3rem 5rem;
}

.policy-page h1 { margin-bottom: 1.5rem; }

/* Table of contents sidebar on policy pages */
.policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.policy-toc h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.policy-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}
.policy-toc ol li { margin-bottom: 0.4rem; }
.policy-toc ol a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.policy-toc ol a:hover { color: var(--color-accent); }

.policy-content section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem); /* anchor offset */
}

.policy-content h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.policy-content h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent-hover);
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }
.policy-content li { margin-bottom: 0.4rem; color: var(--color-text); }

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.policy-content th,
.policy-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
  word-break: break-word;
}
.policy-content th {
  background: var(--color-surface);
  color: var(--color-heading);
  font-weight: 600;
}
.policy-content tr:nth-child(even) td { background: var(--color-surface); }

/* ---------------------------------------------------------------
   Mobile stacked-table layout for .policy-table
   On narrow screens each row becomes a card, cells show their
   label (set via data-label attribute) instead of a table header.
   No horizontal scroll needed.
--------------------------------------------------------------- */
@media (max-width: 640px) {
  .policy-table,
  .policy-table thead,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  /* Hide column headers — labels come from data-label on each cell */
  .policy-table thead {
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
  }

  /* Each row becomes a card */
  .policy-table tr {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--color-surface);
    padding: 0.25rem 0;
  }
  .policy-table tr:nth-child(even) { background: var(--color-surface); }

  /* Each cell: label on the left, value on the right */
  .policy-table td {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.55rem 0.85rem 0.55rem 42%;
    position: relative;
    min-height: 2.2rem;
    word-break: break-word;
  }
  .policy-table td:last-child { border-bottom: none; }

  /* Inject the column label from data-label */
  .policy-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.85rem;
    top: 0.55rem;
    width: 38%;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    line-height: 1.4;
  }
}

/* ---------------------------------------------------------------
   15. Content Sections (docx text blocks)
   --------------------------------------------------------------- */

/* Alternating background for content sections */
.content-section { background: var(--color-bg); }
.content-section.alt-bg { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* Text + image side-by-side layout */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.content-image img { width: 100%; height: auto; display: block; }

/* Two equal columns */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-grid h2 { margin-bottom: 1rem; }

/* Content lists */
.content-list { list-style: none; padding: 0; margin-bottom: 1rem; }
.content-list li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.925rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.content-list li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  top: 0.45rem;
}
.content-list.numbered { counter-reset: item; }
.content-list.numbered li { padding-left: 2rem; }
.content-list.numbered li::before {
  content: counter(item) '.';
  counter-increment: item;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  top: 0.35rem;
}

/* Subsection headings within content sections */
.subsection-heading {
  font-size: 1.15rem;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-accent);
}

/* Responsive tables */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}
.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.data-table th {
  background: var(--color-surface-2);
  color: var(--color-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.data-table tr:hover td { background: rgba(21,101,255,0.06); }
.table-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 0.75rem 1rem;
  background: rgba(21,101,255,0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.5rem;
}

/* Summary table highlight */
.summary-table th:first-child { color: #5cdd8b; }
.summary-table th:last-child  { color: #f5a623; }

/* Games grid — 4 cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.game-category-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.game-category-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(21,101,255,0.15);
}
.game-cat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.game-category-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.game-category-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }

/* Inline promo items grid */
.promo-grid-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.promo-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.promo-item strong { font-size: 0.85rem; color: var(--color-heading); }
.promo-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffd700;
}

/* FAQ Section */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--color-accent); }
.faq-question {
  list-style: none;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; }
.faq-answer p { font-size: 0.9rem; color: var(--color-text); margin: 0; }

/* Simplified footer info row */
.footer-info-row {
  padding-block: 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}
.footer-info-row nav h4 {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.footer-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
}
.footer-info-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-info-links a:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------
   16. Mobile Navigation Drawer — FIXED
   --------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Show hamburger button */
  .nav-toggle { display: flex; }

  /* Nav drawer: slides down from below the header */
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(9, 9, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    /* Hidden state: slid up off-screen */
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
    z-index: 999;
    /* Add CTA button inside mobile nav */
  }
  /* Open state: slides down into view */
  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0s;
  }

  /* Stack nav links vertically */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav-list a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    display: block;
  }
  .nav-list a:hover,
  .nav-list a.active {
    background: var(--color-accent-light);
    color: var(--color-heading);
  }

  /* Mobile CTA button at the bottom of the drawer */
  .nav-mobile-cta {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }

  /* Hide desktop header CTA on mobile (it's inside the drawer instead) */
  .header-cta { display: none; }
}

/* ---------------------------------------------------------------
   17. Responsive — Tablet (≤ 1024px)
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Footer: simplified — no complex grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  /* Content with image: stack vertically */
  .content-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-image { max-width: 560px; margin-inline: auto; }

  /* Two-col grid: stack vertically */
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Games grid: 2 columns */
  .games-grid { grid-template-columns: repeat(2, 1fr); }

  /* Promo inline grid: 2 columns */
  .promo-grid-inline { grid-template-columns: repeat(2, 1fr); }

  /* Policy layout: hide TOC sidebar */
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }

  /* Slots: 4 per row on tablet */
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------
   18. Responsive — Mobile (≤ 640px)
   --------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --header-height: 60px; }

  .section { padding-block: 2rem; }

  /* Hero: reduce padding on mobile */
  .hero { min-height: 380px; }
  .hero-cta-block {
    padding: 1.5rem 1.1rem;
    max-width: 94vw;
  }
  .hero-cta-block h1 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 260px; }

  /* Slots: 2 per row on mobile */
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  /* Footer bottom: stack */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-info-links { flex-direction: column; align-items: center; gap: 0.5rem; }

  /* Payment logos: horizontal scroll on mobile */
  .payment-logos {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .payment-logos::-webkit-scrollbar { display: none; }

  /* Content sections: stack on mobile */
  .content-with-image { grid-template-columns: 1fr; gap: 1.5rem; }
  .two-col-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Games grid: single column on mobile */
  .games-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Promo inline grid: 2 columns on mobile */
  .promo-grid-inline { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }

  /* Features: 2 per row on mobile */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .feature-card { padding: 1.25rem 1rem; }

  /* Policy TOC: hide on small screens */
  .policy-toc { display: none; }

  /* Data tables: allow horizontal scroll */
  .data-table { min-width: 420px; }

  /* FAQ: full width */
  .faq-list { max-width: 100%; }
}

/* ---------------------------------------------------------------
   18. Scroll-to-top Button
   --------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  background: var(--color-accent);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: none; /* shown via JS after scroll */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,101,255,0.5);
  transition: background var(--transition), transform var(--transition);
}
.scroll-top.visible { display: flex; }
.scroll-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------------
   19. Utility Classes
   --------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-accent); }
.text-cta     { color: var(--color-cta); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Visually hidden — accessible only to screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------
   20. Cookie Consent Banner
   --------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.cookie-banner p { font-size: 0.85rem; color: var(--color-text); flex: 1; min-width: 220px; }
.cookie-banner p a { color: var(--color-accent); }
.cookie-banner .cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-banner .btn { font-size: 0.8rem; padding: 0.55rem 1.1rem; }

/* ---------------------------------------------------------------
   21. Slots — 3 per row on tablet (481-768px)
   --------------------------------------------------------------- */
@media (min-width: 481px) and (max-width: 768px) {
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
}
