/* ============================================
   7K (bet7k) — footer.css
   Footer + bottom nav mobile + cookie banner
   ============================================ */

.site-footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(176, 38, 255, 0.22);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 2rem;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand .brand {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-col h4 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-disclaimer {
  background: rgba(36, 23, 48, 0.7);
  border: 1px solid rgba(176, 38, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.84rem;
  margin-bottom: 1.5rem;
}

.footer-disclaimer strong {
  color: var(--color-odds);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(154, 143, 166, 0.18);
}

.footer-bottom .copy {
  color: var(--color-muted);
  font-size: 0.84rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-responsible {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-top: 1.25rem;
}

.footer-responsible strong {
  color: var(--color-live);
}

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  background: rgba(20, 10, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(176, 38, 255, 0.25);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: var(--bottomnav-h);
  padding: 0.35rem 0.15rem;
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  text-align: center;
}

.bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav a:hover,
.bottom-nav a.is-active {
  color: var(--color-primary);
}

/* ---------- Cookie / 18+ banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(var(--bottomnav-h) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  background: rgba(36, 23, 48, 0.97);
  border: 1px solid rgba(230, 0, 126, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  padding: 1.05rem 1.15rem;
  display: none;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner .age-badge {
  width: 38px;
  height: 38px;
  font-size: 0.78rem;
}

.cookie-banner p {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  color: var(--color-odds);
  line-height: 1.55;
}

.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner .btn {
  min-height: 42px;
  padding: 0.45rem 1.15rem;
  font-size: 0.8rem;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 601px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    left: 1.25rem;
    right: auto;
    /* на планшетах нижнее меню ещё видно — баннер ставим над ним */
    bottom: calc(var(--bottomnav-h) + 1.25rem + env(safe-area-inset-bottom, 0px));
    width: min(520px, calc(100% - 2.5rem));
  }
}

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }

  .bottom-nav {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .cookie-banner {
    bottom: 1.5rem;
    left: 1.5rem;
  }
}

/* Espaço para a bottom nav no mobile */
body {
  padding-bottom: calc(var(--bottomnav-h) + 8px);
}

@media (min-width: 1025px) {
  body {
    padding-bottom: 0;
  }
}
