/* ============================================================
   CONTAINER DO FOOTER (ZEN GLASS MINIMALISTA)
   ============================================================ */
.glass-footer {
  margin-top: auto;
  position: relative;
  z-index: 900;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 30px 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

/* ============================================================
   BLOCO 1: MARCA LOYALTY (ESQUERDA)
   ============================================================ */
.footer-zen-brand {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  justify-content: flex-start;
  min-width: 140px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-color);
}

/* ============================================================
   BLOCO 2: LINKS INSTITUCIONAIS & LEGAIS (CENTRO)
   ============================================================ */
.footer-zen-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 2 1 auto;
}

.footer-zen-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s ease;
  cursor: pointer;
}

.footer-zen-link:hover {
  color: var(--petal-color, #ffb6c1);
}

/* ============================================================
   BLOCO 3: REDES SOCIAIS (DIREITA)
   ============================================================ */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0;
  flex: 1 1 0;
  min-width: 140px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 4px;
  transition: color 0.2s ease, filter 0.2s ease;
}

.footer-social-icon:hover {
  color: #ffffff;
}

.footer-social-icon.footer-social-discord:hover {
  color: #5865F2;
  filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.65));
}

.footer-social-icon.footer-social-telegram:hover {
  color: #229ED9;
  filter: drop-shadow(0 0 6px rgba(34, 158, 217, 0.65));
}

.footer-social-icon.footer-social-whatsapp:hover {
  color: #25D366;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.65));
}

/* ============================================================
   BARRA DE COPYRIGHT INFERIOR
   ============================================================ */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.15);
  padding: 14px 30px;
  text-align: center;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-container p {
  margin: 0;
  text-align: center;
  width: 100%;
}

/* ============================================================
   MODAIS SAKURA GLASS (PRIVACIDADE & COOKIES GLOBAIS)
   ============================================================ */
.g-termos-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeInModalFooter 0.22s ease forwards;
}

@keyframes fadeInModalFooter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.g-termos-card {
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 182, 193, 0.12);
  padding: 26px 28px 24px 28px;
  max-width: 540px;
  width: 100%;
  margin: auto;
  position: relative;
  animation: scaleInModalFooter 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleInModalFooter {
  from {
    transform: scale(0.95) translateY(8px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.g-termos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.g-termos-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-termos-header-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

.g-termos-btn-dismiss {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: color 0.2s ease, background 0.2s ease;
}

.g-termos-btn-dismiss:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.g-termos-body::-webkit-scrollbar {
  width: 6px;
}

.g-termos-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.g-termos-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.g-termos-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   RESPONSIVIDADE (ZEN MOBILE)
   ============================================================ */
@media (max-width: 1040px) {
  .footer-container {
    flex-direction: column;
    gap: 22px;
    text-align: center;
    padding: 28px 20px 22px 20px;
  }

  .footer-zen-brand {
    flex-direction: column;
    gap: 12px;
  }

  .footer-zen-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .footer-zen-socials {
    justify-content: center;
  }
}

/* ============================================================
   ESTILOS SÓBRIOS DE CONSENTIMENTO DE COOKIES
   ============================================================ */
.cookie-gate-card {
  max-width: 500px !important;
  text-align: left !important;
  background: rgba(18, 18, 22, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
  padding: 26px 28px !important;
}

.cookie-gate-card h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
  line-height: 1.3 !important;
}

.cookie-gate-card p {
  font-size: 15.5px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
}

.cookie-btn-accept {
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-btn-reject {
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column !important;
    gap: 18px !important;
    padding: 20px 16px !important;
    text-align: center !important;
  }

  .footer-zen-brand {
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .footer-zen-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .footer-zen-link {
    font-size: 12.5px !important;
    white-space: normal !important;
  }

  .footer-socials {
    justify-content: center !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .g-termos-card {
    padding: 20px 16px !important;
    margin: 12px !important;
  }
}

@media (max-width: 480px) {
  .cookie-gate-card {
    padding: 22px 20px !important;
    max-width: 92vw !important;
  }

  .cookie-gate-actions {
    flex-direction: column !important;
    width: 100%;
  }

  .cookie-btn-accept,
  .cookie-btn-reject {
    width: 100% !important;
    text-align: center !important;
  }
}