/* =========================================================
   Social Games Lounge — global styles
   Palette: deep navy + champagne gold + sage teal
   ========================================================= */

:root {
  --bg: #0c0f1a;
  --bg-2: #11152a;
  --surface: #161b30;
  --surface-2: #1f2440;
  --surface-3: #262b4a;
  --border: rgba(229, 183, 105, 0.20);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #e8eaf6;
  --muted: #8b95b5;
  --accent: #e5b769;
  --accent-soft: rgba(229, 183, 105, 0.14);
  --accent-2: #7dd3c0;
  --danger: #f87171;
  --success: #6ee7c5;
  --warn-bg: linear-gradient(90deg, #b6452f 0%, #d36742 50%, #b6452f 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);

  --container: 1200px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(125, 211, 192, 0.08), transparent 60%),
              radial-gradient(900px 700px at -10% 20%, rgba(229, 183, 105, 0.07), transparent 55%),
              var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: #f4f6ff;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p  { color: #c9cfe6; }

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

.section {
  padding: 72px 0;
  position: relative;
}
.section.tight { padding: 44px 0; }

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-title::after {
  content: "";
  height: 22px;
  width: 4px;
  background: var(--accent);
  border-radius: 4px;
}

/* =========================================================
   Top warning bar (very visible, on every page)
   ========================================================= */
.warning-bar {
  background: var(--warn-bg);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  position: relative;
  z-index: 50;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(214, 92, 51, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.warning-bar strong { color: #ffe9c2; }
.warning-bar .pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ffe9c2;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(255, 233, 194, 0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 233, 194, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 233, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 233, 194, 0); }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 15, 26, 0.82);
  border-bottom: 1px solid var(--border-soft);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand .brand-mark {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 6px 14px rgba(229, 183, 105, 0.25));
}
.brand .brand-tag {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand .brand-tag .lt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #f4f6ff;
  letter-spacing: 0.02em;
}
.brand .brand-tag .lb {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #cfd5ec;
  transition: var(--transition);
}
.nav a:hover,
.nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 70px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle { display: inline-block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 80px 0 56px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: stretch;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #c8cfee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text {
  color: #c9cfe6;
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-side {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.hero-side::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(229, 183, 105, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-side h3 {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.stat .lbl {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.hero-side small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(180deg, #f0c878 0%, #c89a55 100%);
  color: #1a1308;
  box-shadow: 0 10px 24px rgba(229, 183, 105, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(229, 183, 105, 0.42);
  color: #1a1308;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-block {
  display: flex;
  width: 100%;
}

/* =========================================================
   Big notice (free / no casino)
   ========================================================= */
.big-notice {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.10), rgba(229, 183, 105, 0.08));
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
}
.big-notice .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffd7c0;
  font-weight: 800;
  border: 2px solid rgba(248, 113, 113, 0.45);
}
.big-notice h3 {
  color: #ffd7c0;
  margin-bottom: 6px;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.big-notice p {
  color: #f3d6c8;
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 600px) {
  .big-notice { grid-template-columns: 1fr; text-align: center; }
  .big-notice .ico { margin: 0 auto; }
}

/* =========================================================
   Cards (game rooms / features / FAQ)
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(229, 183, 105, 0.08));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* Feature list */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px 16px 50px;
  position: relative;
  color: #d6dcf2;
  font-size: 0.95rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(229, 183, 105, 0.18);
}
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.how-grid .panel {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.how-grid .panel h3 {
  color: var(--accent-2);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.how-grid .panel p { color: #d6dcf2; }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-grid .qa {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.faq-grid .qa:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.faq-grid .qa h4 {
  color: #f4f6ff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.faq-grid .qa p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

/* Article (legal pages) */
.article {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.article h1 { margin-bottom: 8px; }
.article .updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article h2 {
  margin: 32px 0 12px;
  font-size: 1.4rem;
  color: var(--accent);
}
.article h3 { margin: 20px 0 10px; font-size: 1.1rem; color: #f4f6ff; }
.article p, .article li { color: #d6dcf2; }
.article p { margin-bottom: 12px; }
.article ul, .article ol { margin: 8px 0 14px 22px; }
.article li { margin: 6px 0; }
.article a { color: var(--accent); border-bottom: 1px dashed rgba(229, 183, 105, 0.4); }

/* =========================================================
   Game frame
   ========================================================= */
.game-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px) { .game-wrap { grid-template-columns: 1fr; } }

.game-stage {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.game-title { margin-bottom: 6px; }
.game-sub { color: var(--muted); margin-bottom: 26px; }

.score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 auto 26px;
  max-width: 460px;
}
.score-cell {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 12px;
}
.score-cell .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.score-cell .val {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

/* Game inputs row */
.bet-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.bet-row label { color: var(--muted); font-size: 0.95rem; }
.bet-row input[type="number"] {
  width: 90px;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}
.bet-row input[type="number"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 183, 105, 0.18);
}
.btn-play {
  background: linear-gradient(180deg, #d36742 0%, #b6452f 100%);
  color: #fff;
  padding: 11px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(214, 92, 51, 0.3);
}
.btn-play:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(214, 92, 51, 0.45);
}
.btn-play:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Game-specific elements */
.num-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 auto;
  max-width: 460px;
}
.num-cell {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.num-cell:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.num-cell.selected {
  background: linear-gradient(180deg, #f0c878 0%, #c89a55 100%);
  color: #1a1308;
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(229, 183, 105, 0.35);
}
.num-cell.win { animation: winPulse 1.2s ease; }
.num-cell.lose { opacity: 0.5; }

@keyframes winPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Dice */
.dice-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 14px 0 22px;
}
.die {
  width: 84px;
  height: 84px;
  background: linear-gradient(180deg, #f4d8a3 0%, #e5b769 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1308;
  box-shadow: 0 12px 26px rgba(229, 183, 105, 0.25), inset 0 -4px 0 rgba(0, 0, 0, 0.12);
  font-family: var(--font-head);
}
.die.rolling { animation: roll 0.6s linear infinite; }
@keyframes roll {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.choice-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.choice-btn {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.choice-btn:hover { border-color: var(--accent); }
.choice-btn.active {
  background: linear-gradient(180deg, #f0c878 0%, #c89a55 100%);
  color: #1a1308;
  border-color: var(--accent);
}

/* Reels */
.reel-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 14px 0 8px;
}
.reel {
  width: 90px;
  height: 90px;
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition);
}
.reel.match {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: winPulse 1.2s ease;
}
.reel-info {
  display: flex;
  gap: 18px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Cards game */
.cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
}
.flip-card {
  aspect-ratio: 0.72;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  cursor: pointer;
  perspective: 800px;
  position: relative;
}
.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.45, 0.05, 0.2, 1);
  border-radius: var(--radius);
}
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-size: 2rem;
  font-weight: 800;
}
.flip-front {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: var(--muted);
  border: 1px solid var(--border-soft);
}
.flip-back {
  background: linear-gradient(180deg, #f0c878 0%, #c89a55 100%);
  color: #1a1308;
  transform: rotateY(180deg);
  border: 1px solid var(--accent);
  font-size: 2.6rem;
}
.flip-card.matched .flip-back {
  background: linear-gradient(180deg, #7dd3c0 0%, #5db8a3 100%);
  border-color: var(--accent-2);
}
.cards-help {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 8px 0 18px;
}

/* Result message */
.result-msg {
  min-height: 52px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.result-msg.win {
  background: rgba(110, 231, 197, 0.10);
  border-color: rgba(110, 231, 197, 0.45);
  color: var(--success);
}
.result-msg.lose {
  background: rgba(248, 113, 113, 0.10);
  border-color: rgba(248, 113, 113, 0.45);
  color: var(--danger);
}
.result-msg.info {
  background: var(--accent-soft);
  border-color: var(--border);
  color: var(--accent);
}

/* Sidebar / rules */
.game-side {
  display: grid;
  gap: 18px;
}
.side-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.side-card h4 {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.side-card p, .side-card li { color: #d6dcf2; font-size: 0.94rem; }
.side-card ul { list-style: none; }
.side-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed var(--border-soft);
}
.side-card ul li:last-child { border-bottom: none; }
.side-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.reset-btn {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.reset-btn:hover { color: var(--text); border-color: var(--border); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
  padding: 56px 0 28px;
  margin-top: 48px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h5 {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot-links { list-style: none; display: grid; gap: 8px; }
.foot-links a { color: #cfd5ec; font-size: 0.92rem; }
.foot-links a:hover { color: var(--accent); }
.foot-text { color: var(--muted); font-size: 0.92rem; max-width: 38ch; }

.care-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.care-row a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  height: 56px;
  min-width: 120px;
  justify-content: center;
}
.care-row a:hover {
  border-color: var(--border);
  background: rgba(229, 183, 105, 0.06);
  transform: translateY(-2px);
}
.care-row img {
  max-height: 32px;
  max-width: 130px;
  width: auto;
  filter: brightness(1.05);
}

.foot-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  color: #d6dcf2;
  font-size: 0.92rem;
  margin: 0;
  flex: 1 1 320px;
}
.cookie-banner .actions {
  display: flex;
  gap: 10px;
}

/* Anchor offset for sticky header */
[id] { scroll-margin-top: 100px; }
