/* ============================================================
   YEP CASINO – Bonus ohne Einzahlung
   Language: DE | Geo: Germany
   ============================================================ */

/* ===== 1. CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
  color-scheme: dark;
  /* Color palette – dark casino theme with gold accents */
  --color-bg:            #080912;
  --color-bg-section:    #0d0f1e;
  --color-card:          rgba(18, 20, 40, 0.90);
  --color-card-hover:    rgba(25, 28, 52, 0.95);
  --color-border:        rgba(255, 215, 0, 0.18);
  --color-border-light:  rgba(255, 255, 255, 0.08);

  /* Gold accent – primary CTA / highlights */
  --gold:                #FFD700;
  --gold-dark:           #FFA500;
  --gold-gradient:       linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  --gold-glow:           0 0 20px rgba(255, 215, 0, 0.45), 0 0 40px rgba(255, 165, 0, 0.25);

  /* Secondary accent – teal/green */
  --teal:                #00D4AA;
  --teal-dark:           #00A880;

  /* Purple accent */
  --purple:              #7C3AED;

  /* Text */
  --text-primary:        #F0F2FF;
  --text-secondary:      rgba(240, 242, 255, 0.70);
  --text-muted:          rgba(240, 242, 255, 0.45);

  /* Header */
  --header-bg:           rgba(8, 9, 18, 0.96);
  --header-height:       68px;

  /* Page background – animated gradient */
  --page-gradient:       radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 20, 80, 0.65) 0%, #080912 65%);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.15s ease;
}

/* ===== 2. CSS RESET & BASE ===== */

/* Box-sizing globally – prevents width overflow on mobile */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent horizontal scroll on mobile (fixes screen overflow issues) */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.75rem);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  background-image: var(--page-gradient);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-nav-open {
  overflow: hidden;
}

.gtm-noscript {
  display: none;
  visibility: hidden;
}

/* All images are responsive by default */
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessible link focus styles */
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

/* ===== 3. SKIP LINK (Accessibility) ===== */
/* Allows keyboard users to skip to main content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  transition: top var(--transition-fast);
}

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

/* ===== 4. LAYOUT CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== 5. TYPOGRAPHY UTILITIES ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Gold text highlight used in headings */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
}

/* Centered section header block */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header .section-desc {
  margin: 0 auto 2rem;
}

/* ===== 6. BUTTONS ===== */

/* Primary CTA – gold gradient with glow on hover */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--gold-gradient);
  color: #0a0b16;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Glowing animation on the most important CTAs */
.btn-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* Outline/secondary CTA */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.12);
  transform: translateY(-2px);
}

/* Header CTA – compact button */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  background: var(--gold-gradient);
  color: #0a0b16;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.4);
}

/* Full-width button variant for cards */
.btn-full {
  width: 100%;
  margin-top: auto;
}

/* Table button variant */
.btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  background: var(--gold-gradient);
  color: #0a0b16;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-table:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.4);
}

.btn-table--highlight {
  background: linear-gradient(135deg, #00D4AA 0%, #00A880 100%);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.3);
}

/* ===== 7. ANIMATIONS ===== */
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
  50%  { box-shadow: 0 0 30px rgba(255, 165, 0, 0.7), 0 0 60px rgba(255, 165, 0, 0.3); }
  100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes floatStar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(5deg); }
}

/* ===== 8. HEADER ===== */
/* Sticky header that becomes a blurred glass panel on scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Logo image – constrained height */
.site-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Desktop navigation list */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

/* Mobile hamburger toggle button */
.mobile-menu-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: background var(--transition);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 215, 0, 0.08);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animate hamburger to X when menu is open */
.mobile-menu-toggle.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== 9. HERO BANNER ===== */
/* Hero section wraps the banner image and the CTA overlay */
.hero-section {
  position: relative;
  overflow: hidden;
  /* Minimum height ensures overlay is always visible, even before image loads */
  min-height: 300px;
  background: #100f24;
}

/* The <picture> element fills the full width */
.hero-picture {
  display: block;
  width: 100%;
  line-height: 0; /* removes inline gap */
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
}

/* Semi-transparent CTA overlay – centered on both web & mobile */
.hero-cta-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 580px);  /* Responsive width with max cap */
  background: rgba(8, 9, 18, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  text-align: center;
  z-index: 10;
  /* Decorative gold glow around the overlay */
  box-shadow: 0 0 60px rgba(255, 165, 0, 0.12), inset 0 0 40px rgba(255, 215, 0, 0.04);
}

/* Small badge above the title */
.hero-cta-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.hero-cta-title {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.hero-cta-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Age/disclaimer text below CTA buttons */
.hero-cta-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== 10. BREADCRUMBS ===== */
.breadcrumbs-nav {
  background: rgba(13, 15, 30, 0.8);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.6rem 0;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.breadcrumb-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--gold);
}

/* Current (last) breadcrumb is highlighted gold */
.breadcrumb-current {
  color: var(--gold);
  font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-inline: 0.45rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== 11. MAIN CONTENT WRAPPER ===== */
.main-content {
  padding: var(--space-xl) 0;
}

.main-content > .container > section,
.page-sections > section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Spacing between top-level sections */
.main-content > .container > section + section,
.page-sections > section + section {
  margin-top: var(--space-2xl);
}

/* ===== 12. INTRO SECTION ===== */
/* Two-column layout: text left, trust badges right */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.intro-paragraph {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.intro-text .btn-primary {
  margin-top: 1rem;
}

/* Trust badges widget */
.trust-badges {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* 2-column grid of trust items */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Individual trust badge – icon + two text lines */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.trust-badge:hover {
  background: rgba(255, 215, 0, 0.1);
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-info {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.3;
}

.trust-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

.trust-info span {
  color: var(--text-muted);
}

/* ===== 13. BONUS CARDS SECTION ===== */
/* 4-column grid on desktop, 2-column on tablet, 1-column on mobile */
.bonus-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .bonus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bonus-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Base card style – glassmorphism with gold border */
.bonus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  /* Subtle top gradient line */
  background-image: linear-gradient(to bottom, rgba(255, 215, 0, 0.06) 0%, transparent 30%);
}

.bonus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
}

/* Large emoji icon at top of each card */
.bonus-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  animation: floatStar 3s ease-in-out infinite;
}

/* Large bold amount display */
.bonus-card-amount {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.bonus-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Small details list inside the card */
.bonus-card-details {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 1.25rem;
  flex: 1;
}

.bonus-card-details li,
.bonus-card-details > div {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.bonus-card-details li:last-child,
.bonus-card-details > div:last-child {
  border-bottom: none;
}

.bonus-card-details dt,
.bonus-card-details li span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.bonus-card-details dd,
.bonus-card-details li span:last-child {
  font-weight: 600;
  color: var(--gold);
  margin: 0;
}

/* Card color variants – top glow bar */
.bonus-card--cash::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
}

.bonus-card--promo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #9F6EFE);
}

.bonus-card--spins::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00D4AA, #00A880);
}

/* "Best Deal" card – extra glow */
.bonus-card--mega {
  border-color: rgba(0, 212, 170, 0.4);
  background-image: linear-gradient(to bottom, rgba(0, 212, 170, 0.06) 0%, transparent 30%);
}

.bonus-card--mega::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00D4AA, #7C3AED);
}

/* "BEST DEAL" ribbon badge on the mega card */
.bonus-card-badge {
  position: absolute;
  top: 0.8rem;
  right: -1rem;
  background: linear-gradient(90deg, #00D4AA, #00A880);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 1.5rem 0.2rem 0.75rem;
  transform: rotate(0deg);
  border-radius: 4px 0 0 4px;
}

/* Promo code display block inside card */
.promo-code-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px dashed rgba(124, 58, 237, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.code-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.code-value {
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

/* Copy button for the promo code */
.code-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
  transition: transform var(--transition-fast);
}

.code-copy-btn:hover {
  transform: scale(1.2);
}

/* ===== 14. BONUS TABLE ===== */
/* Desktop: standard table. Mobile: card layout using data-label attrs */
.bonus-table-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Scrollable wrapper adds horizontal scroll on mobile if needed */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  /* Visible scrollbar hint on mobile */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.table-wrapper::-webkit-scrollbar {
  height: 4px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.bonus-table {
  width: 100%;
  min-width: 640px; /* Forces horizontal scroll before this width */
  border-collapse: collapse;
  font-size: 0.875rem;
}

/* Visually hidden caption (shown to screen readers) */
.table-caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.25rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Table header row */
.bonus-table thead tr {
  background: rgba(255, 215, 0, 0.06);
  border-bottom: 1px solid var(--color-border);
}

.bonus-table th {
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}

/* Table body rows */
.bonus-table tbody tr {
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition-fast);
}

.bonus-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.04);
}

/* Last row has no bottom border */
.bonus-table tbody tr:last-child {
  border-bottom: none;
}

/* Highlighted "best deal" row */
.table-row--highlight {
  background: rgba(0, 212, 170, 0.06) !important;
}

.bonus-table td {
  padding: 1rem 1.1rem;
  color: var(--text-secondary);
  vertical-align: middle;
}

.bonus-table td strong {
  color: var(--text-primary);
  font-size: 1rem;
}

/* Badge chips inside the table */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge--cash  { background: rgba(255, 215, 0, 0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.badge--promo { background: rgba(124, 58, 237, 0.15); color: #9F6EFE; border: 1px solid rgba(124,58,237,0.3); }
.badge--spins { background: rgba(0, 212, 170, 0.15); color: var(--teal); border: 1px solid rgba(0,212,170,0.3); }
.badge--mega  { background: rgba(0, 212, 170, 0.15); color: var(--teal); border: 1px solid rgba(0,212,170,0.3); }

/* ===== MOBILE TABLE → CARD CONVERSION ===== */
/* On small screens, the table transforms into a card list for readability */
@media (max-width: 767px) {
  .table-wrapper {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  /* Hide the standard thead */
  .bonus-table thead {
    display: none;
  }

  .bonus-table,
  .bonus-table tbody {
    display: block;
    width: 100%;
    min-width: unset;
  }

  .bonus-table caption {
    display: none;
  }

  /* Each row becomes a card */
  .bonus-table tbody tr {
    display: block;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.25rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }

  /* Highlighted row on mobile */
  .bonus-table tbody tr.table-row--highlight {
    border-color: rgba(0, 212, 170, 0.4);
  }

  /* Each cell becomes a row inside the card, showing the column label */
  .bonus-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .bonus-table td:last-child {
    border-bottom: none;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  /* The data-label attribute provides the column name on mobile */
  .bonus-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    margin-right: 1rem;
  }

  /* No label before the CTA column */
  .bonus-table td:last-child::before {
    display: none;
  }
}

/* ===== 15. PROMO CODE SECTION ===== */
/* Highlighted block with the GAMETIME code */
.promo-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.promo-highlight-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(60, 25, 140, 0.1) 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-lead,
.promo-note {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.promo-note {
  margin: 1.5rem auto 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.promo-code-name {
  color: #9F6EFE;
}
  position: relative;
  overflow: hidden;
}

/* Subtle decorative gradient overlay in the background of the promo box */
.promo-highlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.promo-big-code {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(124, 58, 237, 0.6);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  margin: 1.5rem auto;
  font: inherit;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.promo-copy-icon {
  font-size: 1.2rem;
}

.promo-big-code:hover {
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.02);
}

.promo-copy-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

/* ===== 16. WAGERING RULES ===== */
/* Rules list with gold check icons */
.wagering-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.wagering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .wagering-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.wagering-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.wagering-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.wagering-card p:last-child {
  margin-bottom: 0;
}

.subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.experience-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.experience-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.experience-text:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-item .faq-answer,
.faq-item p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  padding: 1rem 2rem 1.5rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
  /* Prevent any child (including <strong>) from overflowing */
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* The text node next to the checkmark must shrink freely */
.rules-list li > *:last-child,
.rules-list li > span {
  flex: 1;
  min-width: 0;
}

/* Gold checkmark pseudo-element before each rule – fixed size, never shrinks */
.rules-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;   /* never squish the icon */
  flex-grow: 0;
  width: 22px;
  min-width: 22px;  /* hard min so text can't push it */
  height: 22px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* ===== 17. SLOTS GRID ===== */
.slots-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Responsive grid – fills available space */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 1.25rem;
  }
}

/* Individual slot card – image with hover overlay */
.slot-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  display: block;
}

.slot-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

.slot-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.slot-card:hover img {
  transform: scale(1.06);
}

/* Hover overlay with game name + play button */
.slot-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 18, 0.92) 0%, rgba(8, 9, 18, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition);
}

@media (hover: hover) {
  .slot-card:hover .slot-card-overlay,
  .slot-card:focus-visible .slot-card-overlay {
    opacity: 1;
  }
}

@media (hover: none) {
  .slot-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(8, 9, 18, 0.88) 0%, transparent 55%);
  }
}

/* Always show game name at bottom */
.slot-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(8, 9, 18, 0.95), transparent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

/* "Play" button that appears on hover */
.slot-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.55rem;
  background: var(--gold-gradient);
  color: #0a0b16;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  transition: transform var(--transition-fast);
}

/* ===== 18. PAYMENT METHODS ===== */
.payments-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Scrollable row of payment logos */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .payments-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  }
}

/* Individual payment method pill */
.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: default;
}

.payment-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.payment-item img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  /* Slight brightness boost for dark logos on dark background */
  filter: brightness(1.1);
}

/* ===== 19. FOOTER ===== */
.site-footer {
  background: rgba(5, 6, 14, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  margin-top: var(--space-2xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}

.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand .site-logo img {
  height: 32px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

/* Footer navigation links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  font-size: 0.83rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold);
}

/* License and legal info */
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-legal p + p {
  margin-top: 0.5rem;
}

/* Age 18+ badge */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.4);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  color: #FF4757;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== 20. DECORATIVE ELEMENTS ===== */

/* Gold divider line between sections */
.gold-divider {
  width: 80px;
  height: 3px;
  border: 0;
  background: var(--gold-gradient);
  border-radius: 3px;
  margin: 0 auto 2rem;
}

.slots-cta {
  margin-top: 2rem;
}

.final-cta-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(255, 140, 0, 0.12) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 165, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}

.final-cta-text {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.final-cta-disclaimer {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 1.25rem;
}

/* Sparkle decoration (pure CSS star) */
.sparkle {
  display: inline-block;
  font-size: 1.2rem;
  animation: floatStar 2.5s ease-in-out infinite;
}

/* Section with background variation */
.section-alt {
  background: rgba(13, 15, 30, 0.5);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 0 -1rem;
}

@media (min-width: 768px) {
  .section-alt {
    padding: 3rem;
    margin: 0;
  }
}

/* ===== 21. MOBILE NAV OVERLAY ===== */
/* Full-screen navigation menu on mobile */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex; /* Show hamburger button on mobile */
  }

  /* Nav slides down from header on mobile */
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 9, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    z-index: 99;
    padding: 1rem;
  }

  /* When menu is open (toggled via JS) */
  .main-nav.is-open {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-light);
  }

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

  /* Keep the primary CTA visible next to the hamburger */
  .btn-header-cta {
    display: inline-flex;
    margin-left: auto;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }
}

/* ===== 22. RESPONSIVE ADJUSTMENTS ===== */

/* Large hero overlay on desktop */
@media (min-width: 900px) {
  .hero-cta-overlay {
    padding: 3rem 3.5rem;
  }
}

/* Tablet breakpoints */
@media (min-width: 768px) and (max-width: 1023px) {
  .bonus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile-specific overrides */
@media (max-width: 480px) {
  /* Smaller padding on hero overlay for very small screens */
  .hero-cta-overlay {
    padding: 1.25rem 1rem;
    width: 92%;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-buttons .btn-primary,
  .hero-cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Compact section spacing on mobile */
  .main-content > .container > section + section,
  .page-sections > section + section {
    margin-top: 3rem;
  }

  .promo-big-code {
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
    font-size: 1.5rem;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 23. SCROLL-TRIGGERED FADE-IN (CSS only) ===== */
/* Sections animate in when they enter the viewport */
@media (prefers-reduced-motion: no-preference) {
  .animate-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .animate-up:nth-child(2).is-visible { transition-delay: 0.1s; }
  .animate-up:nth-child(3).is-visible { transition-delay: 0.2s; }
  .animate-up:nth-child(4).is-visible { transition-delay: 0.3s; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 24. UTILITY CLASSES ===== */
.text-center { text-align: center; }
.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; }
.mb-3 { margin-bottom: 1.5rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
