:root {
  --night: #1a0b2e;
  --night-2: #2d1450;
  --pink: #ff2e88;
  --pink-soft: #ff7ab8;
  --cyan: #00e5ff;
  --gold: #ffb340;
  --sun-top: #ffd24a;
  --sun-bot: #ff2e88;
  --ink: #fdeaff;
  --ink-dim: #b69cd0;
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--night);
  background:
    radial-gradient(120% 80% at 50% 110%, #3a0f5e 0%, var(--night) 55%, #0c0418 100%);
  overflow-x: hidden;
  position: relative;
}

/* ---------- Atmosfera: céu, sol retrô e grade ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sun {
  position: absolute;
  left: 50%;
  bottom: -16vh;
  width: min(72vw, 500px);
  height: min(72vw, 500px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-top) 0%, var(--gold) 38%, var(--sun-bot) 78%);
  filter: blur(0.3px);
  opacity: 0.88;
  box-shadow: 0 0 100px 24px rgba(255, 90, 160, 0.32);
  -webkit-mask-image: repeating-linear-gradient(
    180deg, #000 0 16px, transparent 16px 22px);
  mask-image: repeating-linear-gradient(
    180deg, #000 0 16px, transparent 16px 22px);
  animation: rise 1.4s cubic-bezier(.2,.8,.2,1) both;
}
/* tira as listras na metade de cima do sol */
.sun::after {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, var(--sun-top), var(--gold));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.grid-floor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 240vw;
  height: 48vh;
  transform: translateX(-50%) perspective(40vh) rotateX(72deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 46, 136, 0.35) 1px, transparent 1px);
  background-size: 7vw 7vh;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor-move 8s linear infinite;
}

@keyframes floor-move { to { background-position: 0 7vh; } }
@keyframes rise {
  from { transform: translateX(-50%) translateY(60px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ---------- Grão / textura ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); }
  50% { transform: translate(-3%, 2%); }
  100% { transform: translate(2%, -2%); }
}

/* ---------- Topbar ---------- */
.topbar {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  font-family: "Anton", sans-serif;
  font-size: 18px; letter-spacing: 1px;
  color: var(--night);
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 46, 136, 0.5);
}
.brand-name { font-size: 20px; letter-spacing: 0.5px; }
.brand-name strong { color: var(--pink-soft); }
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.7); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 4vh 28px 6vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kicker {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.7s ease 0.1s forwards;
}

.title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(44px, 10vw, 116px);
}
.title .line { display: block; opacity: 0; animation: fade-up 0.7s ease forwards; }
.title .line:nth-child(1) { animation-delay: 0.18s; }
.title .line:nth-child(2) { animation-delay: 0.30s; }
.title .line:nth-child(3) { animation-delay: 0.42s; }
.title .glow {
  background: linear-gradient(180deg, var(--sun-top), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 46, 136, 0.55));
  font-size: 1.18em;
}

/* ---------- Contador ---------- */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 2vw, 18px);
  margin: 7vh 0 5vh;
  opacity: 0;
  animation: fade-up 0.8s ease 0.55s forwards;
}
.bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(64px, 18vw, 130px);
  padding: 18px 10px 14px;
  background: linear-gradient(180deg, rgba(45, 20, 80, 0.65), rgba(26, 11, 46, 0.65));
  border: 1px solid rgba(255, 122, 184, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.08) inset,
    0 14px 40px rgba(0, 0, 0, 0.45);
}
.num {
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 8vw, 72px);
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.45), 0 0 4px rgba(255, 122, 184, 0.6);
  font-variant-numeric: tabular-nums;
}
.label {
  margin-top: 8px;
  font-size: clamp(10px, 2.4vw, 13px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.sep {
  font-family: "Anton", sans-serif;
  font-size: clamp(28px, 6vw, 56px);
  color: var(--pink);
  align-self: center;
  margin-top: -18px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Botões ---------- */
.actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease 0.75s forwards;
}
.cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.18s, box-shadow 0.25s, background 0.25s;
}
.cta.primary {
  color: var(--night);
  background: linear-gradient(135deg, var(--gold), var(--pink));
  box-shadow: 0 10px 30px rgba(255, 46, 136, 0.45);
}
.cta.primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 46, 136, 0.6); }
.cta.ghost {
  color: var(--cyan);
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  background: rgba(16, 6, 32, 0.55);
  backdrop-filter: blur(4px);
}
.cta.ghost:hover { background: rgba(0, 229, 255, 0.15); transform: translateY(-3px); }

.disclaimer {
  display: inline-block;
  margin-top: 5vh;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--ink-dim);
  background: rgba(16, 6, 32, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Páginas internas (guia, notícias) ============ */
body.page {
  background:
    radial-gradient(120% 70% at 50% -10%, #3a0f5e 0%, var(--night) 50%, #0c0418 100%);
}
.content {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
  padding: 4vh 24px 10vh;
}
.kicker.center { text-align: center; animation: none; opacity: 1; }
.page-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.95;
  font-size: clamp(40px, 8vw, 84px);
  margin-bottom: 18px;
}
.lead {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--ink-dim);
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.5;
}
.lead.small { font-size: 15px; margin-bottom: 28px; }
.lead strong, .verdict strong, .note strong { color: var(--ink); }
.nav a.active { color: var(--pink-soft); }

/* Edições */
.editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.edition {
  position: relative;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(45, 20, 80, 0.55), rgba(26, 11, 46, 0.55));
  border: 1px solid rgba(255, 122, 184, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}
.edition.featured {
  border-color: rgba(255, 179, 64, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 179, 64, 0.25), 0 18px 50px rgba(0, 0, 0, 0.4);
}
.edition .tag {
  position: absolute;
  top: -12px; right: 18px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--night);
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.edition h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price {
  font-size: 26px; font-weight: 700;
  color: var(--cyan);
  margin: 6px 0 16px;
}
.price-note { font-size: 12px; color: var(--ink-dim); font-weight: 500; }
.edition ul { list-style: none; display: grid; gap: 9px; margin-bottom: 16px; }
.edition li { font-size: 15px; line-height: 1.4; color: var(--ink); }
.edition-tip { font-size: 13.5px; color: var(--ink-dim); font-style: italic; }

.verdict, .note {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.note {
  margin-top: 8px;
  margin-bottom: 64px;
  padding: 14px 18px;
  background: rgba(255, 46, 136, 0.08);
  border: 1px solid rgba(255, 46, 136, 0.3);
  border-radius: 12px;
}

.section-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 46px);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Cards de compra */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.buy-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(45, 20, 80, 0.5), rgba(26, 11, 46, 0.5));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 16px;
  transition: transform 0.18s, border-color 0.2s, box-shadow 0.25s;
}
.buy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 22px rgba(0, 229, 255, 0.18);
}
.buy-emoji { font-size: 34px; }
.buy-name { font-weight: 700; font-size: 17px; }
.buy-desc { font-size: 13.5px; color: var(--ink-dim); flex-grow: 1; }
.buy-cta { color: var(--cyan); font-weight: 600; font-size: 14px; margin-top: 8px; }

.cta.back { display: inline-block; margin-top: 8px; }
.content .disclaimer { text-align: center; margin: 8px auto 32px; max-width: 640px; }

@media (max-width: 620px) {
  .editions { grid-template-columns: 1fr; }
}

/* ============ Notícias ============ */
.news-status {
  text-align: center;
  color: var(--ink-dim);
  font-size: 16px;
  padding: 24px 0 8px;
}
.news-status a { color: var(--cyan); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 8px 0 44px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(45, 20, 80, 0.5), rgba(26, 11, 46, 0.5));
  border: 1px solid rgba(255, 122, 184, 0.22);
  border-radius: 16px;
  transition: transform 0.18s, border-color 0.2s, box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 184, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 46, 136, 0.15);
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.news-fonte {
  color: var(--night);
  background: linear-gradient(135deg, var(--cyan), var(--pink-soft));
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.news-data { color: var(--ink-dim); white-space: nowrap; }
.news-titulo {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.32;
  flex-grow: 1;
}
.news-cta { color: var(--cyan); font-weight: 600; font-size: 14px; }

@media (max-width: 560px) {
  .nav { gap: 14px; font-size: 14px; }
  .sep { display: none; }
  .countdown { gap: 8px; }
}

/* Notebooks (telas largas e baixas): empurra o sol pro horizonte pra não
   passar por trás dos botões. No celular (estreito) o sol grande continua. */
@media (min-width: 700px) and (max-height: 1000px) {
  .sun { bottom: -42vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .kicker, .title .line, .countdown, .actions { opacity: 1; }
}
