/* ============================================================
   MAGICAL SPIN — css/style.css
   Casino affiliate site | French market
   Palette: Dark Purple (#1D0B2B → #3B1454) · Neon Magenta (#D400FF) · Gold (#FFD700)
   Prefix: .mgo-
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Rajdhani:wght@400;500;600;700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── 1. CSS RESET & BOX-SIZING ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; }

/* ─── 2. CSS VARIABLES ──────────────────────────────────────── */
:root {
  /* Brand colors */
  --c-bg-deep:      #0E0518;
  --c-bg-base:      #1D0B2B;
  --c-bg-mid:       #2A1040;
  --c-bg-surface:   #3B1454;
  --c-primary:      #D400FF;
  --c-primary-dim:  #9B00BB;
  --c-primary-glow: rgba(212, 0, 255, 0.35);
  --c-gold:         #FFD700;
  --c-gold-light:   #FFE866;
  --c-gold-dark:    #C8A800;
  --c-gold-glow:    rgba(255, 215, 0, 0.4);
  --c-white:        #FFFFFF;
  --c-text:         #F0E6FF;
  --c-text-muted:   #B89FCC;
  --c-text-faint:   #7A5A99;
  --c-lilac:        #DCC8FF;
  --c-border:       rgba(212, 0, 255, 0.25);
  --c-border-faint: rgba(212, 0, 255, 0.12);

  /* Gradients */
  --grad-bg:        linear-gradient(160deg, #1D0B2B 0%, #0E0518 55%, #2A1040 100%);
  --grad-primary:   linear-gradient(135deg, #D400FF 0%, #8A00FF 100%);
  --grad-gold:      linear-gradient(135deg, #FFE866 0%, #FFD700 45%, #C8A800 100%);
  --grad-hero:      linear-gradient(180deg, #0E0518 0%, #1D0B2B 40%, #3B1454 100%);
  --grad-card:      linear-gradient(145deg, rgba(59,20,84,0.9) 0%, rgba(29,11,43,0.95) 100%);
  --grad-cta:       linear-gradient(135deg, #3B1454 0%, #1D0B2B 100%);

  /* Typography */
  --font-display:   'Cinzel Decorative', serif;
  --font-heading:   'Rajdhani', sans-serif;
  --font-body:      'Raleway', sans-serif;

  /* Spacing & radius */
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --radius-pill:    999px;
  --gap-sm:         12px;
  --gap-md:         20px;
  --gap-lg:         32px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.65);
  --shadow-primary: 0 0 24px var(--c-primary-glow), 0 0 60px rgba(212,0,255,0.15);
  --shadow-gold:    0 0 20px var(--c-gold-glow), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-card:    0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px var(--c-border-faint);

  /* Header height */
  --header-h: 68px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-med:  280ms ease;
  --t-slow: 450ms ease;
}

/* ─── 3. BASE BODY ──────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg-base);
  background-image: var(--grad-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain texture overlay on entire page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* Floating ambient orbs (decorative, pure CSS) */
.mgo-floating-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: mgo-orb-drift 18s ease-in-out infinite alternate;
}
.mgo-floating-orb--1 {
  width: 420px; height: 420px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(212,0,255,0.14) 0%, transparent 70%);
  animation-duration: 22s;
}
.mgo-floating-orb--2 {
  width: 350px; height: 350px;
  bottom: 10%; right: -80px;
  background: radial-gradient(circle, rgba(255,215,0,0.10) 0%, transparent 70%);
  animation-duration: 17s;
  animation-delay: -6s;
}
.mgo-floating-orb--3 {
  width: 240px; height: 240px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(138,0,255,0.12) 0%, transparent 70%);
  animation-duration: 25s;
  animation-delay: -12s;
}
@keyframes mgo-orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.06); }
  66%  { transform: translate(-20px, 20px) scale(0.96); }
  100% { transform: translate(15px, -15px) scale(1.03); }
}

/* ─── 4. CONTAINER ──────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
}

/* ─── 5. HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 5, 24, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 4px 30px rgba(212, 0, 255, 0.08);
  transition: box-shadow var(--t-med);
}

.header.is-scrolled {
  box-shadow: 0 4px 30px rgba(212, 0, 255, 0.18), 0 0 0 1px var(--c-border);
}

.header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 900;
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 18px var(--c-primary-glow), 0 0 40px rgba(212,0,255,0.3);
  flex-shrink: 0;
  line-height: 1.2;
  transition: text-shadow var(--t-med);
}
.logo span { color: var(--c-gold); }
.logo:hover { text-shadow: 0 0 28px var(--c-primary), 0 0 60px rgba(212,0,255,0.5); }

/* ─── 6. NAV ─────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--c-text);
  background: rgba(212, 0, 255, 0.1);
}
.nav__link--active {
  color: var(--c-primary);
  font-weight: 700;
  background: rgba(212, 0, 255, 0.12);
}

.nav__group {
  position: relative;
}
.nav__group > .nav__link::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform var(--t-fast);
}
.nav__group:hover > .nav__link::after { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(29, 11, 43, 0.97);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212,0,255,0.12);
  padding: 8px;
  display: none;
  z-index: 200;
}
.nav__group:hover .nav__dropdown { display: block; }
.nav__dropdown .nav__link {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* ─── 7. HEADER AUTH BUTTONS ─────────────────────────────────── */
.header__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ─── 8. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast), opacity var(--t-fast);
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-primary);
  color: var(--c-white);
  box-shadow: 0 0 18px rgba(212,0,255,0.45), 0 4px 12px rgba(0,0,0,0.4);
}
.btn--primary:hover {
  box-shadow: 0 0 28px rgba(212,0,255,0.65), 0 6px 20px rgba(0,0,0,0.5);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  box-shadow: 0 0 10px rgba(212,0,255,0.15);
}
.btn--outline:hover {
  background: rgba(212,0,255,0.1);
  box-shadow: 0 0 18px rgba(212,0,255,0.35);
}

.btn--cta {
  background: var(--grad-gold);
  color: #1A0A00;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-gold);
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.btn--cta:hover {
  box-shadow: 0 0 30px var(--c-gold-glow), 0 6px 24px rgba(0,0,0,0.5);
  filter: brightness(1.08);
}

.btn--small {
  padding: 6px 14px;
  font-size: 0.75rem;
}

/* ─── 9. MENU TOGGLE (mobile) ────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(212,0,255,0.1);
  border: 1px solid var(--c-border);
  gap: 5px;
  flex-shrink: 0;
  transition: background var(--t-fast);
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle:hover { background: rgba(212,0,255,0.2); }
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}
.menu-toggle span { display: block; }

/* ─── 10. HERO ───────────────────────────────────────────────── */
.mgo-hero-wrap {
  position: relative;
  min-height: clamp(440px, 60vh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(212,0,255,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(255,215,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(138,0,255,0.15) 0%, transparent 60%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(212,0,255,0.015) 3px,
    rgba(212,0,255,0.015) 4px
  );
}

/* Stars / sparkle animation in hero */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: mgo-star-twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes mgo-star-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.4); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 16px;
  animation: mgo-fade-up 0.9s var(--t-slow) both;
}
@keyframes mgo-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
  padding: 5px 16px;
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: var(--radius-pill);
  background: rgba(255,215,0,0.08);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 0 30px var(--c-primary-glow), 0 2px 0 rgba(0,0,0,0.4);
}
.hero__title .accent { color: var(--c-primary); }
.hero__title .gold   { color: var(--c-gold); }

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--c-lilac);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__bonus {
  background: rgba(59,20,84,0.75);
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 40px rgba(255,215,0,0.1), var(--shadow-md);
  backdrop-filter: blur(12px);
  animation: mgo-fade-up 1.1s ease both;
  animation-delay: 0.2s;
}

.hero__bonus-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.hero__bonus-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--c-gold);
  text-shadow: 0 0 20px var(--c-gold-glow);
  line-height: 1;
}

.hero__bonus-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}

/* ─── 11. CATEGORIES BAR ─────────────────────────────────────── */
.categories-bar {
  background: rgba(29,11,43,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-faint);
  border-top: 1px solid var(--c-border-faint);
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  z-index: 10;
}
.categories-bar::-webkit-scrollbar { display: none; }

.categories-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cat-tile {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  background: rgba(59,20,84,0.5);
  border: 1px solid var(--c-border-faint);
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.cat-tile:hover,
.cat-tile.is-active {
  color: var(--c-bg-base);
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 0 14px var(--c-primary-glow);
}
.cat-tile__icon { font-size: 1rem; }

/* ─── 12. MAIN CONTENT AREA ──────────────────────────────────── */
.main {
  padding: 56px 20px 80px;
  position: relative;
  z-index: 1;
}

/* ─── 13. CONTENT SECTIONS ───────────────────────────────────── */
.content-section {
  margin-bottom: 56px;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(212,0,255,0.4);
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--c-gold);
  margin: 24px 0 12px;
}

.content-section p {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-section .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-lilac);
  line-height: 1.7;
  margin-bottom: 20px;
}

.content-section ol {
  padding-left: 24px;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.content-section ol li { margin-bottom: 8px; }
.content-section ol li::marker { color: var(--c-primary); font-weight: 700; }

.content-section ul {
  padding-left: 0;
  list-style: none;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.content-section ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.content-section ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-size: 0.7rem;
  top: 4px;
}

.content-section a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.content-section a:hover { color: var(--c-gold); }

/* ─── 14. BONUS CARDS ────────────────────────────────────────── */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap-md);
  margin-top: 28px;
}

.bonus-card {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-med);
}
.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-primary), var(--shadow-lg);
  border-color: var(--c-primary);
}
.bonus-card:hover::before { opacity: 1; }

.bonus-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.bonus-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-white);
  margin-bottom: 8px;
}

.bonus-card p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bonus-card .bonus-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-gold);
  text-shadow: 0 0 14px var(--c-gold-glow);
  margin: 8px 0;
}

/* ─── 15. TABLE ──────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.bonus-table,
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--grad-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.9rem;
}

.bonus-table th,
.styled-table th {
  background: rgba(212,0,255,0.18);
  color: var(--c-lilac);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.bonus-table td,
.styled-table td {
  padding: 13px 18px;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border-faint);
  vertical-align: middle;
}

.bonus-table tr:last-child td,
.styled-table tr:last-child td { border-bottom: none; }

.bonus-table tr:hover td,
.styled-table tr:hover td {
  background: rgba(212,0,255,0.06);
  color: var(--c-text);
}

.table-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.table-badge--green { background: rgba(0,220,130,0.15); color: #00DC82; }
.table-badge--yellow { background: rgba(255,215,0,0.15); color: var(--c-gold); }
.table-badge--red { background: rgba(255,60,60,0.15); color: #FF6060; }

/* ─── 16. FAQ ─────────────────────────────────────────────────── */
.faq-list {
  margin-top: 28px;
}
.faq-list dt {
  border-left: 3px solid var(--c-primary);
  background: rgba(59,20,84,0.4);
  padding: 12px 18px;
  color: var(--c-text);
  font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
  cursor: pointer;
}
.faq-list dd {
  color: var(--c-text-muted);
  padding: 12px 18px 18px 21px;
  line-height: 1.7;
  font-size: 0.925rem;
}

/* Accordion variant */
.faq__item {
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(29,11,43,0.6);
  transition: border-color var(--t-med);
}
.faq__item.is-open {
  border-color: var(--c-primary);
  box-shadow: 0 0 14px rgba(212,0,255,0.12);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--t-fast);
  background: transparent;
  border: none;
}
.faq__question:hover { color: var(--c-primary); }

.faq__question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--c-primary);
  font-weight: 300;
  transition: transform var(--t-med), content var(--t-med);
  flex-shrink: 0;
  line-height: 1;
}
.faq__item.is-open .faq__question::after {
  transform: rotate(45deg);
}
.faq__item.is-open .faq__question { color: var(--c-primary); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq__item.is-open .faq__answer { max-height: 500px; }

.faq__answer-inner {
  padding: 4px 20px 20px;
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  border-top: 1px solid var(--c-border-faint);
}

/* ─── 17. CARDS GRID ─────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: 28px;
}

.card {
  background: var(--grad-card);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: var(--shadow-primary), var(--shadow-md);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 0 8px var(--c-primary-glow));
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-white);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ─── 18. TWO-COLUMN LAYOUT ──────────────────────────────────── */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  margin-top: 28px;
}
.two-cols--center { align-items: center; }

.two-cols__text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--c-white);
  margin-bottom: 12px;
}
.two-cols__text p {
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.two-cols__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
}

/* ─── 19. STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(29,11,43,0.85);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 40px 0;
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--c-border-faint);
  transition: background var(--t-fast);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(212,0,255,0.06); }

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-gold);
  text-shadow: 0 0 14px var(--c-gold-glow);
  display: block;
  margin-bottom: 6px;
}

.stat-item__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  display: block;
}

/* ─── 20. CTA BLOCK ──────────────────────────────────────────── */
.cta-block {
  background: var(--grad-cta);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 0 80px rgba(212,0,255,0.06);
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(212,0,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--c-white);
  margin-bottom: 12px;
  position: relative;
}

.cta-block p {
  color: var(--c-lilac);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}

.cta-block .btn { position: relative; }

/* ─── 21. NUMBERED & STYLED LISTS ────────────────────────────── */
.numbered-list {
  counter-reset: mgo-counter;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.numbered-list li {
  counter-increment: mgo-counter;
  position: relative;
  padding: 16px 20px 16px 70px;
  background: rgba(59,20,84,0.35);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  color: var(--c-text-muted);
  transition: border-color var(--t-fast);
}
.numbered-list li:hover { border-color: var(--c-border); }
.numbered-list li::before {
  counter-content: counter(mgo-counter);
  content: counter(mgo-counter);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,0,255,0.1);
  border: 1px solid rgba(212,0,255,0.25);
  border-radius: 50%;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.styled-list li {
  padding: 13px 18px 13px 50px;
  position: relative;
  background: rgba(59,20,84,0.3);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border-faint);
  line-height: 1.6;
}
.styled-list li::before {
  content: '★';
  position: absolute;
  left: 16px;
  color: var(--c-gold);
  font-size: 0.85rem;
  top: 15px;
}

/* ─── 22. BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212,0,255,0.15);
  color: var(--c-primary);
  border: 1px solid rgba(212,0,255,0.3);
}
.badge--gold {
  background: rgba(255,215,0,0.12);
  color: var(--c-gold);
  border-color: rgba(255,215,0,0.3);
}
.badge--green {
  background: rgba(0,220,130,0.12);
  color: #00DC82;
  border-color: rgba(0,220,130,0.3);
}

/* ─── 23. PAGE HEADER ────────────────────────────────────────── */
.page-header {
  padding: 56px 20px 44px;
  text-align: center;
  background: rgba(14,5,24,0.6);
  border-bottom: 1px solid var(--c-border-faint);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(212,0,255,0.15) 0%, transparent 70%);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--c-white);
  text-shadow: 0 0 30px var(--c-primary-glow);
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--c-text-faint);
  margin-bottom: 16px;
  position: relative;
}
.breadcrumb a { color: var(--c-primary); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb span { color: var(--c-text-faint); }

/* ─── 24. MODAL ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 0, 12, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
  padding: 20px;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-primary), var(--shadow-lg);
  animation: mgo-modal-in 0.3s ease both;
  text-align: center;
}
@keyframes mgo-modal-in {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal.is-open .modal__content { animation-duration: 0.28s; }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(212,0,255,0.1);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover {
  background: rgba(212,0,255,0.25);
  color: var(--c-primary);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-gold);
  margin-bottom: 12px;
  text-shadow: 0 0 16px var(--c-gold-glow);
}

.modal p {
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ─── 25. WHEEL OF FORTUNE (decorative) ──────────────────────── */
.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.wheel-svg-wrap {
  position: relative;
  width: 200px;
  height: 200px;
}

.wheel-needle {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 22px solid var(--c-gold);
  filter: drop-shadow(0 0 6px var(--c-gold-glow));
  z-index: 2;
}

/* ─── 26. BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 46px;
  height: 46px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 1.1rem;
  box-shadow: 0 0 16px var(--c-primary-glow), var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity var(--t-med), transform var(--t-fast), box-shadow var(--t-fast);
  border: none;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px var(--c-primary), var(--shadow-lg);
}

/* ─── 27. PLACEHOLDER IMAGE ──────────────────────────────────── */
.placeholder-img {
  aspect-ratio: 16 / 9;
  background: rgba(59,20,84,0.5);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--c-text-faint);
}

/* ─── 28. FOOTER ─────────────────────────────────────────────── */
.footer {
  background: rgba(10, 4, 18, 0.97);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border-faint);
}

.footer__brand .logo {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer__brand p {
  font-size: 0.8rem;
  color: var(--c-text-faint);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer__links-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.footer__links-col ul { list-style: none; padding: 0; }
.footer__links-col ul li { margin-bottom: 8px; }
.footer__links-col ul a {
  font-size: 0.85rem;
  color: var(--c-text-faint);
  transition: color var(--t-fast);
  text-decoration: none;
}
.footer__links-col ul a:hover { color: var(--c-primary); }

.footer__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer__badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(59,20,84,0.5);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-faint);
}
.footer__badge-item span { font-size: 0.85rem; }

.footer__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.footer__lang-label {
  font-size: 0.72rem;
  color: var(--c-text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__lang-link {
  font-size: 0.75rem;
  color: var(--c-text-faint);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--t-fast);
}
.footer__lang-link.active,
.footer__lang-link:hover {
  color: var(--c-primary);
  border-color: var(--c-border);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--c-border-faint);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--c-text-faint);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  transition: color var(--t-fast);
}
.footer__bottom-links a:hover { color: var(--c-primary); }

.footer__disclaimer {
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid var(--c-border-faint);
  font-size: 0.72rem;
  color: var(--c-text-faint);
  line-height: 1.7;
  text-align: center;
}
.footer__disclaimer strong { color: var(--c-primary); }

/* ─── 29. WHEEL CTA SECTION ─────────────────────────────────── */
.mgo-wheel-section {
  text-align: center;
  padding: 48px 20px;
  background: rgba(29,11,43,0.6);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--radius-xl);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.mgo-wheel-section::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,0,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.mgo-wheel-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--c-white);
  margin-bottom: 10px;
  position: relative;
}
.mgo-wheel-section p {
  color: var(--c-text-muted);
  margin-bottom: 24px;
  position: relative;
}

/* ─── 30. CASINO RATING CARD ─────────────────────────────────── */
.casino-rating-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  box-shadow: var(--shadow-card);
}
.casino-rating-card:hover {
  transform: translateX(4px);
  border-color: var(--c-primary);
  box-shadow: var(--shadow-primary);
}

.casino-rating-card__rank {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-gold);
  min-width: 40px;
  text-align: center;
}

.casino-rating-card__logo {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: rgba(212,0,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid var(--c-border-faint);
}

.casino-rating-card__info { flex: 1; }

.casino-rating-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}

.casino-rating-card__bonus {
  font-size: 0.85rem;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.casino-rating-card__stars {
  color: var(--c-gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.casino-rating-card__action { flex-shrink: 0; }

/* ─── 31. STARS ──────────────────────────────────────────────── */
.stars { color: var(--c-gold); letter-spacing: 2px; }
.stars--outline { color: var(--c-text-faint); }

/* ─── 32. FORM ───────────────────────────────────────────────── */
.mgo-form {
  display: grid;
  gap: 16px;
  max-width: 540px;
}
.mgo-form__group { display: flex; flex-direction: column; gap: 6px; }
.mgo-form__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.mgo-form__input,
.mgo-form__textarea {
  background: rgba(59,20,84,0.4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--c-text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.mgo-form__input:focus,
.mgo-form__textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(212,0,255,0.15);
}
.mgo-form__textarea { min-height: 120px; resize: vertical; }

/* ─── 33. RESPONSIVE — 1080px ─────────────────────────────────── */
@media (max-width: 1080px) {
  .nav,
  .header__auth { display: none; }

  .menu-toggle { display: flex; }

  /* Nav open state */
  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(14,5,24,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    padding: 16px;
    gap: 4px;
    z-index: 99;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  }

  .header.nav-open .header__auth {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--header-h) + 260px);
    left: 0; right: 0;
    background: rgba(14,5,24,0.97);
    padding: 0 16px 16px;
    z-index: 99;
    border-bottom: 1px solid var(--c-border);
    gap: 10px;
  }
  .header.nav-open .header__auth .btn { text-align: center; }

  .nav__dropdown {
    position: static;
    transform: none;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .nav__group:hover .nav__dropdown { display: none; }
  .nav__group.is-open .nav__dropdown { display: block; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

/* ─── 34. RESPONSIVE — 768px ─────────────────────────────────── */
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border-faint); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--c-border-faint); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .casino-rating-card {
    flex-wrap: wrap;
    gap: 14px;
  }
  .casino-rating-card__action { width: 100%; }
  .casino-rating-card__action .btn { width: 100%; text-align: center; }
}

/* ─── 35. RESPONSIVE — 600px ─────────────────────────────────── */
@media (max-width: 600px) {
  :root { --header-h: 60px; }

  .mgo-hero-wrap { padding: 60px 16px; min-height: 380px; }
  .hero__bonus { padding: 16px 20px; }
  .hero__bonus-value { font-size: 2.2rem; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn--cta { width: 100%; text-align: center; }

  .content-section { margin-bottom: 36px; }
  .main { padding: 36px 16px 60px; }

  .bonus-cards { grid-template-columns: 1fr; }

  .stats-bar { grid-template-columns: 1fr 1fr; }

  .cta-block { padding: 36px 20px; }
  .cta-block .btn--cta { width: 100%; }

  .two-cols { grid-template-columns: 1fr; gap: var(--gap-md); }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }

  .modal__content { padding: 28px 20px; }

  .table-wrap { font-size: 0.8rem; }
  .bonus-table th, .bonus-table td,
  .styled-table th, .styled-table td { padding: 10px 12px; }

  .back-to-top { bottom: 16px; right: 16px; }
}

/* ─── 36. UTILITY CLASSES ────────────────────────────────────── */
.text-primary  { color: var(--c-primary); }
.text-gold     { color: var(--c-gold); }
.text-muted    { color: var(--c-text-muted); }
.text-center   { text-align: center; }
.text-sm       { font-size: 0.85rem; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: var(--gap-sm); }
.gap-md { gap: var(--gap-md); }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.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;
}

/* ─── 37. SCROLL ANIMATIONS ──────────────────────────────────── */
.mgo-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.mgo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.mgo-reveal--delay-1 { transition-delay: 0.1s; }
.mgo-reveal--delay-2 { transition-delay: 0.2s; }
.mgo-reveal--delay-3 { transition-delay: 0.3s; }
.mgo-reveal--delay-4 { transition-delay: 0.4s; }

/* ─── 38. GLOW PULSE ANIMATION ───────────────────────────────── */
@keyframes mgo-glow-pulse {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50%       { box-shadow: 0 0 40px var(--c-gold-glow), 0 8px 30px rgba(0,0,0,0.6); }
}
.mgo-pulse-gold { animation: mgo-glow-pulse 2.4s ease-in-out infinite; }

@keyframes mgo-glow-pulse-primary {
  0%, 100% { box-shadow: 0 0 18px rgba(212,0,255,0.45), 0 4px 12px rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 36px rgba(212,0,255,0.7), 0 8px 24px rgba(0,0,0,0.5); }
}
.mgo-pulse-primary { animation: mgo-glow-pulse-primary 2s ease-in-out infinite; }

/* ─── 39. SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--c-bg-surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-primary-dim); }
    .mgo-hero-magic {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
    }

    /* Pseudo-element orbs */
    .mgo-hero-magic::before,
    .mgo-hero-magic::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      filter: blur(110px);
    }

    /* Orbe MAGENTA */
    .mgo-hero-magic::before {
      width: 580px;
      height: 580px;
      background: radial-gradient(circle, #D400FF 0%, #8A00FF 45%, transparent 75%);
      top: -140px;
      left: -100px;
      opacity: 0.68;
      animation: mgo-orb-magenta 18s ease-in-out infinite alternate;
    }

    /* Orbe VIOLET */
    .mgo-hero-magic::after {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, #7700CC 0%, #3B1454 50%, transparent 80%);
      bottom: -120px;
      right: -80px;
      opacity: 0.65;
      animation: mgo-orb-violet 22s ease-in-out infinite alternate;
    }

    @keyframes mgo-orb-magenta {
      0%   { transform: translate(0,    0)     scale(1);    opacity: 0.68; }
      25%  { transform: translate(90px,  70px)  scale(1.12); opacity: 0.5;  }
      55%  { transform: translate(50px,  140px) scale(0.94); opacity: 0.66; }
      80%  { transform: translate(-50px, 90px)  scale(1.08); opacity: 0.58; }
      100% { transform: translate(35px, -25px)  scale(1.04); opacity: 0.72; }
    }

    @keyframes mgo-orb-violet {
      0%   { transform: translate(0,     0)       scale(1);    opacity: 0.65; }
      20%  { transform: translate(-80px, -55px)   scale(1.14); opacity: 0.48; }
      55%  { transform: translate(-35px, -115px)  scale(0.9);  opacity: 0.62; }
      80%  { transform: translate(55px,  -65px)   scale(1.06); opacity: 0.52; }
      100% { transform: translate(-25px,  22px)   scale(1.02); opacity: 0.68; }
    }

    /* Third gold orb (separate element) */
    .mgo-hero-gold-orb {
      position: absolute;
      width: 340px;
      height: 340px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
      filter: blur(85px);
      top: 28%;
      left: 38%;
      pointer-events: none;
      z-index: 0;
      animation: mgo-orb-gold 26s ease-in-out infinite alternate;
    }

    @keyframes mgo-orb-gold {
      0%   { transform: translate(0, 0)        scale(1);    opacity: 0.38; }
      35%  { transform: translate(-65px, 45px)  scale(1.18); opacity: 0.22; }
      68%  { transform: translate(55px, -35px)  scale(0.86); opacity: 0.36; }
      100% { transform: translate(-22px, 18px)  scale(1.08); opacity: 0.28; }
    }

    /* ─ Glass bonus card ─ */
    .mgo-glass-card {
      position: relative;
      z-index: 2;
      background: rgba(59, 20, 84, 0.42);
      backdrop-filter: blur(22px) saturate(200%);
      -webkit-backdrop-filter: blur(22px) saturate(200%);
      border: 1px solid rgba(212, 0, 255, 0.32);
      border-radius: 28px;
      padding: 44px 48px;
      max-width: 520px;
      margin: 36px auto 0;
      text-align: center;
      box-shadow:
        0 0 80px rgba(212, 0, 255, 0.18),
        0 0 160px rgba(212, 0, 255, 0.07),
        0 24px 64px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }

    .mgo-glass-card__tag {
      display: inline-block;
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #FFD700;
      border: 1px solid rgba(255, 215, 0, 0.4);
      border-radius: 999px;
      padding: 4px 18px;
      margin-bottom: 18px;
      background: rgba(255, 215, 0, 0.09);
    }

    .mgo-glass-card__pct {
      display: block;
      font-family: 'Cinzel Decorative', serif;
      font-size: clamp(3.2rem, 9vw, 5.8rem);
      font-weight: 900;
      color: #FFD700;
      line-height: 1;
      text-shadow:
        0 0 32px rgba(255, 215, 0, 0.65),
        0 0 90px rgba(255, 215, 0, 0.28),
        0 2px 0 rgba(0, 0, 0, 0.45);
      margin: 4px 0 10px;
      animation: mgo-pct-pulse 2.6s ease-in-out infinite;
    }

    @keyframes mgo-pct-pulse {
      0%, 100% { transform: scale(1); }
      50%       { transform: scale(1.045); }
    }

    .mgo-glass-card__desc {
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: #DCC8FF;
      margin-bottom: 8px;
      letter-spacing: 0.04em;
    }

    .mgo-glass-card__sub {
      font-size: 0.82rem;
      color: #B89FCC;
      margin-bottom: 30px;
    }

    /* Jouer button — scale pulse (CSS-only, no JS) */
    .mgo-btn-jouer {
      display: inline-block;
      padding: 16px 52px;
      background: linear-gradient(135deg, #FFE866 0%, #FFD700 45%, #C8A800 100%);
      color: #1A0800;
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.1rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: 999px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      box-shadow: 0 0 26px rgba(255,215,0,0.52), 0 6px 22px rgba(0,0,0,0.48);
      animation: mgo-jouer-scale 1.9s ease-in-out infinite;
      transition: filter 0.15s ease;
    }
    .mgo-btn-jouer:hover { filter: brightness(1.12); }

    @keyframes mgo-jouer-scale {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 26px rgba(255,215,0,0.52), 0 6px 22px rgba(0,0,0,0.48);
      }
      50% {
        transform: scale(1.055);
        box-shadow: 0 0 48px rgba(255,215,0,0.78), 0 10px 34px rgba(0,0,0,0.56);
      }
    }

    /* ─ Legal modals ─ */
    .mgo-legal-modal {
      position: fixed;
      inset: 0;
      background: rgba(5, 0, 12, 0.9);
      backdrop-filter: blur(10px);
      z-index: 2000;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.28s ease, visibility 0.28s ease;
      padding: 24px 16px;
      overflow-y: auto;
    }
    .mgo-legal-modal.is-open {
      opacity: 1;
      visibility: visible;
    }
    .mgo-legal-modal__box {
      background: #1D0B2B;
      border: 1px solid rgba(212, 0, 255, 0.28);
      border-radius: 20px;
      padding: 44px 40px;
      max-width: 780px;
      width: 100%;
      margin: auto;
      position: relative;
      box-shadow: 0 10px 70px rgba(0,0,0,0.72), 0 0 50px rgba(212,0,255,0.1);
    }
    .mgo-legal-modal__close {
      position: absolute;
      top: 16px; right: 18px;
      width: 36px; height: 36px;
      background: rgba(212, 0, 255, 0.12);
      border: 1px solid rgba(212, 0, 255, 0.28);
      border-radius: 50%;
      color: #B89FCC;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.15s;
      line-height: 1;
    }
    .mgo-legal-modal__close:hover { background: rgba(212,0,255,0.26); color: #D400FF; }
    .mgo-legal-modal__box h2 {
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.55rem;
      color: #D400FF;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(212,0,255,0.22);
    }
    .mgo-legal-modal__box h3 {
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.05rem;
      color: #FFD700;
      margin: 20px 0 8px;
    }
    .mgo-legal-modal__box p { font-size: 0.875rem; color: #B89FCC; line-height: 1.72; margin-bottom: 12px; }
    .mgo-legal-modal__box ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
    .mgo-legal-modal__box li { font-size: 0.875rem; color: #B89FCC; line-height: 1.7; margin-bottom: 7px; }
    .mgo-legal-modal__box a { color: #D400FF; }

    /* Responsive */
    @media (max-width: 600px) {
      .mgo-glass-card { padding: 28px 20px; }
      .mgo-hero-magic::before { width: 300px; height: 300px; filter: blur(75px); }
      .mgo-hero-magic::after  { width: 260px; height: 260px; filter: blur(75px); }
      .mgo-hero-gold-orb { width: 180px; height: 180px; }
      .mgo-legal-modal__box { padding: 28px 18px; }
    }