/* ============================================================
   VegasBet — Footer CSS
   Merged from footer.css + footer-hover.css, adapted to VegasBet palette.
   No blue, no Montserrat, no external brand references.
   ============================================================ */

/* ── Base ───────────────────────────────────────────────────── */
.site-footer {
  background: #111113;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
  padding: 48px 0 0;
  font-family: 'Inter', sans-serif;
  margin-top: 24px;
  position: relative;
  z-index: 1;

  /* shared width for gallery rows and dividers */
  --logos-row-width: clamp(600px, 85vw, 1160px);
  --wrap: 1100px;
}

/* ── Container ──────────────────────────────────────────────── */
.site-footer .footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Divider ────────────────────────────────────────────────── */
.site-footer .footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 8px 0;
  width: 100%;
}

/* ── Brand row ──────────────────────────────────────────────── */
.site-footer .footer-brand-row {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 4px 0 32px;
}

.site-footer .footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: none;
}
.site-footer .footer-logo-link:hover,
.site-footer .footer-logo-link:focus-visible {
  transform: none;
  transition: none;
}
.site-footer .footer-logo-link:hover .footer-logo-icon,
.site-footer .footer-logo-link:hover .footer-logo-name {
  transform: none;
  transition: none;
}

.site-footer .footer-logo-icon {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-footer .footer-logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

/* ── Auth links column ──────────────────────────────────────── */
#footerAuthLinks {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}


/* ── Sections grid ──────────────────────────────────────────── */
.site-footer .footer-sections {
  width: 100%;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 120px);
}

.site-footer .footer-section {
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 0;
}

.site-footer .section-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer .footer-button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 3px 0;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.18s ease, transform 0.18s ease;
  transform-origin: left center;
}

.site-footer .footer-button:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.site-footer .footer-section .footer-button:last-child {
  margin-bottom: 0;
}

/* ── Gallery / icon rows ────────────────────────────────────── */
.site-footer .footer-gallery {
  padding: 0;
  border-top: 0;
  box-shadow: none;
}

.site-footer .gallery-row {
  width: 100%;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 36px);
  flex-wrap: nowrap;
}

.site-footer .gallery-image {
  height: clamp(24px, 3vw, 40px);
  width: auto;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.75);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.site-footer .gallery-image:hover {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.08);
}

.site-footer .gallery-row:last-child {
  margin-bottom: 0;
}

/* ── Bottom / legal ─────────────────────────────────────────── */
.site-footer .footer-bottom {
  border: 0;
  box-shadow: none;
  width: 100%;
}

.site-footer .legal-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.site-footer .legal-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
}

.site-footer .footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
}

.site-footer .footer-contacts a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.2s ease;
}

.site-footer .footer-contacts a:visited {
  color: var(--text-secondary);
}

.site-footer .footer-contacts a:hover,
.site-footer .footer-contacts a:focus {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.site-footer .badge-18-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.65rem;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Hover scale (footer-hover.css merged) ──────────────────── */
.site-footer a,
.site-footer button {
  transform-origin: 50% 50%;
  will-change: transform;
}

/* footer-button has its own translateX hover; footer-logo-link has no hover animation */
.site-footer a:not(.footer-button):not(.footer-logo-link):hover,
.site-footer a:not(.footer-button):not(.footer-logo-link):focus-visible {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer button {
    transition: none;
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-footer .footer-sections {
    gap: 36px 56px;
  }
}

@media (max-width: 820px) {
  .site-footer .footer-container {
    padding: 0 24px;
  }

  .site-footer .gallery-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}

@media (max-width: 768px) {
  /* Center all footer columns */
  .site-footer .footer-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .section-title {
    text-align: center;
  }

  .site-footer .footer-section {
    align-items: center;
    text-align: center;
  }

  /* Keep footer-button hover working from center */
  .site-footer .footer-button {
    transform-origin: center;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-container {
    padding: 0 16px;
  }

  .site-footer .footer-sections {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .site-footer .footer-section {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .site-footer .gallery-image {
    height: 26px;
  }

  .site-footer .footer-contacts {
    flex-direction: column;
    gap: 4px;
  }
}
