/* ============================================================
   NEONBET · Footer + global polish + cookie banner
   (frontend-redesign-v2 · designer look)
   ------------------------------------------------------------
   SCOPED reskin of .site-footer to the designer footer (brand +
   blurb + payment cards, link columns, trust/license badges, copy)
   plus the designer cookie pill. Footer links keep their data-panel
   actions (openContentPanel) and data-i18n translations. Pure CSS +
   additive markup; no backend/API/category/provider changes.
   Loaded after style.css.
   ============================================================ */

.site-footer {
  margin-top: var(--space-16);
  padding: var(--space-10) 0 calc(var(--bottombar-height) + var(--space-8));
  border-top: 1px solid var(--border-subtle);
  background: transparent;
  font-family: var(--font-sans);
}
@media (min-width: 1024px) { .site-footer { padding-bottom: var(--space-10); } }
.site-footer .footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }
@media (min-width: 768px) { .site-footer .footer-inner { padding: 0 var(--space-8); } }

/* Top grid */
.site-footer .footer-top {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
@media (max-width: 900px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .footer-top { grid-template-columns: 1fr; } }

/* Brand */
.site-footer .footer-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  letter-spacing: 0.04em; text-transform: none;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text-primary);
  text-shadow: none; animation: none; margin-bottom: var(--space-3);
}
.site-footer .footer-logo::before, .site-footer .footer-logo::after { display: none; }  /* retire glitch */
.site-footer .footer-desc { font-family: var(--font-sans); color: var(--text-muted); font-size: var(--text-sm); line-height: 1.55; max-width: 38ch; margin: 0 0 var(--space-4); }
.site-footer .footer-age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); color: var(--text-secondary);
  font-family: var(--font-display); font-size: var(--text-sm);
}

/* Social */
.site-footer .footer-social { display: inline-flex; gap: var(--space-2); margin-top: var(--space-4); }
.site-footer .footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-surface); border: 1px solid var(--border-subtle); color: var(--text-secondary);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.site-footer .footer-social a:hover { border-color: var(--neon-cyan); color: var(--text-primary); transform: translateY(-2px); }
.site-footer .footer-social svg { width: 18px; height: 18px; }

/* Link columns */
.site-footer .footer-col-title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
  color: var(--text-primary); letter-spacing: -0.01em; text-transform: none; margin-bottom: var(--space-4);
}
.site-footer .footer-link {
  display: block; font-family: var(--font-sans); color: var(--text-secondary); font-size: var(--text-sm);
  text-transform: none; letter-spacing: 0;
  margin-bottom: 8px; text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-footer .footer-link::before { display: none; }   /* retire bullet */
.site-footer .footer-link:hover { color: var(--text-primary); }

/* Payments strip */
.site-footer .footer-payments {
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
}
.site-footer .footer-payments-label {
  font-family: var(--font-mono) !important; font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted);
}
.site-footer .footer-pay-logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.site-footer .fpay-logo {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 40px; min-width: 64px; padding: 0 12px; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: var(--bg-surface);
  color: var(--text-primary); font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.04em;
  opacity: 0.85; transition: border-color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.site-footer .fpay-logo:hover { border-color: var(--neon-cyan); opacity: 1; transform: translateY(-2px); }

/* Bottom meta */
.site-footer .footer-bottom {
  margin-top: var(--space-8); padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle); text-align: left;
}
.site-footer .footer-badges-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.site-footer .footer-badge {
  font-family: var(--font-sans) !important;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-size: var(--text-xs);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.site-footer .footer-badge:hover { border-color: var(--border-strong); color: var(--text-primary); }
.site-footer .footer-copy {
  font-family: var(--font-sans) !important;
  color: var(--text-muted); font-size: var(--text-xs); line-height: 1.6; margin: 0; max-width: 70ch;
}
.site-footer .footer-copy a { color: var(--neon-cyan); }
.site-footer .footer-copy a:hover { color: var(--text-primary); }
.site-footer .footer-copy strong { color: var(--text-secondary); }

/* ============================================================
   Cookie banner (designer cookie pill — bottom-left, non-blocking)
   ============================================================ */
.cookie-banner {
  position: fixed; left: var(--space-4);
  bottom: calc(var(--bottombar-height) + env(safe-area-inset-bottom) + var(--space-3));
  background: rgba(15,15,26,0.92);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  padding: 8px 12px; z-index: var(--z-toast);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: var(--text-xs); color: var(--text-secondary);
  max-width: min(360px, calc(100vw - var(--space-8)));
  animation: cookie-in 320ms var(--ease-out);
}
@media (min-width: 1024px) { .cookie-banner { bottom: var(--space-5); } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie-banner.is-out { opacity: 0; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner svg { width: 14px; height: 14px; color: var(--neon-cyan); flex-shrink: 0; }
.cookie-banner a { color: var(--neon-cyan); }
.cookie-banner-inner { display: inline-flex; align-items: center; gap: 8px; }
.cookie-text { line-height: 1.3; }
.cookie-actions { display: inline-flex; gap: 4px; margin-left: 4px; }
.cookie-actions button {
  height: 26px; padding: 0 12px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  border: 1px solid var(--border-subtle); background: transparent; color: var(--text-secondary); cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.cookie-actions button:hover { color: var(--text-primary); border-color: var(--border-strong); }
.cookie-actions .accept { background: var(--text-primary); color: var(--bg-base); border-color: var(--text-primary); }
.cookie-actions .accept:hover { background: #fff; }
