/* ─────────────────────────────────────────
   qweeelgame.com — Custom Stylesheet
   Fonts: Rajdhani (headings) + Inter (body)
   Palette: deep navy / cyan / gold
───────────────────────────────────────── */

:root {
  --bg-primary:      #090d18;
  --bg-secondary:    #0d1326;
  --bg-card:         rgba(18, 26, 48, 0.92);
  --bg-footer:       #060912;
  --accent-cyan:     #00cfff;
  --accent-cyan-dim: rgba(0, 207, 255, 0.12);
  --accent-cyan-glow:rgba(0, 207, 255, 0.25);
  --accent-gold:     #f5c518;
  --accent-gold-h:   #ffd740;
  --text-primary:    #e8edf5;
  --text-secondary:  #7d93b2;
  --text-muted:      #3f5068;
  --border:          rgba(0, 207, 255, 0.14);
  --border-warm:     rgba(245, 197, 24, 0.18);
  --shadow-card:     0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow:     0 0 32px rgba(0, 207, 255, 0.22);
  --radius:          12px;
  --radius-sm:       6px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: relative;
  background: linear-gradient(155deg, #080d1c 0%, #0c1a3a 45%, #071224 100%);
  padding: 88px 0 72px;
  text-align: center;
  overflow: hidden;
}

/* animated radial glow behind headline */
.site-header::before {
  content: '';
  position: absolute;
  top: 50%;  left: 50%;
  width: 700px; height: 400px;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(0,140,230,0.18) 0%, transparent 65%);
  animation: hdrPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

/* subtle grid texture */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,207,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,207,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

@keyframes hdrPulse {
  0%   { opacity: .7; transform: translate(-50%, -55%) scale(1);   }
  100% { opacity: 1;  transform: translate(-50%, -60%) scale(1.15);}
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 50px rgba(0, 207, 255, 0.45), 0 2px 4px rgba(0,0,0,0.7);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   CASINO CARD SECTION
═══════════════════════════════════════ */
.casino-cards-section {
  background: var(--bg-secondary);
  padding: 48px 0 52px;
  position: relative;
}

/* top edge fade from header */
.casino-cards-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: .5;
}

.casino-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease;
}

.casino-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(0,207,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}

/* shimmer sweep — added by JS */
.casino-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(105deg,
    transparent 25%,
    rgba(255,255,255,0.055) 50%,
    transparent 75%);
  background-size: 250% 100%;
  background-position: -100% center;
  animation: shimmerSweep 3.5s linear infinite;
  pointer-events: none;
}

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

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

/* "Recomendado" badge */
.card-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  background: var(--accent-cyan);
  color: #050c1a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(0, 207, 255, .45);
}

.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card-left {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.casino-logo-link { display: inline-flex; }

.casino-logo {
  height: 38px;
  width: auto;
  filter: brightness(1.05) contrast(1.05);
}

.bonus-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 207, 255, .18);
  padding: 3px 10px;
  border-radius: 4px;
}

.bonus-text {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 320px;
}

.card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.rating-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rating-stars {
  height: 22px;
  width: auto;
}

.rating-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 18px rgba(245, 197, 24, .4);
}

.btn-play {
  display: inline-block;
  background: var(--accent-gold);
  color: #070c18;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(245,197,24,.3);
}

.btn-play:hover {
  background: var(--accent-gold-h);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(245,197,24,.45);
}

/* ═══════════════════════════════════════
   ARTICLES
═══════════════════════════════════════ */
.articles-section {
  background: var(--bg-primary);
  padding: 64px 0 48px;
}

.content-article {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.content-article:last-child { border-bottom: none; }

/* cyan left accent line */
.content-article::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 52px;
  width: 3px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  border-radius: 2px;
  opacity: .7;
  transition: height .4s ease, opacity .4s ease;
}

.content-article:hover::before {
  height: 70px;
  opacity: 1;
}

.content-article h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.content-article p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-article p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════
   18+ DISCLAIMER
═══════════════════════════════════════ */
.disclaimer-section {
  background: var(--bg-secondary);
  padding: 32px 0;
  border-top: 1px solid rgba(245,197,24,.12);
  border-bottom: 1px solid rgba(245,197,24,.12);
}

.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(245, 197, 24, .045);
  border: 1px solid rgba(245, 197, 24, .16);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.disclaimer-icon {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(245,197,24,.5));
}

.disclaimer-inner p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.disclaimer-inner p strong {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--bg-footer);
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-col h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.footer-col .mt-section {
  margin-top: 26px;
}

.footer-col p {
  font-size: .81rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 6px;
}

/* Responsible gaming images */
.footer-responsible {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.responsible-images {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.responsible-images a {
  display: inline-flex;
  transition: opacity .2s;
}

.responsible-images a:hover { opacity: .8; }

.responsible-images img {
  height: 52px;
  width: auto;
  filter: brightness(.88);
  transition: filter .2s;
}

.responsible-images a:hover img { filter: brightness(1); }

/* Logos row */
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.footer-logos img {
  height: 44px;
  width: auto;
  filter: brightness(.8);
  transition: filter .2s;
}

.footer-logos a:hover img { filter: brightness(1); }

.footer-arrow-img { height: 20px !important; opacity: .4; }

/* Phone row */
.footer-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.footer-18-icon {
  height: 26px;
  width: auto;
  filter: brightness(.9);
}

.phone-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: color .2s;
}

.phone-link:hover { color: #fff; }

.phone-desc {
  font-size: .78rem;
  color: var(--text-secondary);
}

/* Nav links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  padding: 22px 0 16px;
}

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

.footer-links a:hover { color: var(--accent-cyan); }

/* Copyright */
.footer-copyright {
  text-align: center;
  padding-top: 6px;
}

.footer-copyright p {
  font-size: .76rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 11, 22, .97);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.25,.8,.25,1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: .84rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 220px;
}

.cookie-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-cookie-accept {
  background: var(--accent-gold);
  color: #07100a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cookie-accept:hover {
  background: var(--accent-gold-h);
  transform: scale(1.04);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children inside articles */
.content-article[data-reveal].revealed h2 { transition-delay: .05s; }
.content-article[data-reveal].revealed p   { transition-delay: .12s; }

/* ═══════════════════════════════════════
   POLICY PAGES
═══════════════════════════════════════ */
.policy-header {
  background: linear-gradient(155deg, #080d1c 0%, #0c1a3a 60%, #071224 100%);
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.policy-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,207,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,207,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.policy-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-logo-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  letter-spacing: .05em;
  transition: opacity .2s;
}

.site-logo-link:hover { opacity: .75; }

.policy-header-inner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.policy-content {
  background: var(--bg-primary);
  padding: 60px 0 72px;
}

.policy-body {
  max-width: 720px;
}

.policy-body h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 36px 0 12px;
}

.policy-body h2:first-child { margin-top: 0; }

.policy-body p {
  font-size: .93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-body ul {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.75;
}

.policy-body ul li { margin-bottom: 6px; }

.policy-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-footer {
  background: var(--bg-footer);
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.policy-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.policy-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.policy-footer nav a {
  font-size: .78rem;
  color: var(--text-muted);
  transition: color .2s;
}

.policy-footer nav a:hover { color: var(--accent-cyan); }

.policy-footer p {
  font-size: .76rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════ */
@media (max-width: 840px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 768px
   Betsson card overlaps header by ~50%
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* header: push bottom padding down to make room for the overlapping card */
  .site-header {
    padding-bottom: 180px;
  }

  /* card section: pull card up so top half sits over header */
  .casino-cards-section {
    padding-top: 0;
    padding-bottom: 28px;
    margin-top: 0;
  }

  /* remove container side padding so card truly spans full screen width */
  .casino-cards-section .container {
    padding: 0;
  }

  .casino-card {
    /* overlap: card rises 150px into the header */
    margin-top: -150px;
    /* full viewport width */
    width: 100%;
    max-height: 300px;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 28px 18px 18px;
  }

  .card-body {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .card-left {
    flex: 1 1 auto;
    gap: 7px;
  }

  .casino-logo { height: 30px; }

  .bonus-text {
    font-size: .82rem;
    max-width: 100%;
  }

  .card-right {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .rating-block {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .rating-number { font-size: 1.6rem; }

  .btn-play {
    padding: 9px 20px;
    font-size: .85rem;
  }

  /* articles: reduce left accent line offset */
  .content-article::before { left: -14px; }

  /* footer logos — smaller */
  .responsible-images img { height: 38px; }
  .footer-logos img { height: 34px; }

  /* footer phone — wrap */
  .footer-phone { gap: 10px; text-align: center; }
  .phone-desc { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤ 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }

  .content-article::before { display: none; }

  .footer-links { gap: 8px 14px; font-size: .76rem; }

  .cookie-content { flex-direction: column; align-items: flex-start; }
  .btn-cookie-accept { align-self: flex-end; }

  .policy-header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
