/* ===================================================================
   RCasino — navy + electric blue brand theme overrides
   Loaded AFTER base.css + style.css.
   Components used by pages.json: hero, stats, intro, games, winners,
   outro, faq, page-hero, deal-grid/deal-card, login-split/login-side,
   login-trust, checklist, cta_banner, footer-responsible.
   =================================================================== */

:root {
  --rc-bg:          #0f172a;
  --rc-surface:     #19243a;
  --rc-surface-2:   #1f2942;
  --rc-line:        #2a3654;
  --rc-text:        #f4f6fb;
  --rc-text-soft:   rgba(244, 246, 251, 0.85);
  --rc-accent:      #3b82f6; /* electric blue */
  --rc-accent-2:    #60a5fa; /* lighter electric blue */
  --rc-gold:        #f5c453; /* highlight (bonuses, prices) */
  --rc-good:        #4ade80;
}

body { background: var(--rc-bg); color: var(--rc-text); }

/* Headings */
h1, h2, h3,
.hero h1, .page-hero h1, .section-title {
  font-family: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--rc-text);
}
.hero h1, .page-hero h1 {
  text-shadow: 0 0 32px rgba(59, 130, 246, 0.22), 0 0 80px rgba(96, 165, 250, 0.10);
}

a { color: var(--rc-accent-2); }
a:hover { color: var(--rc-accent); }

/* Primary CTA */
.btn--primary {
  background: linear-gradient(135deg, var(--rc-accent) 0%, var(--rc-accent-2) 100%);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(96, 165, 250, 0.25);
}
.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.55), 0 0 0 1px rgba(96, 165, 250, 0.45);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rc-line);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
}
.nav-main--desktop a { color: var(--rc-text-soft); }
.nav-main--desktop a:hover,
.nav-main--desktop a.active { color: var(--rc-accent-2); }

/* Hero */
.hero { background:
  radial-gradient(1200px 400px at 50% -100px, rgba(59, 130, 246, 0.35) 0%, transparent 60%),
  var(--rc-bg);
}
.page-hero { background:
  radial-gradient(1200px 400px at 50% -120px, rgba(59, 130, 246, 0.28) 0%, transparent 65%),
  var(--rc-bg);
}

/* Stats row */
.stats { background: var(--rc-bg); }
.stats .stat {
  background: linear-gradient(160deg, var(--rc-surface) 0%, var(--rc-surface-2) 100%);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
}
.stats .stat__value { color: var(--rc-accent-2); }
.stats .stat__label { color: var(--rc-text-soft); }

/* Cards / sections */
.section,
.card,
.surface {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
}

/* Games grid */
.game-card,
.slot-card {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 12px;
}
.game-card:hover,
.slot-card:hover {
  border-color: var(--rc-accent);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
}

/* Winners table/list */
.winners-row,
.winners-list li {
  border-bottom: 1px solid var(--rc-line);
}
.winners-amount,
.winner-amount { color: var(--rc-gold); font-weight: 700; }

/* FAQ */
.faq__item,
.faq-item {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 12px;
}
.faq__q,
.faq-q { color: var(--rc-text); }
.faq__a,
.faq-a { color: var(--rc-text-soft); }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(800px 240px at 80% 50%, rgba(96, 165, 250, 0.35) 0%, transparent 65%),
    linear-gradient(135deg, var(--rc-surface) 0%, var(--rc-surface-2) 100%);
  border: 1px solid var(--rc-line);
  border-radius: 18px;
}

/* ---------- deal-card (bonuses page summary cards) ---------- */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.deal-card {
  background: linear-gradient(170deg, var(--rc-surface) 0%, var(--rc-surface-2) 100%);
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.deal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rc-accent) 0%, var(--rc-accent-2) 100%);
  opacity: .95;
}
.deal-card h3 { margin: 4px 0 2px; color: var(--rc-text); font-size: 22px; }
.deal-card .deal-card__amount {
  color: var(--rc-gold);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.deal-card p { margin: 0; color: var(--rc-text-soft); }
.deal-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--rc-text);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--rc-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* ---------- login split layout ---------- */
.login-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  margin: 24px 0;
}
@media (max-width: 860px) {
  .login-split { grid-template-columns: 1fr; gap: 20px; }
}
.login-side {
  background: linear-gradient(160deg, var(--rc-surface) 0%, var(--rc-surface-2) 100%);
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-side__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--rc-accent-2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.login-side h3 {
  margin: 4px 0 6px;
  color: var(--rc-text);
  font-size: 26px;
  line-height: 1.2;
}
.login-side p { color: var(--rc-text-soft); margin: 0; }
.login-side .btn { align-self: flex-start; margin-top: 10px; }

/* ---------- login trust row ---------- */
.login-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}
@media (max-width: 720px) {
  .login-trust { grid-template-columns: 1fr; }
}
.login-trust__item {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.login-trust__item strong {
  color: var(--rc-accent-2);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.login-trust__item span {
  color: var(--rc-text-soft);
  font-size: 14px;
}

/* ---------- footer responsible-gambling row ---------- */
.footer-responsible {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--rc-line);
  margin-top: 18px;
  font-size: 13px;
  color: var(--rc-text-soft);
}
.footer-responsible .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rc-surface-2);
  border: 1px solid var(--rc-line);
  color: var(--rc-accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-responsible a { color: var(--rc-accent-2); text-decoration: none; }
.footer-responsible a:hover { text-decoration: underline; }

/* ---------- header logo sizing ---------- */
.site-header .site-logo img,
.site-header a.site-logo img,
.site-logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
}
.site-logo-footer img {
  height: 40px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 768px) {
  .site-header .site-logo img,
  .site-logo img {
    height: 38px;
    max-width: 180px;
  }
}

/* ---------- hero mobile order ---------- */
@media (max-width: 768px) {
  .hero__split { display: flex; flex-direction: column; }
  .hero__copy  { order: 1; }
  .hero__image { order: 2; }
  .hero__image img { max-width: 260px; margin-top: var(--space-6); }
}

/* selection color */
::selection { background: rgba(59, 130, 246, 0.45); color: #ffffff; }
