/* ============================================================
   FSCASINO.LT – Main Stylesheet
   Dark Theme | Responsive | Red Buttons | Blue Accents
   Designed to match Vulkanbet-style: Red CTAs + Blue Accents
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
   All colour, spacing and typography variables defined here
   so the whole theme can be tweaked from one place.
   ──────────────────────────────────────────────────────────── */
:root {
  /* Brand colours – Red CTAs, Blue accents (Vulkanbet style) */
  --color-red:        #d40000;      /* Primary CTA / buttons */
  --color-red-hover:  #ff1a1a;      /* Button hover state */
  --color-blue:       #1a6fd4;      /* Accent colour (links, borders, highlights) */
  --color-blue-light: #3b8fef;      /* Lighter accent for hover states */

  /* Dark background palette */
  --bg-primary:       #0b0d14;      /* Page body background */
  --bg-secondary:     #13172a;      /* Cards, sections */
  --bg-tertiary:      #1c2138;      /* Nested cards, table rows */
  --bg-header:        #0d1020;      /* Header / navbar background */
  --bg-footer:        #080a14;      /* Footer background */

  /* Text colours */
  --text-primary:     #e8eaf2;      /* Main body text */
  --text-secondary:   #9ea3b8;      /* Muted / secondary text */
  --text-heading:     #ffffff;      /* H1–H6 headings */
  --text-link:        #3b8fef;      /* Hyperlink colour */

  /* Borders */
  --border-default:   #252a45;      /* Default card/section border */
  --border-accent:    #1a6fd4;      /* Accent border (header, footer) */

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-xxl:  64px;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Transitions */
  --transition: 0.25s ease;

  /* Max content width */
  --max-width:  1200px;
}

/* ────────────────────────────────────────────────────────────
   GLOBAL RESET & BASE
   Removes browser default margin/padding, sets box-model.
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;          /* Smooth anchor scrolling */
  font-size: 16px;
  overflow-x: hidden;               /* Prevent horizontal scroll at root */
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;               /* Prevent horizontal scroll on mobile */
  max-width: 100%;
  overflow-wrap: break-word;        /* Break long words/URLs that could overflow */
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-blue-light);
}

ul, ol {
  padding-left: var(--space-lg);
}

/* ────────────────────────────────────────────────────────────
   TYPOGRAPHY
   Fluid font sizes using clamp() for smooth scaling.
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem);   margin-bottom: var(--space-lg); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);     margin-bottom: var(--space-md); margin-top: var(--space-xl); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: var(--space-sm); margin-top: var(--space-lg); }

p  { margin-bottom: var(--space-md); }
li { margin-bottom: var(--space-xs); }

/* ────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   Centred container with responsive padding.
   ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

/* ────────────────────────────────────────────────────────────
   SECTION DIVIDERS
   Visual separators between content blocks.
   Used to break up text with graphic elements and emojis.
   ──────────────────────────────────────────────────────────── */

/* Horizontal decorative line with gradient */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-blue), transparent);
}

.section-divider-icon {
  font-size: 1.4rem;
  color: var(--color-blue-light);
  flex-shrink: 0;
}

/* CTA separator block – centred conversion button between text blocks */
.cta-separator {
  text-align: center;
  padding: var(--space-lg) 0;
  margin: var(--space-md) 0;
}

/* Accent info box (highlighted note/callout) */
.info-box {
  background: rgba(26, 111, 212, 0.1);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.info-box p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Bonus highlight stripe */
.bonus-stripe {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(26, 111, 212, 0.15) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.bonus-stripe-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.bonus-stripe-text {
  flex: 1;
  min-width: 200px;
}

.bonus-stripe-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-blue-light);
  margin-bottom: var(--space-xs);
}

/* ────────────────────────────────────────────────────────────
   HEADER / NAVIGATION
   Sticky top bar with logo, desktop nav, and CTA button.
   ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-header);
  border-bottom: 2px solid var(--border-accent);
  box-shadow: 0 2px 20px rgba(26, 111, 212, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--space-md);
}

/* Logo wrapper */
.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
}

/* Desktop navigation links */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover {
  color: var(--color-blue-light);
  background: rgba(26, 111, 212, 0.1);
}

/* Header CTA button container */
.btn-header {
  flex-shrink: 0;
}

/* Mobile hamburger toggle – hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  margin: 5px 0;
}

/* ────────────────────────────────────────────────────────────
   BUTTONS
   Red primary CTAs + Blue secondary outline buttons.
   Matches Vulkanbet colour style.
   ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-blue-light);
  outline-offset: 3px;
}

/* Primary – Red (main conversion button) */
.btn-primary {
  background-color: var(--color-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(212, 0, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 0, 0, 0.5);
}

/* Secondary – Blue outline */
.btn-secondary {
  background: transparent;
  color: var(--color-blue-light);
  border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
  background: var(--color-blue);
  color: #ffffff;
}

/* Large variant for hero/prominent CTAs */
.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* ────────────────────────────────────────────────────────────
   BREADCRUMBS
   Accessible Schema.org breadcrumb navigation for inner pages.
   Not shown on the main page.
   ──────────────────────────────────────────────────────────── */
.breadcrumbs {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-sm) 0;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* › separator arrow between breadcrumb items */
.breadcrumbs li + li::before {
  content: '›';
  margin-right: var(--space-xs);
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--color-blue-light);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────
   HERO / BANNER SECTION
   Full-width banner image with a semi-transparent CTA panel
   centred on both desktop and mobile.
   ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-start;      /* Align CTA block to the left */
  padding-left: clamp(var(--space-lg), 6vw, 80px); /* Responsive left inset */
  overflow: hidden;
  background-color: #0b0d14;        /* Fallback colour if image fails to load */
}

/* Banner background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/Banner/freepik_ultradetailed-3d-render-b_2790862290.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark gradient overlay improves text readability over the image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 13, 20, 0.72) 0%,
    rgba(13, 16, 32, 0.55) 100%
  );
  z-index: 1;
}

/* Semi-transparent CTA panel – left-aligned on desktop, centred on mobile */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;                      /* Left-align all text */
  background: rgba(11, 13, 30, 0.75);   /* Semi-transparent dark panel */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(26, 111, 212, 0.35);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xxl);
  max-width: 560px;
  width: calc(100% - 2 * var(--space-lg));
  margin: var(--space-xl) 0;             /* No auto margin – flush to left inset */
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
}

/* Blue bonus badge inside hero */
.hero-bonus {
  display: inline-block;
  background: var(--color-blue);
  color: #ffffff;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}

/* Button row inside hero panel */
.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-start;     /* Align buttons to the left */
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────
   POPULAR SLOTS SECTION
   12 slot images – 6 per row on desktop (do not reduce size).
   Horizontally scrollable strip on mobile.
   Rounded corners on all slot images.
   ──────────────────────────────────────────────────────────── */
.slots-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.slots-section .section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: clamp(1.4rem, 3vw, 2rem);
  position: relative;
}

/* Red decorative underline on section headings */
.slots-section .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-red);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

/* Desktop grid: exactly 6 columns, 2 rows of 6 images */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

/* Individual slot card with rounded corners */
.slot-card {
  position: relative;
  border-radius: var(--radius-md);  /* Rounded corners on the card container */
  overflow: hidden;
  border: 1px solid var(--border-default);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: var(--bg-tertiary);
  cursor: pointer;
}

.slot-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 30px rgba(26, 111, 212, 0.35);
  border-color: var(--color-blue);
}

/* Slot images with rounded corners */
.slot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);  /* Rounded corners on the image itself */
}

/* "Play" overlay that appears on hover */
.slot-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 30, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-md);
}

.slot-card:hover .slot-card-overlay {
  opacity: 1;
}

/* Red "Play" button label inside overlay */
.slot-play-btn {
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Mobile: horizontal scroll wrapper – images keep full 200px size.
   Hidden by default; activated via the 768px media query below.
   max-width: 100% ensures no page-level horizontal overflow. */
.slots-scroll-wrapper {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
  scroll-snap-type: x mandatory;
  max-width: 100%;
  /* Themed scrollbar for dark background */
  scrollbar-color: var(--color-red) var(--bg-tertiary);
  scrollbar-width: thin;
}

.slots-scroll-inner {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

/* Keep slot cards at original 200×200 size – do not reduce */
.slots-scroll-inner .slot-card {
  width: 200px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ────────────────────────────────────────────────────────────
   CONTENT SECTION (Main Article + Sticky Sidebar)
   Two-column grid on desktop; single column on tablet/mobile.
   ──────────────────────────────────────────────────────────── */
.content-section {
  padding: var(--space-xl) 0;
}

/* Two-column grid: article takes most space, sidebar is fixed width */
.content-section .container {
  display: grid;
  grid-template-columns: 1fr minmax(0, 260px);
  gap: var(--space-xl);
  align-items: start;
}

/* Sidebar sticks while scrolling */
.content-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.sidebar-card h3 {
  font-size: 1rem;
  color: var(--color-blue-light);
  margin-bottom: var(--space-md);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-default);
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav a:hover {
  color: var(--color-blue-light);
  padding-left: var(--space-xs);
}

/* Bonus highlight card in sidebar */
.bonus-highlight {
  text-align: center;
}

.bonus-highlight .bonus-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-blue-light);
  margin-bottom: var(--space-xs);
}

.bonus-highlight p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* ────────────────────────────────────────────────────────────
   TABLE STYLES
   Horizontally scrollable on mobile; full-width on desktop.
   ──────────────────────────────────────────────────────────── */

/* Outer wrapper enables horizontal scroll on narrow screens */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  margin-bottom: var(--space-lg);
}

table {
  width: 100%;
  min-width: 480px;             /* Force scroll rather than squish on small viewports */
  border-collapse: collapse;
  background: var(--bg-secondary);
}

thead {
  background: var(--bg-tertiary);
  border-bottom: 2px solid var(--color-blue);
}

th {
  padding: var(--space-md);
  text-align: left;
  font-weight: 700;
  color: var(--color-blue-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 0.95rem;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

/* Zebra striping for visual readability */
tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

tbody tr:hover {
  background: rgba(26, 111, 212, 0.08);
}

/* Small scroll hint shown above tables on mobile */
.table-scroll-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
  margin-bottom: var(--space-xs);
}

/* ────────────────────────────────────────────────────────────
   FAQ / ACCORDION SECTION
   Uses native <details>/<summary> for accessible accordions.
   ──────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--color-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  background: var(--bg-tertiary);
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  gap: var(--space-md);
  list-style: none;
}

/* Hide browser-default triangle on <summary> */
.faq-question::marker,
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question strong {
  color: var(--text-heading);
}

/* Rotating arrow indicator */
.faq-icon {
  color: var(--color-blue-light);
  font-size: 1.2rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
}

/* ────────────────────────────────────────────────────────────
   TEXT + IMAGE BLOCK (Illustrated section)
   Two-column layout with text on the left and image on right.
   ──────────────────────────────────────────────────────────── */
.text-img-section {
  padding: var(--space-xl) 0;
}

.text-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.text-img-grid img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ────────────────────────────────────────────────────────────
   FEATURES / HIGHLIGHTS ROW
   Icon cards showing key casino features.
   ──────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-blue);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.feature-title {
  font-weight: 700;
  color: var(--color-blue-light);
  margin-bottom: var(--space-xs);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ────────────────────────────────────────────────────────────
   FOOTER
   Dark footer with payment logo grid and legal navigation.
   Only cookies-policy, terms-and-conditions, privacy-policy
   are shown in the footer links (no other navigation items).
   ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-footer);
  border-top: 2px solid var(--border-accent);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: block;               /* Single column: brand only */
  margin-bottom: var(--space-xl);
}

.footer-brand img {
  height: 44px;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Payment logos section */
.payment-logos {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.payment-logos h4 {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

/* Wrapping flex grid for payment method logos */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* Individual payment logo badge */
.payment-logo {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  transition: background var(--transition), border-color var(--transition);
}

.payment-logo:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-blue);
}

.payment-logo img {
  height: 22px;
  width: auto;
  filter: brightness(0.9) saturate(0.8);   /* Subtle desaturation for visual harmony */
  transition: filter var(--transition);
}

.payment-logo:hover img {
  filter: brightness(1.1) saturate(1);
}

/* Footer bottom bar – copyright, legal links, age badge */
.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Only three links in footer: Cookies, Terms, Privacy */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-legal-links a:hover {
  color: var(--color-blue-light);
}

/* 18+ age restriction badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────
   RESPONSIBLE GAMBLING WARNING BANNER
   Red-tinted strip at the very bottom of the page.
   ──────────────────────────────────────────────────────────── */
.gambling-warning {
  background: rgba(212, 0, 0, 0.08);
  border-top: 1px solid rgba(212, 0, 0, 0.25);
  padding: var(--space-sm) 0;
  text-align: center;
}

.gambling-warning p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ────────────────────────────────────────────────────────────
   POLICY PAGES (Cookies, Terms, Privacy)
   Clean article layout for legal text.
   ──────────────────────────────────────────────────────────── */
.policy-page {
  padding: var(--space-xl) 0 var(--space-xxl);
}

.policy-content h1 {
  border-bottom: 2px solid var(--color-blue);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-xl);
}

.policy-content h2 {
  color: var(--color-blue-light);
  border-left: 4px solid var(--color-red);
  padding-left: var(--space-md);
}

.policy-content section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-default);
}

.policy-content section:last-child {
  border-bottom: none;
}

/* Table of contents block on policy pages */
.policy-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.policy-toc h3 {
  margin-top: 0;
  color: var(--color-blue-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.policy-toc ol {
  margin: 0;
  padding-left: var(--space-lg);
}

.policy-toc li {
  margin-bottom: var(--space-xs);
}

.policy-toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.policy-toc a:hover {
  color: var(--color-blue-light);
}

/* ────────────────────────────────────────────────────────────
   SKIP TO CONTENT LINK (Accessibility)
   Visually hidden, appears on keyboard focus for screen readers.
   ──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-blue);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ────────────────────────────────────────────────────────────
   SECTION TITLE LABEL BADGES
   Small coloured tags above section headings.
   ──────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--color-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

/* ────────────────────────────────────────────────────────────
   BACK-TO-TOP BUTTON
   Fixed bottom-right button, visible after scrolling 400px.
   ──────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--color-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 500;
  box-shadow: 0 4px 15px rgba(26, 111, 212, 0.5);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-3px);
  background: var(--color-blue-light);
}

/* ────────────────────────────────────────────────────────────
   MOBILE NAVIGATION OVERLAY (off-canvas slide-in panel)
   ──────────────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.5);  /* Backdrop */
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

/* Right-side sliding panel */
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);      /* Max 85% of viewport width on very small screens */
  height: 100%;
  background: var(--bg-secondary);
  border-left: 2px solid var(--color-blue);
  padding: var(--space-xl) var(--space-lg);
  transform: translateX(100%);   /* Start off-screen to the right */
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);      /* Slide in when .open is added */
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin-top: var(--space-xl);
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border-default);
  margin-bottom: 0;
}

.mobile-nav-links a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav-links a:hover {
  color: var(--color-blue-light);
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   Three breakpoints: tablet (≤1024px), mobile (≤768px),
   small mobile (≤480px).
   ──────────────────────────────────────────────────────────── */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  /* Collapse two-column content layout to single column */
  .content-section .container {
    grid-template-columns: 1fr;
  }

  /* Sidebar moves above article on tablet for readability */
  .content-sidebar {
    position: static;
    order: -1;
  }

  /* Keep 6-per-row slots grid at tablet */
  .slots-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  /* ─ Header: hide desktop nav, show hamburger ─ */
  .site-nav,
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  /* ─ Hero: reduce min-height; re-centre CTA panel on mobile ─ */
  .hero {
    min-height: 420px;
    justify-content: center;        /* Override left-align on mobile */
    padding-left: 0;                /* Remove desktop left inset */
  }

  .hero-content {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;             /* Re-centre text on mobile */
    width: calc(100% - 2 * var(--space-md));
    margin: var(--space-md) auto;   /* Centred on mobile */
  }

  /* Stack buttons vertically on mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* ─ Slots: hide desktop grid, show horizontal scroll strip ─ */
  .slots-grid {
    display: none;
  }

  .slots-scroll-wrapper {
    display: block;
  }

  /* ─ Tables: show scroll hint label above table ─ */
  .table-scroll-hint {
    display: block;
  }

  /* ─ Text/image grid collapses to single column ─ */
  .text-img-grid {
    grid-template-columns: 1fr;
  }

  /* ─ Footer collapses to single column ─ */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* ─ Back-to-top button moves slightly inward ─ */
  #back-to-top {
    right: var(--space-md);
    bottom: var(--space-md);
  }

  /* ─ Hard-clamp everything to viewport width ─ */
  body, html {
    width: 100%;
    max-width: 100vw;
  }

  .container {
    padding: 0 var(--space-md);
    max-width: 100%;
  }

  /* Tables scroll internally; wrapper must not exceed screen width */
  .table-responsive {
    max-width: calc(100vw - 2 * var(--space-md));
  }

  /* Prevent any image from overflowing the viewport */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Bonus stripe goes vertical on mobile */
  .bonus-stripe {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .hero {
    min-height: 380px;
  }

  .hero-content {
    padding: var(--space-md);
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Stack footer legal links on very small screens */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* Reduce feature grid to single column */
  .features-grid {
    grid-template-columns: 1fr;
  }
}
