/* ==========================================================================
   main.css — Casino Review Homepage
   Style: Light page, dark+neon accents, "dark on white" aesthetic
   Font: Inter (loaded via Google Fonts in HTML)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg:        #ffffff;
  --bg-2:      #f4f6fb;
  --surface:   #ffffff;

  /* Borders */
  --line:      #e7ebf3;
  --line-2:    #d7deec;

  /* Typography */
  --text:      #0f1525;
  --muted:     #5b6680;
  --muted-2:   #9aa3ba;

  /* Accent colours */
  --accent:    #7c3aed;   /* violet */
  --accent-2:  #06b6d4;   /* cyan   */
  --lime:      #c6f000;
  --gold:      #f0a500;
  --good:      #0fb87a;
  --bad:       #ef4444;

  /* Radii */
  --radius:    18px;
  --radius-sm: 12px;

  /* Shadows */
  --shadow:    0 24px 50px -28px rgba(31,41,89,.35);
  --shadow-sm: 0 10px 30px -18px rgba(31,41,89,.30);

  /* Button gradient */
  --grad-lime: linear-gradient(180deg,#d7ff2e,#c6f000 60%,#a9cf00);
}


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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 60px 0;
}

/* Section heading block */
.sec-head {
  text-align: center;
  margin-bottom: 28px;
}

.sec-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.sec-head p {
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
}

/* Accent pill / chip */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(124,58,237,.10);
  border: 1px solid rgba(124,58,237,.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

#list .pill {
  margin-bottom: 0;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 44px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #9d5af0 0%, #7c3aed 62%, #5b21b6 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px -8px rgba(124,58,237,.62);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #a855f7 0%, #7c3aed 58%, #4c1d95 100%);
  box-shadow: 0 10px 26px -8px rgba(124,58,237,.72);
  filter: none;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   5. HEADER / NAVIGATION
   ========================================================================== */

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  height: 82px;
  gap: 32px;
  position: relative;
}

/* Brand logo mark */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 56px;
  width: auto;
  display: block;
}

.brand .crown {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand b {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Dropdown nav menu */
.menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(330px, calc(100vw - 48px));
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 120;
}

.menu.open {
  display: flex;
}

.menu li {
  width: 100%;
}

.menu li a {
  display: block;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: color .15s, background .15s;
}

.menu li a:hover {
  color: var(--text);
  background: var(--bg-2);
}

.menu li.active a {
  color: var(--accent);
}

/* Grouped menu sections */
.menu-group {
  width: 100%;
}
.menu-group + .menu-group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.menu-group > .menu-h {
  display: block;
  padding: 8px 12px 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.menu-group > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header CTA */
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Header menu button */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  border: 1.5px solid var(--line);
  margin-left: auto;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}


/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(ellipse 72% 62% at 64% 38%, rgba(124,58,237,.18) 0%, rgba(124,58,237,.08) 42%, transparent 72%),
    radial-gradient(ellipse 54% 54% at 18% 78%, rgba(6,182,212,.16) 0%, rgba(6,182,212,.07) 48%, transparent 66%),
    linear-gradient(175deg, #e5e8ff 0%, #f5f8ff 52%, #effdfb 100%);
}

/* Canvas overlay for animated particles */
#hero-canvas,
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Two-column hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero heading */
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}

.hero h1 .grad {
  background: linear-gradient(95deg, #7c3aed 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.65;
}

/* Author chip */
.author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.82rem;
  margin-top: 20px;
}

.author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author .n {
  font-weight: 700;
  color: var(--text);
}

.author .u {
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* Right-hand visual wrapper */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   7. SLOT MACHINE WIDGET
   ========================================================================== */

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

.slot {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: linear-gradient(160deg, #1a0a3a 0%, #0d0720 60%, #0a0518 100%);
  border: 1.5px solid #7c3aed;
  border-radius: 24px;
  padding: 18px;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(124,58,237,.25),
    0 8px 40px -8px rgba(124,58,237,.60),
    0 32px 64px -20px rgba(0,0,0,.60);
}

/* Dashed gold inset border */
.slot::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(240,165,0,.35);
  border-radius: 18px;
  pointer-events: none;
}

.slot__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.slot__logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #f0a500, #ffd760);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slot__jackpot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(198,240,0,.15);
  border: 1px solid rgba(198,240,0,.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c6f000;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  animation: blink 2s ease-in-out infinite;
}

/* Reels grid */
.slot__reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0,0,0,.35);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 14px;
}

.reel {
  position: relative;
  height: 108px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,.18),
    inset 0 -2px 8px rgba(0,0,0,.12);
}

/* Top fade overlay */
.reel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Bottom fade overlay */
.reel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(0deg, rgba(255,255,255,.95), transparent);
  z-index: 2;
  pointer-events: none;
}

.reel__strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel__strip .sym {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Slot bottom info bar */
.slot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slot__win {
  font-size: 0.8rem;
  color: rgba(255,255,255,.65);
  line-height: 1.3;
}

.slot__win b {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.slot__spin {
  background: var(--grad-lime);
  color: #10210a;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  border-radius: 10px;
  padding: 0 20px;
  height: 42px;
  cursor: pointer;
  transition: filter .15s, transform .15s;
  box-shadow: 0 4px 16px -4px rgba(166,209,0,.50);
  white-space: nowrap;
}

.slot__spin:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}


/* ==========================================================================
   8. CASINO LIST / RANKING CARDS
   ========================================================================== */

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card grid: brand | bullets | bonus */
.card {
  display: grid;
  grid-template-columns: minmax(205px, 1.05fr) minmax(220px, 1.15fr) minmax(245px, .95fr);
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Top card — violet glow */
.card.top {
  border: 0;
  box-shadow:
    0 0 24px -6px rgba(124,58,237,.75),
    0 16px 46px -14px rgba(124,58,237,.55),
    var(--shadow-sm);
}

.card.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 4px;
  border-radius: inherit;
  background: conic-gradient(from var(--spin-angle), #4c1d95, #a855f7, #f0abfc, #7c3aed, #22d3ee, #a855f7, #4c1d95);
  filter: drop-shadow(0 0 10px rgba(124,58,237,.75));
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: casino-border-spin 3.2s linear infinite;
}

@property --spin-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes casino-border-spin {
  to {
    --spin-angle: 360deg;
  }
}

/* Card cells — shared padding */
.casino-brand,
.bullets,
.bonus-area {
  min-width: 0;
  padding: 20px 16px;
}

/* Rank number */
.rank {
  position: absolute;
  top: 16px;
  left: 5px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgba(31,41,89,.45);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--muted-2);
  text-align: center;
  line-height: 1;
}

.card.top .rank {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(124,58,237,.18), 0 10px 22px -12px rgba(124,58,237,.65);
}

/* Brand cell */
.casino-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}

/* Logo box */
.logo {
  width: min(190px, 100%);
  aspect-ratio: 2 / 1;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.text-logo span {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
}

/* Logo gradient fallback variants */
.logo.l1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.logo.l2 { background: linear-gradient(135deg, #0d2137, #1a4e7e); }
.logo.l3 { background: linear-gradient(135deg, #1f0a3c, #3c1678); }
.logo.l4 { background: linear-gradient(135deg, #0a2c1a, #125631); }
.logo.l5 { background: linear-gradient(135deg, #2a0a0a, #7a1010); }

/* Rating cell */
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Progress bar track */
.bar {
  position: relative;
  width: min(132px, 100%);
  flex: 0 1 132px;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--w, 75%);
  background: linear-gradient(90deg, var(--lime), var(--accent-2));
  border-radius: 999px;
}

.score {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.rating b {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.rating .sm {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* Bullet points under rating */
.bullets {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.bullet {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.bullet::before {
  content: '\2713';
  width: 1em;
  color: var(--accent-2);
  font-size: 0.95em;
  font-weight: 900;
  line-height: 1.35;
  flex-shrink: 0;
}

/* Bonus cell */
.bonus-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.bonus {
  margin-bottom: 10px;
}

.bonus-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
}

.bonus .b1 {
  display: block;
  font-size: 1.0rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.bonus .b2 {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.terms {
  font-size: 0.7rem;
  color: var(--muted-2);
  line-height: 1.45;
}


/* ==========================================================================
   9. TRENDING SECTION
   ========================================================================== */

.trending {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tcard {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.tcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tcard .logo {
  width: 100px;
  height: 44px;
}

.tcard .tname {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.tcard .trate {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.tcard .badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.22);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ==========================================================================
   10. FEATURES GRID
   ========================================================================== */

.feat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fbox {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.fbox:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Gradient icon badge */
.ficon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.fbox h4 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 7px;
}

.fbox p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ==========================================================================
   11. PRO / CON SECTION
   ========================================================================== */

.procon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pc {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pc.pro {
  border-color: rgba(15,184,122,.40);
  box-shadow:
    0 0 0 1px rgba(15,184,122,.12),
    var(--shadow-sm);
}

.pc.pro h3 {
  color: var(--good);
}

.pc.con {
  border-color: rgba(239,68,68,.35);
  box-shadow:
    0 0 0 1px rgba(239,68,68,.10),
    var(--shadow-sm);
}

.pc.con h3 {
  color: var(--bad);
}

.pc h3 {
  font-size: 1.0rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pc li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}

.pc li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pc.pro li::before {
  content: '\2713';
  color: var(--good);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pc.con li::before {
  content: '\2717';
  color: var(--bad);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */

.faq-wrap {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(124,58,237,.15),
    var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text);
  gap: 12px;
  user-select: none;
}

.faq-q:hover {
  background: var(--bg-2);
}

.faq-q .ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .28s ease, border-color .2s, color .2s;
}

.faq-item.open .faq-q .ic {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .30s ease;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a div {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */

footer.site {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 54px 0 30px;
}

.fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.fcol h5 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.fcol a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color .15s;
}

.fcol a:hover {
  color: var(--accent);
}

.fcol p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* Footer bottom bar */
.fbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.fnote {
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.5;
}

/* 18+ age badge */
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}


/* ==========================================================================
   14. RESPONSIVE — 980px (tablet)
   ========================================================================== */

@media (max-width: 980px) {

  /* Hero: single column */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  /* Casino card: collapse to stacked layout */
  .card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "bullets"
      "bonus";
  }

  .rank {
    border: 0;
    writing-mode: horizontal-tb;
  }

  .casino-brand {
    grid-area: brand;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }

  .logo {
    width: min(280px, 100%);
  }

  .bullets {
    grid-area: bullets;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .bonus-area {
    grid-area: bonus;
  }

  /* 4-col grids become 2-col */
  .trending {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Procon becomes 1-col */
  .procon {
    grid-template-columns: 1fr;
  }

  /* Footer becomes 2-col */
  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================================
   15. RESPONSIVE — 680px (large mobile)
   ========================================================================== */

@media (max-width: 680px) {

  .nav {
    height: 72px;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    padding: 48px 0 52px;
  }

  /* Hide right-column visual / slot on mobile so list shows sooner */
  .hero-visual,
  .slot {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .read-more-btn {
    margin-top: 2px;
  }

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

  .rank {
    top: 12px;
    left: 12px;
  }

  .casino-brand {
    padding: 0;
  }

  .casino-brand .logo {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
  }

  .casino-brand .rating {
    padding: 0 16px 18px;
    justify-content: center;
  }

  .bullets {
    align-items: center;
    text-align: center;
  }

  .bullet {
    justify-content: center;
  }

  .bonus-area {
    text-align: center;
    align-items: center;
  }

  .bonus-area .btn {
    width: min(100%, 280px);
  }

  /* List section heading shrinks */
  #list .sec-head h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
}


/* ==========================================================================
   16. RESPONSIVE — 560px (small mobile)
   ========================================================================== */

@media (max-width: 560px) {

  /* All remaining multi-col grids collapse to 1-col */
  .trending {
    grid-template-columns: 1fr;
  }

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

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

  .rank {
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .bullets,
  .bonus-area {
    padding-inline: 14px;
  }

  .casino-brand .logo {
    width: 100%;
    max-width: none;
  }

  .fbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== Redesign additions for the static JanneCasinos homepage ===== */
.section.alt{background:var(--bg-2,#f4f6fb)}
.prose{max-width:100%}
.prose h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 .5em;letter-spacing:-.02em}
.prose h3{font-size:1.2rem;margin:1.4em 0 .4em;color:var(--text,#0f1525)}
.prose p{color:var(--muted,#5b6680);margin:0 0 1.1em;line-height:1.7}
.prose p:last-child{margin-bottom:0}
.casino-shot{margin:14px 0 20px;border:1px solid var(--line,#e7ebf3);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm,0 10px 30px -18px rgba(31,41,89,.3));background:#fff}
.casino-shot img{display:block;width:100%;aspect-ratio:16/8;object-fit:contain;object-position:center;background:#f4f6fb}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 4px}
.info-grid.compact{margin-top:18px}
.info-card{border:1px solid var(--line,#e7ebf3);border-radius:12px;background:#fff;padding:16px;box-shadow:var(--shadow-sm,0 10px 30px -18px rgba(31,41,89,.3))}
.info-card span{display:block;margin-bottom:8px;color:var(--accent,#7c3aed);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.info-card b{display:block;color:var(--text,#0f1525);font-size:1rem;line-height:1.25;margin-bottom:6px}
.info-card p{font-size:.86rem;line-height:1.55;margin:0;color:var(--muted,#5b6680)}
.note-panel{margin:22px 0 0;padding:18px 20px;border-left:4px solid var(--accent,#7c3aed);border-radius:0 12px 12px 0;background:linear-gradient(90deg,rgba(124,58,237,.09),rgba(6,182,212,.05))}
.note-panel b,.check-panel b{display:block;margin-bottom:6px;color:var(--text,#0f1525);font-size:1rem}
.note-panel p{margin:0;color:var(--muted,#5b6680)}
.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:4px 0 24px}
.metric-row div{padding:16px;border:1px solid rgba(124,58,237,.18);border-radius:12px;background:linear-gradient(180deg,#fff,#f7f5ff)}
.metric-row span{display:block;color:var(--accent,#7c3aed);font-size:1.45rem;font-weight:900;line-height:1}
.metric-row p{margin:8px 0 0;font-size:.84rem;line-height:1.45}
.check-panel{margin:22px 0 0;padding:18px 20px;border:1px solid var(--line,#e7ebf3);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm,0 10px 30px -18px rgba(31,41,89,.3))}
.check-panel ul{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.check-panel li{position:relative;padding-left:20px;color:var(--muted,#5b6680);line-height:1.55}
.check-panel li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--accent,#7c3aed)}
.payment-list{display:grid;gap:10px;margin-top:18px}
.payment-list div{display:grid;grid-template-columns:190px 1fr;gap:14px;padding:14px 16px;border:1px solid var(--line,#e7ebf3);border-radius:10px;background:#fff}
.payment-list b{color:var(--text,#0f1525)}
.payment-list span{color:var(--muted,#5b6680);line-height:1.45}

/* comparison table */
table.cmp{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line,#e7ebf3);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm,0 10px 30px -18px rgba(31,41,89,.3))}
table.cmp th,table.cmp td{padding:14px 16px;text-align:left;font-size:.92rem;border-bottom:1px solid var(--line,#e7ebf3);vertical-align:middle}
table.cmp thead th{background:var(--bg-2,#f4f6fb);font-weight:800;color:var(--text,#0f1525);text-transform:uppercase;font-size:.72rem;letter-spacing:.08em}
table.cmp tbody tr:last-child td{border-bottom:0}
table.cmp td b{color:var(--accent,#7c3aed)}
table.cmp .btn{padding:8px 16px;font-size:.82rem}

/* responsible-gaming logos */
.rg-logos{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.rg-logos a{display:inline-flex;border-radius:8px;transition:transform .16s,filter .16s}
.rg-logos a:hover{transform:translateY(-1px);filter:brightness(1.04)}
.rg-logos img{height:40px;width:auto;background:#fff;border:1px solid var(--line,#e7ebf3);border-radius:8px;padding:5px}

/* mobile nav toggle */
@media(max-width:980px){
  .menu.open{display:flex;position:absolute;top:100%;left:24px;right:24px;width:auto;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line,#e7ebf3);padding:8px 16px 16px;box-shadow:var(--shadow-sm,0 10px 30px -18px rgba(31,41,89,.3))}
  .menu.open li{padding:8px 0}
  header.site .nav{position:relative}
  .info-grid,.metric-row{grid-template-columns:1fr}
  .payment-list div{grid-template-columns:1fr;gap:6px}
}

/* hero lead clamp + read more */
.lead-wrap{max-width:46ch}
.lead-clamp{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lead-clamp.expanded{display:block;-webkit-line-clamp:unset;overflow:visible}
.read-more-btn{margin-top:8px;background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-weight:700;font-size:.9rem;color:var(--accent,#7c3aed)}
.read-more-btn:hover{text-decoration:underline}

body.has-sticky-promo{padding-bottom:92px}
.sticky-promo{position:fixed;left:16px;right:16px;bottom:16px;z-index:150;display:flex;align-items:center;justify-content:center;gap:16px;max-width:1120px;margin:0 auto;padding:14px 58px 14px 18px;background:rgba(255,255,255,.96);border:1px solid rgba(124,58,237,.24);border-radius:14px;box-shadow:0 18px 50px -22px rgba(31,41,89,.55),0 0 28px -16px rgba(124,58,237,.7);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.sticky-promo.is-hidden{display:none}
.sticky-promo p{margin:0;color:var(--text,#0f1525);font-size:.95rem;font-weight:700;line-height:1.35;text-align:center}
.sticky-promo__cta{height:40px;padding:0 18px;font-size:.82rem;flex-shrink:0}
.sticky-promo__close{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(124,58,237,.10);color:var(--accent,#7c3aed);font-size:1.35rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.sticky-promo__close:hover{background:rgba(124,58,237,.18)}

@media(max-width:680px){
  body.has-sticky-promo{padding-bottom:164px}
  .sticky-promo{left:10px;right:10px;bottom:10px;flex-direction:column;gap:10px;padding:16px 46px 16px 16px;align-items:stretch}
  .sticky-promo p{text-align:left;font-size:.88rem}
  .sticky-promo__cta{width:100%;height:42px}
}

/* ===== Sports betting slip (replaces the slot on sports pages) ===== */
.betslip{position:relative;width:100%;max-width:420px;margin:0 auto;border-radius:24px;padding:20px;color:#fff;
  background:linear-gradient(180deg,#241038,#160a26);
  border:1px solid rgba(124,58,237,.45);
  box-shadow:0 0 0 4px rgba(124,58,237,.1),0 0 38px rgba(124,58,237,.35),0 34px 60px -26px rgba(20,10,40,.7)}
.betslip__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.betslip__brand{font-weight:900;letter-spacing:.03em;font-size:1.05rem;background:linear-gradient(180deg,#ffe79a,#f0a500);-webkit-background-clip:text;background-clip:text;color:transparent}
.betslip__live{font-size:.64rem;font-weight:800;letter-spacing:.12em;color:#10210a;background:linear-gradient(180deg,#d7ff2e,#c6f000);padding:4px 9px;border-radius:999px;animation:crwn-blink 1.1s steps(2,end) infinite}
.betslip__match{background:#0c0718;border:1px solid rgba(255,215,107,.22);border-radius:16px;padding:16px;margin-bottom:14px}
.betslip__teams{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.betslip__teams span:first-child{font-weight:800;font-size:1.05rem}
.betslip__vs{font-size:.7rem;color:#cdb6ff;text-transform:uppercase;letter-spacing:.08em}
.betslip__q{margin:10px 0 14px;font-size:.92rem;color:#e9edfb;line-height:1.4}
.betslip__options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bet-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-weight:700;font-size:.92rem;
  color:#fff;background:rgba(255,255,255,.05);border:1.5px solid rgba(124,58,237,.4);border-radius:12px;padding:12px 14px;transition:.15s}
.bet-opt b{font-family:inherit;font-size:1.05rem;color:#d7ff2e}
.bet-opt:hover{border-color:#7c3aed;background:rgba(124,58,237,.16)}
.bet-opt.is-active{border-color:#c6f000;background:rgba(198,240,0,.14);box-shadow:0 0 0 2px rgba(198,240,0,.25)}
.betslip__calc{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.betslip__calc label{font-size:.7rem;color:#cdb6ff;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.betslip__stake{display:flex;align-items:center;gap:4px;margin-top:6px;background:#0c0718;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 12px}
.betslip__stake span{color:#9aa3ba;font-weight:700}
.betslip__stake input{width:74px;background:none;border:0;color:#fff;font-size:1.1rem;font-weight:800;font-family:inherit;outline:none}
.betslip__payout{text-align:right;font-size:.7rem;color:#cdb6ff;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.betslip__payout b{display:block;font-size:1.5rem;color:#fff;font-weight:900;margin-top:4px}
.betslip__send{width:100%;border:0;cursor:pointer;font-weight:900;letter-spacing:.03em;font-size:1rem;color:#10210a;padding:14px;border-radius:12px;
  background:linear-gradient(180deg,#d7ff2e,#c6f000 60%,#a9cf00);box-shadow:0 10px 22px -8px rgba(150,200,0,.7);transition:transform .12s}
.betslip__send:active{transform:scale(.97)}
.betslip__done{margin-top:12px;text-align:center;font-weight:800;color:#10210a;background:linear-gradient(180deg,#d7ff2e,#c6f000);border-radius:12px;padding:12px;animation:crwn-blink .9s steps(2,end) 3}
@media(max-width:680px){.betslip{display:none}}

/* Animated rating fill (bar + number count-up driven by JS on scroll into view) */
.rating b{font-variant-numeric:tabular-nums}

/* Tournament timeline (Coupe du Monde calendrier) */
.timeline{position:relative;margin-top:10px;padding-left:6px}
.timeline::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,var(--accent,#7c3aed),var(--accent-2,#06b6d4))}
.tl-item{position:relative;padding:0 0 22px 30px}
.tl-item:last-child{padding-bottom:0}
.tl-item::before{content:"";position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--accent,#7c3aed);box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.tl-item.tl-final::before{background:var(--lime,#c6f000);border-color:var(--lime,#c6f000);box-shadow:0 0 0 4px rgba(198,240,0,.2)}
.tl-date{font-weight:800;color:var(--accent,#7c3aed);font-size:.85rem;margin-bottom:2px}
.tl-body b{display:block;font-size:1.05rem;color:var(--text,#0f1525);margin-bottom:3px}
.tl-body p{color:var(--muted,#5b6680);margin:0;font-size:.92rem;line-height:1.55}
.team-grid .info-card span{font-size:.72rem}
