/* =========================================================
   PRIMORDIALCRAFT — ESTILO
   Paleta: marrom profundo, dourado, marfim, vermelho-brasa
   ========================================================= */
:root {
  --bg: #120c07;
  --bg-2: #1b120b;
  --bg-3: #241810;
  --card: rgba(40, 27, 17, .72);
  --line: rgba(232, 190, 110, .18);
  --gold: #e8b85c;
  --gold-2: #f5d898;
  --gold-3: #b07a2a;
  --ivory: #f3ead8;
  --text: #e9dfcc;
  --muted: #a8977c;
  --ember: #b8321f;
  --ember-2: #d9482c;
  --discord: #5865f2;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font-title: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-head: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ivory); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
strong { color: var(--ivory); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 32px); }

/* ---------- Botões ---------- */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: var(--h); padding: 10px 26px;
  border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem var(--font-body); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
  text-align: left; color: var(--ivory);
}
.btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn span { display: flex; flex-direction: column; line-height: 1.15; }
.btn strong { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.btn small { font-size: .78rem; opacity: .8; font-weight: 500; }
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.4); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { --h: 40px; padding: 6px 16px; font-size: .9rem; }
.btn--sm svg { width: 18px; height: 18px; }

.btn--play {
  background: linear-gradient(180deg, #c83d25 0%, #93241a 100%);
  border-color: #e0856a55;
  box-shadow: 0 0 0 1px #00000055 inset, 0 10px 30px rgba(184, 50, 31, .45);
}
.btn--play:hover { box-shadow: 0 0 0 1px #00000055 inset, 0 14px 40px rgba(217, 72, 44, .6); filter: brightness(1.08); }

.btn--gold {
  background: linear-gradient(180deg, rgba(122, 82, 30, .55), rgba(60, 38, 16, .75));
  border-color: #c9964a;
  color: var(--gold-2);
  box-shadow: 0 10px 30px rgba(176, 122, 42, .25);
}
.btn--gold svg { fill: var(--gold); }
.btn--gold:hover { border-color: var(--gold-2); box-shadow: 0 14px 40px rgba(232, 184, 92, .35); }

.btn--discord { background: linear-gradient(180deg, #5f6bf5, #4450d6); border-color: #8f98ff55; }
.btn--discord:hover { box-shadow: 0 12px 30px rgba(88, 101, 242, .45); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(18, 12, 7, .82); backdrop-filter: blur(12px); border-color: var(--line); }
.nav__inner { width: min(1180px, 100% - 32px); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 900; font-size: 1.15rem; color: var(--gold-2); }
.nav__brand img:not(.nav__wordmark) { border-radius: 50%; filter: drop-shadow(0 0 8px rgba(232, 184, 92, .45)); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn) { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; }
.nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--gold-2); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 110px 16px 90px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(176, 104, 40, .28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(140, 60, 30, .25), transparent 70%),
    linear-gradient(180deg, #1c130c 0%, #140d08 55%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; left: 50%; top: 32%; width: 720px; height: 720px; translate: -50% -50%; border-radius: 50%; z-index: 0; background: radial-gradient(circle, rgba(245, 190, 100, .2), transparent 62%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.hero__image {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 12, 7, .6) 0%, rgba(18, 12, 7, .38) 30%, rgba(18, 12, 7, .6) 62%, rgba(18, 12, 7, .92) 90%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(18, 12, 7, .15), rgba(18, 12, 7, .55) 100%),
    url("../img/fundo-dragoes.webp") 0% 40% / cover no-repeat;
  transform-origin: left center;
  animation: slowZoom 30s ease-in-out infinite alternate;
}
.embers { position: absolute; inset: 0; }
.embers i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffb65c; box-shadow: 0 0 8px 2px rgba(255, 150, 60, .8); opacity: 0; animation: rise linear infinite; }

.hero__content { text-align: center; max-width: 860px; position: relative; }
.hero__emblem { position: relative; width: clamp(180px, 26vw, 260px); aspect-ratio: 1; margin: 0 auto 10px; }
.hero__emblem img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; -webkit-mask: radial-gradient(circle, #000 58%, transparent 71%); mask: radial-gradient(circle, #000 58%, transparent 71%); filter: drop-shadow(0 0 30px rgba(245, 190, 100, .45)); animation: float 7s ease-in-out infinite; }
.rune-ring { position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(232, 184, 92, .45); animation: spin 60s linear infinite; }
.rune-ring::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(232, 184, 92, .2); box-shadow: 0 0 40px rgba(232, 184, 92, .12) inset; }
.rune-ring::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 2px dotted rgba(232, 184, 92, .28); animation: spin 40s linear infinite reverse; }

.hero__title { margin: 0 auto; width: min(680px, 94vw); line-height: 0; }
.hero__title img { width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(245, 190, 100, .25)); }
.nav__wordmark { width: 215px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.hero__badge {
  margin: 22px auto 26px;
  font: 600 .8rem var(--font-body); letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-2); opacity: .85;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.hero__subtitle { text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px auto 18px; color: var(--gold); max-width: 460px; }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider i { font-style: normal; font-size: .8rem; }
.hero__subtitle { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text); max-width: 620px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__cta .btn { --h: 66px; min-width: 250px; }

.status { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); font-size: .9rem; flex-wrap: wrap; justify-content: center; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #d9a441; box-shadow: 0 0 10px #d9a441; }
.status__dot.is-online { background: #57d163; box-shadow: 0 0 10px #57d163; }
.status__dot.is-offline { background: #d9482c; box-shadow: 0 0 10px #d9482c; }
.status__sep { width: 1px; height: 16px; background: var(--line); }
.status__discord { font-weight: 600; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(232, 184, 92, .5); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; translate: -50% 0; background: var(--gold); border-radius: 2px; animation: scrollHint 1.8s ease-in-out infinite; }

/* ---------- Seções ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__head h2 { font-family: var(--font-title); font-size: clamp(1.9rem, 4.5vw, 2.9rem); background: linear-gradient(180deg, #fff3d6, #d9a54f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font: 600 .78rem var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ember-2); margin-bottom: 10px; }
.subhead { text-align: center; font-size: 1.4rem; margin: 70px 0 28px; }

/* Cartões base */
.card-base, .step, .vip, .cosmetic, .download, .rules li, .faq details, .terms li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 26px; position: relative; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: rgba(232, 184, 92, .45); }
.step__num { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; font: 700 1.3rem var(--font-head); color: #2a1a0a; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); box-shadow: 0 0 20px rgba(232, 184, 92, .35); margin-bottom: 16px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text); margin: 0; }

/* Download */
.download { margin-top: 40px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; overflow: hidden; }
.download__preview { position: relative; min-height: 260px; }
.download__preview img { width: 100%; height: 100%; object-fit: cover; }
.download__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(40, 27, 17, .95)); }
.download__info { padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; }
.download__info h3 { font-size: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding-left: 28px; position: relative; margin: 8px 0; }
.checklist li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold); font-size: .8rem; top: 3px; }
.download__info .btn { margin-bottom: 14px; }

/* VIPs */
.vips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.vip { --c: var(--gold); padding: 34px 28px 28px; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; border-top: 3px solid var(--c); }
.vip:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.vip--destaque { background: linear-gradient(180deg, rgba(70, 46, 22, .85), rgba(40, 27, 17, .85)); transform: scale(1.03); }
.vip--destaque:hover { transform: scale(1.03) translateY(-6px); }
.vip__badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #2a1a0a; font: 700 .72rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.vip__icon { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 60%, transparent)); }
.vip h3 { font-family: var(--font-title); font-size: 1.6rem; color: var(--c); margin-bottom: 6px; }
.vip__price { font: 700 2rem var(--font-head); color: var(--ivory); margin: 6px 0 18px; }
.vip__price small { font: 500 .9rem var(--font-body); color: var(--muted); }
.vip__price .soon { font-size: 1.3rem; color: var(--muted); letter-spacing: .08em; }
.vip ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.vip li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed rgba(232, 184, 92, .12); }
.vip li::before { content: "✓"; position: absolute; left: 2px; color: var(--c); font-weight: 700; }

/* Cosméticos */
.cosmetics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cosmetic { padding: 24px 20px; text-align: center; transition: transform .25s, border-color .25s; display: flex; flex-direction: column; }
.cosmetic:hover { transform: translateY(-4px); border-color: rgba(232, 184, 92, .45); }
.cosmetic__icon { font-size: 2.2rem; margin-bottom: 8px; }
.cosmetic h4 { font-family: var(--font-head); color: var(--ivory); font-size: 1.1rem; margin: 0 0 6px; }
.cosmetic p { color: var(--muted); font-size: .92rem; flex: 1; }
.cosmetic .btn { --h: 42px; justify-content: center; font-size: .85rem; }
.cosmetic .btn strong { font-size: .85rem; }

.notice { margin-top: 44px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid rgba(217, 72, 44, .45); background: rgba(120, 30, 18, .18); font-size: .95rem; }

/* Regras */
.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rules li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; }
.rules li > span { font-size: 1.6rem; line-height: 1; flex: none; margin-top: 2px; }
.rules strong { font-family: var(--font-head); font-size: 1.05rem; }
.rules p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.penalties { text-align: center; margin-top: 30px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: rgba(232, 184, 92, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--ivory); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--gold); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text); }

/* Termos */
.terms { list-style: none; counter-reset: t; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.terms li { counter-increment: t; padding: 18px 20px 18px 64px; position: relative; }
.terms li::before { content: counter(t); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-3); color: var(--gold-2); font: 700 .95rem var(--font-head); }

/* CTA Discord */
.cta-discord { padding: 70px 0; background: radial-gradient(ellipse at center, rgba(88, 101, 242, .18), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-discord__inner { display: flex; align-items: center; gap: 28px; justify-content: center; flex-wrap: wrap; text-align: left; }
.cta-discord__inner img { border-radius: 50%; filter: drop-shadow(0 0 20px rgba(232, 184, 92, .35)); }
.cta-discord h2 { font-family: var(--font-title); font-size: 1.8rem; margin-bottom: 4px; }
.cta-discord p { margin: 0; color: var(--muted); max-width: 440px; }

/* Footer */
.footer { padding: 50px 0 36px; border-top: 1px solid var(--line); background: #0c0805; }
.footer__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.footer__brand img { border-radius: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--gold-2); }
.footer__legal { font-size: .8rem; color: #7a6a52; margin: 0; max-width: 620px; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(480px, 100% - 32px); }
.modal::backdrop { background: rgba(8, 5, 3, .75); backdrop-filter: blur(4px); }
.modal__box { background: linear-gradient(180deg, #2a1c11, #1a110a); border: 1px solid var(--gold-3); border-radius: 18px; padding: 32px 28px 26px; position: relative; box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.modal h3 { font-family: var(--font-title); color: var(--gold-2); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 22px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 2px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 150%; background: #2a1c11; border: 1px solid var(--gold-3); color: var(--ivory); padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow); z-index: 100; transition: translate .35s ease, opacity .35s ease, visibility .35s; max-width: calc(100% - 32px); text-align: center; opacity: 0; visibility: hidden; }
.toast.is-visible { translate: -50% 0; opacity: 1; visibility: visible; }

/* Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Animações */
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { 0%, 100% { opacity: .8; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx, 30px), -95vh); opacity: 0; } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .steps, .vips { grid-template-columns: 1fr; }
  .vip--destaque { transform: none; }
  .vip--destaque:hover { transform: translateY(-6px); }
  .cosmetics { grid-template-columns: repeat(2, 1fr); }
  .download { grid-template-columns: 1fr; }
  .download__preview::after { background: linear-gradient(180deg, transparent 60%, rgba(40, 27, 17, .95)); }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: rgba(18, 12, 7, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .3s ease; }
  .nav__links.is-open { transform: none; }
  .nav__links > a:not(.btn) { padding: 14px 0; width: 100%; text-align: center; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; }
  .nav { background: rgba(18, 12, 7, .9); backdrop-filter: blur(10px); }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero__cta .btn { width: 100%; min-width: 0; }
  .cosmetics { grid-template-columns: 1fr; }
  .cta-discord__inner { text-align: center; }
  .status__sep { display: none; }
}
