/* ==========================================================================
   UK Ranking Hub — Premium Casino Aggregator Styles
   ========================================================================== */

:root {
  --bg-void: #07030f;
  --bg-deep: #0e0620;
  --bg-panel: #150a2b;
  --bg-panel-light: #1d0f3a;
  --neon-purple: #b026ff;
  --neon-purple-soft: #7c2ae8;
  --neon-pink: #ff2ec4;
  --neon-gold: #ffc93c;
  --neon-gold-soft: #ffe27a;
  --neon-green: #17ffb0;
  --text-main: #f2eefc;
  --text-muted: #b3a6d4;
  --text-dim: #7d6ea3;
  --border-glow: rgba(176, 38, 255, 0.35);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-neon: 0 0 20px rgba(176, 38, 255, 0.45), 0 0 40px rgba(176, 38, 255, 0.15);
  --shadow-gold: 0 0 18px rgba(255, 201, 60, 0.5);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(176,38,255,0.16), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(255,46,196,0.12), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(23,255,176,0.08), transparent 40%),
    url('../images/section-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: normal;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.neon-text {
  color: var(--neon-gold);
  text-shadow: 0 0 8px rgba(255,201,60,0.7), 0 0 20px rgba(255,201,60,0.35);
}

.neon-text-purple {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-purple), 0 0 24px rgba(176,38,255,0.55);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-green);
  border: 1px solid rgba(23,255,176,0.4);
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(23,255,176,0.06);
  margin-bottom: 14px;
}

/* ============ TOP AGE STRIP ============ */
.age-strip {
  background: linear-gradient(90deg, #1a0a33, #2b0e4d, #1a0a33);
  color: var(--neon-gold-soft);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-glow);
  letter-spacing: 0.4px;
}
.age-strip strong { color: var(--neon-gold); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 4, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-gold);
  box-shadow: var(--shadow-gold);
}
.logo span.hl { color: var(--neon-purple); text-shadow: 0 0 12px var(--neon-purple); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .25s ease;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: '';
  position: absolute; left:0; right:0; bottom:-8px; height:2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-gold));
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glow);
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background: linear-gradient(180deg, rgba(7,3,15,0.55), rgba(7,3,15,0.92)), url('../images/hero-bg.jpg') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(176,38,255,0.25), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero p.subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}
.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .25s ease;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon-gold), #ff9f2e);
  color: #1a0a00;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 30px rgba(255,201,60,0.75); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 14px rgba(176,38,255,0.25) inset;
}
.btn-outline:hover { background: rgba(176,38,255,0.15); box-shadow: var(--shadow-neon); }

.trust-badges {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.trust-badges span { display:flex; align-items:center; gap:6px; }
.trust-badges i { color: var(--neon-green); }

/* ============ SECTION GENERIC ============ */
.section { padding: 70px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); }

/* ============ CASINO CARDS ============ */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.casino-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.casino-card::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(176,38,255,0.18), transparent 30%);
  animation: spin 8s linear infinite;
  opacity: 0;
  transition: opacity .4s ease;
}
.casino-card:hover::before { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.casino-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-neon);
}
.casino-rank {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--neon-gold);
  background: rgba(255,201,60,0.08);
  border: 1px solid rgba(255,201,60,0.4);
  padding: 4px 10px;
  border-radius: 20px;
}
.casino-logo-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.casino-logo-wrap img { max-height: 55px; object-fit: contain; }
.casino-name {
  font-size: 1.3rem;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.stars { color: var(--neon-gold); margin-bottom: 14px; font-size: 0.95rem; position:relative; z-index:1;}
.stars span.score { color: var(--text-muted); font-size: 0.82rem; margin-left: 8px; }
.casino-bonus {
  background: rgba(176,38,255,0.08);
  border: 1px dashed rgba(176,38,255,0.4);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 18px;
  position: relative; z-index: 1;
  min-height: 68px;
}
.casino-bonus strong { color: var(--neon-gold); }
.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.casino-features li {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}
.casino-card .btn { width: 100%; text-align: center; position: relative; z-index: 1;}
.casino-terms {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 12px;
  display: block;
  position: relative; z-index: 1;
}

/* ============ WHY US / FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(21,10,43,0.6);
  border: 1px solid rgba(176,38,255,0.2);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--neon-gold); }
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(176,38,255,0.25), rgba(255,201,60,0.15));
  font-size: 1.4rem;
  color: var(--neon-gold);
  box-shadow: 0 0 20px rgba(176,38,255,0.25);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; color:#fff; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ HOW WE RATE ============ */
.rate-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 22px;
  counter-reset: step;
}
.rate-step {
  background: linear-gradient(160deg, var(--bg-panel-light), var(--bg-panel));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}
.rate-step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255,201,60,0.25);
  position: absolute;
  top: 10px; right: 16px;
}
.rate-step h4 { color:#fff; margin-bottom: 8px; font-size: 1rem;}
.rate-step p { font-size: 0.86rem; color: var(--text-muted); }

/* ============ RESPONSIBLE STRIP ============ */
.responsible-strip {
  background: linear-gradient(90deg, rgba(255,46,196,0.1), rgba(176,38,255,0.1));
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  padding: 34px 0;
  text-align: center;
}
.responsible-strip h3 { margin-bottom: 10px; font-size:1.3rem; }
.responsible-strip p { color: var(--text-muted); max-width: 680px; margin: 0 auto 18px; font-size: 0.92rem;}
.responsible-logos {
  display:flex; gap: 26px; justify-content:center; flex-wrap:wrap; align-items:center; margin-top: 20px;
}
.responsible-logos img { height: 40px; width:auto; filter: grayscale(0.15) brightness(1.05); opacity:0.92; transition: opacity .2s ease, transform .2s ease;}
.responsible-logos a:hover img { opacity:1; transform: scale(1.08);}

/* ============ FOOTER ============ */
.site-footer {
  background: #05020c;
  border-top: 1px solid var(--border-glow);
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col p, .footer-col li { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 8px; }
.footer-col ul li a:hover { color: var(--neon-gold); }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color:#fff; margin-bottom: 14px;}
.footer-logo span { color: var(--neon-purple); }
.footer-regulators {
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top: 10px;
}
.footer-regulators img { height: 32px; background:#fff; border-radius:6px; padding:4px; }
.footer-social a {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--border-glow); margin-right:8px; color:#fff;
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--neon-purple); box-shadow: var(--shadow-neon); }

.age-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.age-disclaimer .badge18 {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  border:2px solid var(--neon-gold); color: var(--neon-gold);
  font-family: var(--font-display); font-weight:700; font-size:0.95rem;
  float:left; margin-right:16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 30px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 0.78rem; color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--neon-gold); }

/* ============ AGE POPUP ============ */
.age-gate-overlay {
  position: fixed; inset:0; z-index: 2000;
  background: rgba(4,1,10,0.92);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding: 20px;
}
.age-gate-overlay[hidden] { display:none; }
.age-gate-box {
  background: linear-gradient(160deg, var(--bg-panel-light), var(--bg-deep));
  border: 1px solid var(--neon-purple);
  box-shadow: var(--shadow-neon);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 440px;
  text-align: center;
  position: relative;
}
.age-gate-box .badge18-big {
  width: 74px; height: 74px; border-radius:50%;
  border: 3px solid var(--neon-gold);
  color: var(--neon-gold);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-size:1.5rem; font-weight:800;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-gold);
}
.age-gate-box h2 { font-size:1.4rem; margin-bottom:12px; }
.age-gate-box p { color: var(--text-muted); font-size:0.9rem; margin-bottom: 26px; }
.age-gate-actions { display:flex; gap:14px; justify-content:center; }
.age-gate-actions .btn { flex:1; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; bottom: 0; left:0; right:0; z-index: 1800;
  background: rgba(10,4,24,0.97);
  border-top: 1px solid var(--border-glow);
  padding: 18px 0;
}
.cookie-banner[hidden] { display:none; }
.cookie-inner {
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.cookie-inner p { font-size:0.85rem; color: var(--text-muted); max-width: 640px; }
.cookie-inner a { color: var(--neon-gold); text-decoration:underline; }
.cookie-actions { display:flex; gap:10px; flex-wrap:wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size:0.82rem; }

/* ============ INNER PAGES ============ */
.page-hero {
  padding: 60px 0 40px;
  text-align:center;
  background: linear-gradient(180deg, rgba(176,38,255,0.12), transparent);
  border-bottom: 1px solid var(--border-glow);
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); }

.legal-content {
  padding: 60px 0 90px;
}
.legal-content .container { max-width: 880px; }
.legal-content h2 {
  font-size: 1.35rem;
  margin: 34px 0 14px;
  color: var(--neon-gold);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; font-size:0.95rem; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--neon-purple); text-decoration:underline; }
.legal-content .updated { color: var(--text-dim); font-size:0.82rem; margin-bottom: 30px; }

.contact-grid {
  display:grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items:start;
}
.contact-card {
  background: rgba(21,10,43,0.6);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-card h3 { color:#fff; margin-bottom:18px; }
.contact-item { display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.contact-item i { color: var(--neon-gold); font-size:1.2rem; margin-top:3px; }
.contact-item strong { display:block; color:#fff; font-size:0.9rem; }
.contact-item span, .contact-item a { color: var(--text-muted); font-size:0.88rem; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--border-glow);
  height: 100%;
  min-height: 340px;
}
.map-frame iframe { width:100%; height:100%; min-height:340px; border:0; filter: invert(0.92) hue-rotate(180deg) contrast(0.9); }

.about-grid {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:24px; margin-top: 40px;
}
.stat-card {
  text-align:center; background: rgba(21,10,43,0.5); border:1px solid var(--border-glow); border-radius: var(--radius-md); padding: 26px;
}
.stat-card .num { font-family: var(--font-display); font-size: 2rem; color: var(--neon-gold); text-shadow: var(--shadow-gold); }
.stat-card p { color: var(--text-muted); font-size: 0.85rem; margin-top:6px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { position: fixed; top: 64px; left:0; right:0; background: rgba(7,3,15,0.98); border-bottom:1px solid var(--border-glow); flex-direction:column; padding: 10px 0; transform: translateY(-140%); transition: transform .3s ease; z-index: 400;}
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap:0; }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav ul li a { display:block; padding: 14px 24px; }
  .nav-toggle { display:block; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
}
