/* ===== NOTONGAMBAN.UK — Main Stylesheet ===== */
/* Design system matching notongamcare.uk structure */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Soft text selection — replace harsh white highlight */
::selection      { background: rgba(230,57,70,0.3); color: #fff; }
::-moz-selection { background: rgba(230,57,70,0.3); color: #fff; }

:root {
  /* Brand */
  --primary: #ef4351;
  --primary-dark: #c1121f;
  --primary-light: #ff7a85;
  --secondary: #1d3557;
  --accent: #457b9d;
  --accent-light: #a8dadc;
  --gold: #f6c66a;
  --gold-deep: #c89a3b;
  --gold-light: #ffe5a1;
  --success: #22c55e;
  --warning: #f59e0b;

  /* Surfaces — deeper, richer */
  --bg: #0a1018;
  --bg-card: #141e2a;
  --bg-card-hover: #1a2737;
  --bg-surface: #0f1722;
  --bg-elevated: #182433;

  /* Text */
  --text: #e8eaed;
  --text-muted: #97a3b0;
  --text-faint: rgba(255,255,255,0.5);
  --text-heading: #ffffff;

  /* Borders */
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);

  /* Premium gradients */
  --grad-primary: linear-gradient(135deg, #ff5d6a 0%, #c1121f 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(239,67,81,0.18), rgba(193,18,31,0.06));
  --grad-gold: linear-gradient(135deg, #ffe5a1 0%, #f6c66a 45%, #c89a3b 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(246,198,106,0.16), rgba(200,154,59,0.06));
  --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  --grad-card-border: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);

  /* Elevation system — layered, soft */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.25);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.15);
  --shadow:    0 8px 24px rgba(0,0,0,0.32), 0 2px 4px rgba(0,0,0,0.18);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.48), 0 8px 20px rgba(0,0,0,0.25);
  --shadow-red: 0 12px 36px rgba(239,67,81,0.28), 0 4px 12px rgba(239,67,81,0.14);
  --shadow-gold: 0 12px 36px rgba(246,198,106,0.22), 0 4px 12px rgba(246,198,106,0.10);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Layout */
  --max-width: 1200px;
  --transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: .45s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
  position: relative;
}

/* Subtle grain texture overlay for premium feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-weight: 900; letter-spacing: -0.03em; }
h2 { letter-spacing: -0.025em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Header / Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 16, 24, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-logo span {
  color: var(--primary);
  margin-left: -0.04em;
}

.navbar-logo-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(230,57,70,0.35));
  transition: transform 0.4s ease, filter 0.3s ease;
}

.navbar-logo:hover .navbar-logo-icon {
  transform: rotate(15deg) scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(230,57,70,0.6));
}

/* Smaller in footer */
.footer-brand .navbar-logo-icon { width: 30px; height: 30px; }

.nav-links { display: flex; gap: 6px; list-style: none; }

.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.04);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 25, 35, .98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 0;
  z-index: 999;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .7rem;
  color: var(--text-muted);
  padding: 6px 0;
  flex: 1;
}

.mobile-nav a.active { color: var(--primary); }

.mobile-nav-inner { display: flex; justify-content: space-around; }

/* --- Hero Animations --- */
@keyframes hero-badge-in {
  from { opacity: 0; transform: translateY(-18px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-up-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes red-shimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes aurora-drift {
  0%   { transform: translate(-50%,-50%) rotate(0deg)   scale(1); }
  50%  { transform: translate(-45%,-55%) rotate(180deg) scale(1.25); }
  100% { transform: translate(-50%,-50%) rotate(360deg) scale(1); }
}
@keyframes aurora-counter {
  0%   { transform: translate(-50%,-50%) rotate(0deg)    scale(1.1); }
  50%  { transform: translate(-55%,-45%) rotate(-180deg) scale(0.95); }
  100% { transform: translate(-50%,-50%) rotate(-360deg) scale(1.1); }
}
@keyframes spotlight {
  0%,100% { opacity: 0.6; }
  50%     { opacity: 1; }
}
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
  50%     { box-shadow: 0 0 0 8px rgba(230,57,70,0.18); }
}

/* --- Hero Section (aurora style) --- */
.hero {
  padding: 120px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, transparent 0%, rgba(10,16,24,0.8) 100%),
    var(--bg);
}

/* Aurora layer 1 — slow rotating multi-colour blur */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background:
    radial-gradient(at 25% 30%, rgba(230,57,70,0.30),  transparent 45%),
    radial-gradient(at 75% 40%, rgba(251,191,36,0.13), transparent 50%),
    radial-gradient(at 50% 80%, rgba(69,123,157,0.22), transparent 55%);
  filter: blur(55px);
  animation: aurora-drift 24s ease-in-out infinite;
  pointer-events: none;
}

/* Aurora layer 2 — counter-rotating accent */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background:
    radial-gradient(at 65% 25%, rgba(230,57,70,0.18),  transparent 45%),
    radial-gradient(at 30% 70%, rgba(251,191,36,0.11), transparent 50%),
    radial-gradient(at 80% 75%, rgba(139,92,246,0.10), transparent 50%);
  filter: blur(70px);
  animation: aurora-counter 32s ease-in-out infinite;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Soft vignette around the title — pulsing spotlight */
.hero > .container::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  animation: spotlight 5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.4);
  padding: 7px 20px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: hero-badge-in 0.6s ease both;
  box-shadow: 0 0 20px rgba(230,57,70,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 900;
  max-width: 860px;
  margin: 0 auto 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: hero-title-in 0.7s 0.15s ease both;
}

.hero-h1-sub {
  display: block;
  font-size: 0.72em;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
  margin-top: 6px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a93 50%, var(--primary) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: red-shimmer 3.5s 0.8s ease-in-out infinite;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.8;
  animation: hero-up-in 0.6s 0.3s ease both;
}

.hero-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.hero-author-info { text-align: left; }
.hero-author-info strong { color: #fff; font-size: .9rem; }
.hero-author-info span { display: block; font-size: .8rem; color: var(--text-muted); }

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: hero-up-in 0.6s 0.5s ease both;
}
.hero-buttons .btn-primary {
  animation: cta-pulse 3s 1.2s ease-in-out infinite;
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  animation: hero-up-in 0.6s 0.65s ease both;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 10px 28px;
  display: inline-flex;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
}
.hero-trust-val {
  font-size: .85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.hero-trust-label {
  font-size: .78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.hero-trust-div {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Scroll indicator */
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bob 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-primary);
  color: #fff;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 48px rgba(239,67,81,0.42), 0 6px 16px rgba(239,67,81,0.22), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-author { animation: hero-fade-in 0.6s 0.42s ease both; }

/* --- Warning Banner --- */
.warning-banner {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding: 22px 26px;
  background:
    linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(245,158,11,0.03) 100%),
    var(--bg-card);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.warning-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--warning) 0%, rgba(245,158,11,0.3) 100%);
}

.warning-banner strong { color: var(--warning); font-weight: 700; }
.warning-banner a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }

/* --- Casino Cards Section --- */
.section { padding: 80px 20px; }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
/* Refined gradient underline accent */
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(239,67,81,0.4);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 30px auto 48px;
  max-width: 640px;
  text-align: center;
  line-height: 1.7;
}

/* Casino Card */
.casino-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.casino-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.casino-card:hover {
  border-color: rgba(239,67,81,0.55);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red), var(--shadow-lg);
}

/* Top pick — premium gold treatment with ribbon */
.casino-card:has(.badge-top) {
  border-color: rgba(246,198,106,0.35);
  background:
    linear-gradient(180deg, rgba(246,198,106,0.04) 0%, rgba(255,255,255,0) 35%),
    var(--bg-card);
  box-shadow: 0 0 0 1px rgba(246,198,106,0.22), var(--shadow-gold);
}
.casino-card:has(.badge-top)::after {
  content: 'TOP PICK';
  position: absolute;
  top: 14px;
  right: -40px;
  width: 140px;
  text-align: center;
  background: var(--grad-gold);
  color: #2a1d05;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 5px 0;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  z-index: 2;
  pointer-events: none;
}
.casino-card:has(.badge-top):hover {
  border-color: rgba(246,198,106,0.6);
  box-shadow: 0 0 0 1px rgba(246,198,106,0.5), 0 20px 56px rgba(246,198,106,0.22), var(--shadow-lg);
}
/* Hide the badge-top pill since we have the ribbon now */
.casino-card:has(.badge-top) .badge-top { display: none; }

/* PLAY button — pulsing glow */
@keyframes play-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50%     { box-shadow: 0 0 0 6px rgba(34,197,94,0.16); }
}
.btn-play, .btn-play-full { animation: play-pulse 2.6s ease-in-out infinite; }
.btn-play:hover, .btn-play-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,0.4);
}

.casino-card-main {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
}

.casino-logo {
  width: 120px;
  height: 80px;
  object-fit: fill;
  border-radius: var(--radius-sm);
  display: block;
}

.casino-info { flex: 1; }

.casino-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-top { background: var(--grad-primary); color: #fff; box-shadow: 0 2px 8px rgba(239,67,81,0.35); }
.badge-bonus {
  background: linear-gradient(135deg, rgba(34,197,94,0.22), rgba(34,197,94,0.08));
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.35);
}
.badge-licensed {
  background: linear-gradient(135deg, rgba(168,218,220,0.16), rgba(69,123,157,0.06));
  color: var(--accent-light);
  border: 1px solid rgba(168,218,220,0.3);
}

.casino-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.005em;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.casino-card:hover .tag {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}

.casino-bonus {
  font-size: .88rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}

.casino-terms {
  font-size: .75rem;
  color: var(--text-muted);
  font-style: italic;
}

.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.casino-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

/* Pulsing stars */
@keyframes star-pulse {
  0%,100% { text-shadow: 0 0 4px rgba(251,191,36,0.5), 0 0 10px rgba(251,191,36,0.3); }
  50%      { text-shadow: 0 0 10px rgba(251,191,36,1), 0 0 22px rgba(251,191,36,0.7), 0 0 40px rgba(251,191,36,0.3); }
}
.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  animation: star-pulse 2s ease-in-out infinite;
}

.rating-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(246,198,106,0.3));
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #2ed975 0%, #16a34a 100%);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(34,197,94,0.32), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-play:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 32px rgba(34,197,94,0.48), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-play:hover::before { transform: translateX(100%); }

.btn-more-info {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .82rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition);
}

.btn-more-info:hover { color: #fff; }

.casino-age { font-size: .72rem; color: var(--text-muted); }

.casino-lock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--text-muted);
}

/* Expandable Details */
.casino-details {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.casino-details.open { display: block; }

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

.detail-block {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.detail-block h4 {
  font-size: .9rem;
  margin-bottom: 12px;
  color: #fff;
}

.detail-block ul {
  list-style: none;
  padding: 0;
}

.detail-block li {
  padding: 4px 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.detail-block li::before {
  content: '✓ ';
  color: var(--success);
}

.detail-preview {
  grid-column: 1 / -1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 4px;
}
.preview-bar {
  background: var(--bg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 5px; flex-shrink: 0; }
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: block;
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  padding: 4px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  font-size: .78rem;
  color: var(--text-muted);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.detail-meta-item { text-align: center; }
.detail-meta-item span { display: block; font-size: .72rem; color: var(--text-muted); }
.detail-meta-item strong { display: block; font-size: .85rem; color: #fff; }

.btn-play-full {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--success);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all var(--transition);
}

.btn-play-full:hover { background: #16a34a; color: #fff; }

.detail-terms {
  text-align: center;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Info Content --- */
.content-section {
  padding: 60px 20px;
}

.content-section .container { max-width: 860px; }

.content-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

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

.content-section ul, .content-section ol {
  margin: 12px 0 20px 20px;
  color: var(--text-muted);
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.info-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,67,81,0.5), transparent);
  pointer-events: none;
}

.info-box h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

/* --- How We Review --- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.review-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.review-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(239,67,81,0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239,67,81,0.3);
  box-shadow: var(--shadow);
}
.review-card:hover::before { opacity: 1; }

.review-card-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239,67,81,0.18) 0%, rgba(239,67,81,0.06) 100%);
  border: 1px solid rgba(239,67,81,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.review-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Guide Cards --- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.guide-card {
  display: block;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.guide-card:hover {
  border-color: rgba(239,67,81,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red), var(--shadow-lg);
}
.guide-card:hover::before { opacity: 1; }
.guide-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(239,67,81,0.08);
  border: 1px solid rgba(239,67,81,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.guide-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #fff;
}

.guide-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.guide-card .link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}

/* --- FAQ --- */
.faq-section { padding: 60px 20px; }

.faq-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  border-color: rgba(239,67,81,0.25);
  box-shadow: var(--shadow-sm);
}
.faq-item.open {
  border-color: rgba(239,67,81,0.4);
  box-shadow: 0 0 0 1px rgba(239,67,81,0.18), var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform .3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

/* --- Footer --- */
.footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(239,67,81,0.06) 0%, transparent 60%),
    var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 20px 24px;
  margin-top: 48px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,67,81,0.4), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-18 {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.footer h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: .85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-warning {
  background: rgba(245, 158, 11, .06);
  border: 1px solid rgba(245, 158, 11, .2);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-warning strong { color: var(--warning); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
}

/* --- Responsible Gambling Emphasis --- */
.rg-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  padding: 12px 0;
}

.rg-note a { text-decoration: underline; }

/* --- Page Hero (for inner pages) — aurora-lite --- */
.page-hero {
  padding: 72px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  background:
    radial-gradient(at 30% 40%, rgba(230,57,70,0.16),  transparent 50%),
    radial-gradient(at 70% 60%, rgba(251,191,36,0.08), transparent 55%);
  filter: blur(50px);
  animation: aurora-drift 28s ease-in-out infinite;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .hero-badge { animation: hero-badge-in 0.6s ease both; }

.page-hero-icon {
  width: 110px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(230,57,70,0.35));
  animation: hero-badge-in 0.7s ease both, gentle-float 6s 1s ease-in-out infinite;
}

@keyframes gentle-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  animation: hero-title-in 0.7s 0.15s ease both;
}

@media (max-width: 480px) {
  .page-hero-icon { width: 80px; margin-bottom: 14px; }
}

.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8a93 50%, var(--primary) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: red-shimmer 3.5s 0.8s ease-in-out infinite;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  animation: hero-up-in 0.6s 0.3s ease both;
}

/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .casino-details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .casino-details-grid { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  body { padding-bottom: 64px; }

  .hero {
    padding: 60px 16px 48px;
    min-height: unset;
  }
  .hero h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero p { font-size: 1rem; }

  .page-hero { padding: 52px 16px 40px; }

  .section { padding: 40px 16px; }
  .faq-section { padding: 40px 16px; }
  .content-section { padding: 40px 16px; }

  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: .9rem; margin-bottom: 28px; }

  /* Casino card restack */
  .casino-card-main {
    grid-template-columns: 92px 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    align-items: start;
  }
  .casino-logo {
    width: 92px;
    height: 64px;
    grid-row: 1;
    grid-column: 1;
    padding: 6px;
  }
  .casino-cta {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    align-items: stretch;
    text-align: right;
    gap: 4px;
  }
  .casino-cta .casino-name { font-size: 1rem; text-align: right; }
  .casino-cta .rating-number { font-size: 1.05rem; }
  .casino-cta .stars { font-size: .85rem; }
  .casino-info {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .btn-play {
    padding: 10px 16px;
    font-size: .82rem;
    width: 100%;
  }
  .casino-card { padding: 16px; }

  .guide-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .info-box { padding: 20px; }
  .review-card { padding: 22px; }
  .guide-card { padding: 20px; }

  .faq-question { padding: 16px 18px; font-size: .9rem; }
  .faq-answer { padding: 0 18px 18px; font-size: .85rem; }

  .warning-banner {
    padding: 16px 18px;
    font-size: .82rem;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .hero {
    padding: 40px 14px 32px;
  }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: .95rem; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 22px;
    font-size: .9rem;
  }

  .page-hero { padding: 40px 14px 32px; }
  .page-hero h1 { font-size: 1.45rem; }

  .section { padding: 32px 14px; }
  .faq-section { padding: 32px 14px; }
  .content-section { padding: 32px 14px; }

  .section-title { font-size: 1.25rem; }

  /* Casino card — even tighter */
  .casino-card { padding: 14px; }
  .casino-card-main {
    grid-template-columns: 76px 1fr;
    gap: 10px;
  }
  .casino-logo { width: 76px; height: 54px; padding: 4px; }
  .casino-cta .casino-name { font-size: .9rem; }
  .casino-cta .rating-number { font-size: .95rem; }
  .casino-tags { gap: 4px; }
  .tag, .badge { font-size: .68rem; padding: 2px 8px; }
  .casino-bonus { font-size: .82rem; }
  .casino-terms { display: none; }
  .btn-play { padding: 9px 12px; font-size: .78rem; min-height: 36px; }
  .btn-more-info { font-size: .76rem; padding: 2px; }
  .casino-age { font-size: .68rem; }

  .info-box { padding: 16px; }
  .info-box h3 { font-size: 1rem; }
  .review-card { padding: 18px; }
  .review-card h3 { font-size: .95rem; }
  .review-card p { font-size: .82rem; }

  .guide-card { padding: 16px; }
  .guide-card h3 { font-size: .95rem; }
  .guide-card p { font-size: .8rem; }

  .faq-question { padding: 14px 16px; font-size: .85rem; }
  .faq-answer { padding: 0 16px 16px; font-size: .82rem; }

  .footer { padding: 40px 14px 16px; }
  .footer-warning { padding: 16px; font-size: .76rem; }

  .warning-banner { padding: 14px 16px; font-size: .78rem; }

  /* Mobile bottom-nav text smaller */
  .mobile-nav a { font-size: .65rem; padding: 5px 0; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .casino-card-main { grid-template-columns: 64px 1fr; }
  .casino-logo { width: 64px; height: 46px; padding: 3px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-stat strong { font-size: 1.25rem; }
  .section-title { font-size: 1.15rem; }
}

/* ===== Author Profile Card ===== */
.about-author-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.author-profile-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 32px;
}

.author-profile-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.author-profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(239,67,81,0.12), 0 12px 36px rgba(0,0,0,0.4);
}

.author-profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.author-profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.author-profile-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.author-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-badge {
  background: rgba(239,67,81,0.08);
  border: 1px solid rgba(239,67,81,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.author-profile-body p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 14px;
}

.author-profile-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.expertise-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .author-profile-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
  .author-profile-img-wrap { flex-direction: row; align-items: center; gap: 20px; }
  .author-profile-img { width: 100px; height: 100px; }
  .author-profile-header { flex-direction: column; gap: 12px; }
}

/* ===== Warning Modal ===== */
.warn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.warn-overlay[hidden] { display: none; }
.warn-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.warn-close {
  position: absolute;
  top: 14px; right: 16px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  display: flex; align-items: center; justify-content: center;
}
.warn-close:hover { background: #e0e0e0; }
.warn-icon { font-size: 48px; margin-bottom: 12px; }
.warn-title { font-size: 1.4rem; font-weight: 800; color: #ef4351; margin: 0 0 16px; }
.warn-body p { font-size: 0.92rem; color: #444; line-height: 1.65; margin-bottom: 10px; }
.warn-body a { color: #ef4351; text-decoration: underline; }
.warn-name { color: #ef4351; font-weight: 700; }
.warn-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity 0.15s;
}
.warn-btn:hover { opacity: 0.88; }
.warn-btn-back     { background: #ef4351; color: #fff; }
.warn-btn-continue { background: #6b46ff; color: #fff; }

/* ===== Mobile Optimisations ===== */

/* 1. Disable GPU-heavy animations on mobile — preserves battery & scroll performance */
@media (max-width: 768px) {
  body::before { display: none; }
  .hero::before, .hero::after { animation: none; filter: none; }
  .stars { animation: none; }
  .btn-play, .btn-play-full, .hero-buttons .btn-primary { animation: none; }
  .page-hero-icon { animation: hero-badge-in 0.5s ease both; }
}

/* 2. Respect OS preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3. iPhone X / notch safe-area insets */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  @media (max-width: 768px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  }
}

/* 4. Hamburger → X animation */
.hamburger span { transition: transform .25s ease, opacity .2s ease, width .2s ease; }
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 5. Fix touch targets — minimum 44 × 44 px for interactive elements */
@media (max-width: 768px) {
  .btn-more-info {
    min-height: 40px;
    padding: 8px 14px;
    font-size: .85rem;
    width: 100%;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }
  .btn-more-info:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .btn-play { min-height: 44px; padding: 12px 16px; }
  .faq-question { min-height: 52px; }
  .hamburger { padding: 10px; margin: -10px; }
}

/* 6. Casino card CTA — left-align on phone, fix cramped text */
@media (max-width: 480px) {
  .casino-cta {
    text-align: left;
    align-items: flex-start;
  }
  .casino-cta .casino-name { text-align: left; }

  /* Hero badge — prevent overflow on narrow viewports */
  .hero-badge {
    font-size: .68rem;
    padding: 5px 14px;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero — even more compact on phone */
  .hero { padding: 36px 14px 28px; }
  .hero p { margin-bottom: 20px; }
  .hero-buttons { margin-bottom: 0; }
}

/* 7. Warning modal — tighter padding on small screens */
@media (max-width: 480px) {
  .warn-modal {
    padding: 32px 20px 24px;
    border-radius: 14px;
  }
  .warn-icon { font-size: 40px; margin-bottom: 8px; }
  .warn-title { font-size: 1.2rem; }
  .warn-body p { font-size: .88rem; }
  .warn-btn { padding: 11px; font-size: .9rem; }
}

/* 8. Very small phones (360px–) */
@media (max-width: 360px) {
  .hero-badge { font-size: .62rem; padding: 4px 12px; }
  .casino-cta .casino-name { font-size: .82rem; }
  .btn-play { font-size: .72rem; min-height: 40px; }
  .mobile-nav a { font-size: .6rem; }
}
