/* ============================================================
   TERMOS E PRIVACIDADE - CODE MAKERS PREMIUM (COMPLETO)
============================================================ */

:root {
  --accent: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.2);
  --bg-dark: #050505;
  --glass-bg: rgba(10, 10, 10, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #949ba4;
  --text-muted: #555;
}

/* =========================
   RESET & BASE
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* BACKGROUND ANIMADO E GLOWS */
.grid-background {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {background-position:0 0;}
  100% {background-position:50px 50px;}
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  z-index: -1;
}
.glow1 { background: var(--accent); top: -200px; left: -200px; }
.glow2 { background: var(--accent); bottom: -250px; right: -250px; }

/* =========================
   CONTEÚDO (DESIGN DE IMPACTO)
========================= */
.content-page {
  max-width: 800px;
  margin: 180px auto 100px;
  padding: 80px 60px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  position: relative;
  z-index: 1;
}

/* Título Principal degradê Apple style */
.content-page h1 {
  font-size: 4rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(180deg, #fff 0%, #666 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
}

/* Títulos das Seções */
.content-page h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 800;
}

/* Parágrafos e Listas */
.content-page p, .content-page li {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Listas Minimalistas Personalizadas */
.content-page ul {
  list-style: none;
  padding: 0;
}

.content-page li {
  padding: 15px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  margin-bottom: 10px;
  color: #d1d5db;
  border: 1px solid transparent;
  transition: 0.2s;
}

/* Hover interativo nos itens da lista */
.content-page li:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(5px);
}

/* Links dentro do texto */
.content-page a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}

.content-page a:hover {
  color: #60a5fa;
  border-bottom-color: #60a5fa;
}

/* =========================
   FOOTER PRO ULTRA - CORREÇÃO DEFINITIVA
========================= */

.footer-pro {
  margin-top: 120px;
  padding: 80px 8% 40px;
  background: #050505;
  border-top: 1px solid #111;
  position: relative;
  overflow: hidden;
}

/* GLOW */
.footer-pro::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  opacity: 0.08;
  top: -200px;
  left: -200px;
}

/* CONTAINER */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* BRAND */
.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-brand p {
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  color: #777;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  transition: 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: #3b82f6;
  transition: 0.3s;
}

.footer-col a:hover::after {
  width: 100%;
}

/* SOCIAL */
.footer-social h4 {
  margin-bottom: 12px;
  font-size: 14px;
  color: white;
}

.discord-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: #5865f2;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #111;
  text-align: center;
}

.footer-bottom p {
  color: #555;
  font-size: 12px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-brand,
  .footer-social {
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
}

/* =========================
   VOLTAR AO TOPO
========================= */
#topBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  background-color: var(--accent);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  font-size: 22px;
  transition: 0.3s;
}

/* =========================
   RESPONSIVIDADE (FIX)
========================= */
@media (max-width: 768px) {
  .content-page { padding: 40px 30px; margin-top: 120px; }
  .content-page h1 { font-size: 2.5rem; }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .footer-links {
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 30px;
  }
}