/* =========================================================
   O Último Sheikah — Landing Page
   Tema: The Legend of Zelda / Breath of the Wild (Sheikah)
   ========================================================= */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Hylia Serif";
  src: url("assets/fonts/HyliaSerif.ttf") format("truetype");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calamity";
  src: url("assets/fonts/Calamity-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Calamity";
  src: url("assets/fonts/Calamity-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sheikah";
  src: url("assets/fonts/BotW_Sheikah.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Rogliano";
  src: url("assets/fonts/rogliano-extrabold.otf") format("opentype");
  font-display: swap;
}

/* ---------- Variáveis ---------- */
:root {
  --navy-900: #050b16;
  --navy-800: #081223;
  --navy-700: #0d1c33;
  --navy-600: #12263f;
  --blue:     #3fa9ff;
  --blue-glow:#5bc0ff;
  --cyan:     #8ef0ff;
  --ivory:    #eef4f7;
  --muted:    #9fb3c8;
  --gold:     #f0c674;
  --cream:    #fbf6dc;

  --maxw: 1120px;
  --radius: 14px;
  --glow: 0 0 18px rgba(63, 169, 255, 0.55);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Calamity", "Segoe UI", system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Hylia Serif", "Calamity", serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--cream);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Texto rúnico decorativo */
.runes {
  font-family: "Sheikah", sans-serif;
  color: var(--blue);
  opacity: 0.5;
  letter-spacing: 2px;
  text-shadow: var(--glow);
}

/* ---------- Eyebrow / títulos de seção ---------- */
.eyebrow {
  display: inline-block;
  font-family: "Calamity", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 14px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Separador horizontal de runas (padrão repetível) */
.rune-divider {
  height: 14px;
  background: url("assets/img/frame-round-runes.png") repeat-x center;
  background-size: auto 14px;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(63,169,255,0.35));
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(5, 11, 22, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 11, 22, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(63, 169, 255, 0.2);
}
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Hylia Serif", serif;
  font-size: 1.15rem;
  color: var(--cream);
}
.navbar .brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #2b7fd6);
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* background: url("assets/img/hero-bg.jpg") center/cover no-repeat; */
  background: url("assets/img/kieran-baker-botw-sheikah-wall-no-eye.jpg") center/cover no-repeat;
}
/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(5,11,22,0.15), rgba(5,11,22,0.75) 70%),
    linear-gradient(to bottom, rgba(5,11,22,0.2), var(--navy-900) 92%);
} */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 820px;
}

/* Desktop: ancora o conteúdo do hero ~40px acima do bottom */
@media (min-width: 881px) {
  .hero { align-items: flex-end; }
  .hero-inner { padding-bottom: 60px; }
  .scroll-hint { display: none; }
}

/* Glifos Sheikah ambientes na lateral esquerda do hero (aparecem/somem) */
.hero-glyphs {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 32%;
  max-width: 340px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.hero-glyphs span {
  font-family: "Sheikah", sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  white-space: nowrap;
  color: rgba(120, 200, 255, 0.75);
  text-shadow: 0 0 10px rgba(63, 169, 255, 0.6);
  opacity: 0;
  animation: glyphFade 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes glyphFade {
  0%, 100% { opacity: 0; }
  9%  { opacity: 0.12; }   /* surge */
  33% { opacity: 0.12; }   /* permanece ~2s */
  44% { opacity: 0; }     /* some */
}
.hero-glyphs--right {
  left: auto;
  right: 0;
  padding-left: 0;
  padding-right: 8px;
  text-align: right;
}
@media (max-width: 880px) {
  .hero-glyphs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glyphs { display: none; }
}

/* Pulso do sensor Sheikah — anéis que expandem do centro, sutil e espaçado */
.hero-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-pulse span {
  position: absolute;
  top: 0; left: 0;
  width: 64vmin; height: 64vmin;
  margin: -32vmin 0 0 -32vmin;
  border: 1.5px solid rgba(91,192,255,0.5);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(63,169,255,0.25), inset 0 0 24px rgba(63,169,255,0.12);
  opacity: 0;
  transform: scale(0.12);
  animation: heroPulse 10s ease-out infinite;
}
.hero-pulse span:nth-child(2) { animation-delay: 5s; }
@keyframes heroPulse {
  0%   { transform: scale(0.12); opacity: 0; }
  6%   { opacity: 0.35; }
  45%  { transform: scale(2.1);  opacity: 0; }
  100% { transform: scale(2.1);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pulse { display: none; }
}
.hero-logo {
  position: absolute;
  top: calc(50% - 60px);
  left: 50%;
  width: min(640px, 85vw);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(63,169,255,0.45));
  /* fade de baixo pra cima: some na parte inferior, integrando ao fundo */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 55%);
          mask-image: linear-gradient(to top, transparent 0%, #000 55%);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 14px)); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  text-shadow:
    0 0 12px rgba(91,192,255,0.8),
    0 0 28px rgba(63,169,255,0.7),
    0 0 55px rgba(63,169,255,0.5);
  margin-bottom: 8px;
}
.hero .runes { font-size: 1.1rem; display: block; margin-bottom: 22px; }
.hero p.tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--cyan);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Calamity", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2b7fd6);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 28px rgba(63,169,255,0.8); }
.btn-ghost {
  background: rgba(63,169,255,0.06);
  border-color: rgba(63,169,255,0.4);
  color: var(--cyan);
}
.btn-ghost:hover { background: rgba(63,169,255,0.16); transform: translateY(-3px); }
/* Botão do YouTube (vermelho da marca) */
.btn-youtube {
  background: linear-gradient(135deg, #ff0000, #c4302b);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}
.btn-youtube:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.8);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--navy-800);
  border-top: 1px solid rgba(63,169,255,0.15);
  border-bottom: 1px solid rgba(63,169,255,0.15);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: "Hylia Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cyan);
  text-shadow: var(--glow);
}
.stat .label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background:
    linear-gradient(rgba(5,11,22,0.88), rgba(5,11,22,0.93)),
    url("assets/img/map.png") center/cover;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.creator-photo {
  position: relative;
  z-index: 2;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(63,169,255,0.6);
  box-shadow: 0 0 50px rgba(63,169,255,0.5), inset 0 0 30px rgba(5,11,22,0.4);
}
.creator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-art .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 0 12px rgba(63,169,255,0.7));
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about p { color: var(--muted); margin-bottom: 18px; }
.about p strong { color: var(--ivory); }

/* =========================================================
   CONTEÚDO / PILARES
   ========================================================= */
#conteudo {
  background:
    linear-gradient(rgba(5,11,22,0.85), rgba(5,11,22,0.85)),
    url("assets/img/blue.jpg") center/cover;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(63,169,255,0.18);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(63,169,255,0.18), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(63,169,255,0.55);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), var(--glow);
}
.card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(63,169,255,0.5));
}
/* padroniza ícones em imagem (independente do tamanho original) */
.card .icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto;
}
.card h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--cream); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* =========================================================
   VÍDEOS EM DESTAQUE
   ========================================================= */
.videos {
  background:
    url("assets/img/pattern-triforce.png") repeat,
    var(--navy-800);
  background-size: 110px auto, auto;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(63,169,255,0.18);
  background: var(--navy-700);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.55); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-900));
  display: grid;
  place-items: center;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.04); }
.video-thumb .play {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(63,169,255,0.9);
  color: #fff; font-size: 1.5rem;
  box-shadow: var(--glow);
  transition: transform 0.2s ease;
}
.video-card:hover .play { transform: scale(1.12); }
.video-card .meta { padding: 18px 20px; }
.video-card .meta h3 { font-family: "Rogliano", serif; font-size: 1.15rem; margin-bottom: 6px; }
.video-card .meta span { font-size: 0.85rem; color: var(--muted); }

/* =========================================================
   LINKS / REDES (estilo beacons)
   ========================================================= */
.links {
  background:
    linear-gradient(rgba(5,11,22,0.85), rgba(5,11,22,0.85)),
    url("assets/img/blue.jpg") center/cover;
}
/* Grade de runas — estilo menu da Tabuleta Sheikah */
.rune-grid {
  max-width: 880px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rune-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(13,28,51,0.9), rgba(5,11,22,0.95));
  border: 1px solid rgba(63,169,255,0.4);
  box-shadow:
    inset 0 0 22px rgba(63,169,255,0.12),
    0 6px 20px rgba(0,0,0,0.45);
  color: var(--cyan);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
/* moldura interna brilhante como nos botões da slate */
.rune-tile::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 9px;
  border: 1px solid rgba(63,169,255,0.35);
  pointer-events: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.rune-ico {
  width: 38%;
  max-width: 46px;
  display: grid;
  place-items: center;
  color: var(--brand, var(--cyan));
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}
.rune-ico svg { width: 100%; height: auto; fill: currentColor; }
.rune-label {
  font-family: "Calamity", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--brand, var(--ivory));
}
/* rune selecionada (hover) — acende em azul como o botão ativo da slate */
.rune-tile:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, #2f8de0, #1f6fc4);
  border-color: var(--blue-glow);
  box-shadow:
    inset 0 0 26px rgba(255,255,255,0.25),
    0 0 28px rgba(63,169,255,0.8);
  color: #fff;
}
.rune-tile:hover::before {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
}
.rune-tile:hover .rune-label { color: #fff; }
.rune-tile:hover .rune-ico {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.7));
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-top: 1px solid rgba(63,169,255,0.2);
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }

/* =========================================================
   DISCORD
   ========================================================= */
.discord {
  background:
    linear-gradient(rgba(5,11,22,0.92), rgba(5,11,22,0.97)),
    url("assets/img/sheikah-wall.jpg") center/cover;
  border-top: 1px solid rgba(63,169,255,0.2);
}
.discord-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.discord-text .section-intro { margin-bottom: 28px; }

.discord-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}
.discord-perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.98rem;
}
.discord-perks li strong { color: var(--ivory); }
.discord-perks .ic {
  flex: 0 0 auto;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(63,169,255,0.5));
}

/* Botão Discord (roxo blurple) */
.btn-discord {
  background: linear-gradient(135deg, #5865f2, #4049c9);
  color: #fff;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.55);
}
.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.85);
}

/* Card lateral */
.discord-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.discord-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(63,169,255,0.15);
}
.discord-card-header img { height: 52px; width: auto; }
.discord-card-header h3 { font-size: 1.25rem; color: var(--cream); }
.discord-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.discord-status i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 8px #3ba55d;
}
.discord-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.discord-stats div {
  background: rgba(5,11,22,0.5);
  border: 1px solid rgba(63,169,255,0.12);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.discord-stats strong {
  display: block;
  font-family: "Hylia Serif", serif;
  font-size: 1.6rem;
  color: var(--cyan);
  text-shadow: var(--glow);
}
.discord-stats span {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.discord-quote {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-900);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(63,169,255,0.12);
  text-align: center;
}
.footer img { height: 130px; width: auto; margin: 0 auto 18px; opacity: 0.9; }
.footer .social {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer .social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(63,169,255,0.3);
  color: var(--cyan);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.footer .social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer .social a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.footer .copy { color: var(--muted); font-size: 0.85rem; }
.footer .copy .runes { display: block; margin-top: 10px; font-size: 0.9rem; }

/* =========================================================
   NAVI — fada que segue o cursor (CSS puro)
   ========================================================= */
#navi {
  position: fixed;
  left: 0; top: 0;
  width: 0; height: 0;
  z-index: 65;
  pointer-events: none;
  will-change: transform;
}
/* no modo órbita ela é clicável; depois de seguir o mouse, deixa de bloquear cliques */
#navi:not(.following) { pointer-events: auto; cursor: pointer; }
#navi:not(.following) .navi-core,
#navi:not(.following) .navi-glow { pointer-events: auto; }
.navi-core {
  position: absolute;
  left: -5px; top: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #d4f3ff 40%, #4fb4ff 100%);
  box-shadow:
    0 0 6px 2px #aee6ff,
    0 0 14px 5px rgba(79, 180, 255, 0.85),
    0 0 30px 12px rgba(63, 169, 255, 0.55);
  animation: navi-pulse 1.5s ease-in-out infinite;
}
.navi-glow {
  position: absolute;
  left: -22px; top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 190, 255, 0.45) 0%, rgba(63, 169, 255, 0) 70%);
  animation: navi-pulse 1.5s ease-in-out infinite;
}
@keyframes navi-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.95; }
  50%      { transform: scale(1.35); opacity: 1; }
}
/* asinhas translúcidas batendo */
.navi-wing {
  position: absolute;
  top: -10px;
  width: 20px; height: 13px;
  border-radius: 60% 60% 55% 55%;
  background: radial-gradient(circle at 70% 50%, rgba(214, 244, 255, 0.9), rgba(120, 200, 255, 0.3) 65%, transparent 80%);
  filter: blur(0.4px);
}
.navi-wing--l { left: -19px; transform-origin: 100% 60%; animation: navi-flap-l 0.16s ease-in-out infinite; }
.navi-wing--r { left: -1px;  transform-origin: 0% 60%;   animation: navi-flap-r 0.16s ease-in-out infinite; }
@keyframes navi-flap-l {
  0%, 100% { transform: rotate(-22deg) scaleX(1); }
  50%      { transform: rotate(-30deg) scaleX(0.45); }
}
@keyframes navi-flap-r {
  0%, 100% { transform: rotate(22deg) scaleX(1); }
  50%      { transform: rotate(30deg) scaleX(0.45); }
}
/* rastro de poeira mágica */
.navi-trail {
  position: fixed;
  left: 0; top: 0;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle, #eafbff 0%, rgba(99, 190, 255, 0.7) 50%, transparent 78%);
  pointer-events: none;
  z-index: 64;
  animation: navi-trail-fade 0.95s ease-out forwards;
}
@keyframes navi-trail-fade {
  0%   { opacity: 0.95; transform: scale(1); }
  100% { opacity: 0;    transform: scale(0.15) translateY(12px); }
}
/* pisca amarelo quando a galinha leva uma porrada */
#navi { transition: filter 0.3s ease; }
#navi.hit { animation: navi-hit 0.45s ease-out; }
@keyframes navi-hit {
  0%, 100% { filter: none; }
  25%      { filter: hue-rotate(-155deg) saturate(2.2) brightness(1.5); }
}
/* fica verde ao passar o mouse sobre um link */
#navi.link-hover { filter: hue-rotate(-80deg) saturate(1.6) brightness(1.1); }
/* fica amarela durante todo o ataque das galinhas (tem prioridade sobre o verde) */
#navi.alert { filter: hue-rotate(-155deg) saturate(2.2) brightness(1.3); }
@media (prefers-reduced-motion: reduce) {
  #navi { display: none !important; }
}

/* =========================================================
   EASTER EGG — CUCCO (galinha 8-bit)
   ========================================================= */
/* faixa no fim do site onde a galinha mora (só acha quem rola até embaixo) */
.cucco-ground {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: var(--navy-900);
}
#cucco {
  position: absolute;
  bottom: 0;
  left: -80px;
  z-index: 2;
  width: 64px;
  height: 56px;
  display: none;            /* só aparece quando .active */
  cursor: pointer;
  transform: scaleX(-1);    /* entra virada pra direita */
}
#cucco.active {
  display: block;       /* movimento controlado via JS (comportamento natural) */
}
/* parada: pernas estáticas, só dando umas bicadas/olhadas */
#cucco.idle .cucco-body {
  animation: cucco-peck 1.6s ease-in-out infinite;
}
.cucco-body {
  width: 100%;
  height: 100%;
  background: url("assets/sprites/cucco-a.png") center bottom / contain no-repeat;
  image-rendering: pixelated;
  transform-origin: 50% 100%;
  animation:
    cucco-step 0.6s steps(1) infinite,
    cucco-peck 2.6s ease-in-out infinite;
}
/* ciclo de caminhada — 4 frames da linha 2 */
@keyframes cucco-step {
  0%   { background-image: url("assets/sprites/cucco-a.png"); }
  25%  { background-image: url("assets/sprites/cucco-b.png"); }
  50%  { background-image: url("assets/sprites/cucco-c.png"); }
  75%  { background-image: url("assets/sprites/cucco-d.png"); }
}
/* ciscada: dá uma bicada pro chão de vez em quando */
@keyframes cucco-peck {
  0%, 80%, 100% { transform: rotate(0deg) translateY(0); }
  88%           { transform: rotate(-12deg) translateY(2px); }
  94%           { transform: rotate(0deg) translateY(0); }
}
/* enxame de cuccos bravos que perseguem o ponteiro */
.cucco-swarm {
  position: fixed;
  left: 0; top: 0;
  width: 64px; height: 56px;
  z-index: 61;
  pointer-events: none;
  will-change: transform;
}
.cucco-swarm > i {
  display: block;
  width: 100%; height: 100%;
  background: url("assets/sprites/cucco-fly-a.png") center bottom / contain no-repeat;
  image-rendering: pixelated;
  animation: cucco-fly 0.32s steps(1) infinite;
}
@keyframes cucco-fly {
  0%   { background-image: url("assets/sprites/cucco-fly-a.png"); }
  25%  { background-image: url("assets/sprites/cucco-fly-b.png"); }
  50%  { background-image: url("assets/sprites/cucco-fly-c.png"); }
  75%  { background-image: url("assets/sprites/cucco-fly-d.png"); }
}

/* tomou a porrada: para de andar (tonta) e mostra a pose de dano */
#cucco.hurt {
  animation-play-state: paused;
}
#cucco.hurt .cucco-body {
  animation: none;
  background-image: url("assets/sprites/cucco-hurt.png");
}
@media (prefers-reduced-motion: reduce) {
  #cucco { display: none !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(75vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(5,11,22,0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(63,169,255,0.2);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 60; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-art { order: -1; }
  .discord-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pillars-grid,
  .videos-grid { grid-template-columns: 1fr; }
  .rune-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ============ BANNER DE COOKIES (LGPD) ============ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--navy-800) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 40%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ivory);
}
.cookie-text a { color: var(--cyan); }
.footer .copy a { color: var(--cyan); text-decoration: none; }
.footer .copy a:hover { text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--accept {
  background: var(--blue);
  color: var(--navy-900);
  box-shadow: var(--glow);
}
.cookie-btn--accept:hover { background: var(--blue-glow); }
.cookie-btn--reject {
  background: transparent;
  color: var(--muted);
  border-color: color-mix(in srgb, var(--muted) 40%, transparent);
}
.cookie-btn--reject:hover { color: var(--ivory); border-color: var(--ivory); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}
