/* NDG — site institucional. Sem framework; CSS moderno, tema escuro, acentos em gradiente. */

:root {
  --bg: #0b0b12;
  --bg-2: #12121a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5fa;
  --muted: #a3a3b8;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --warm: #e8743b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1160px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 500; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 0.9rem;
}

/* fundo */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-a { width: 560px; height: 560px; left: -160px; top: -120px; background: #4a2fd8; animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; right: -140px; top: 20vh; background: #0e8ea3; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-c { width: 380px; height: 380px; left: 35vw; bottom: -200px; background: #7a2f8e; opacity: 0.35; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(60px, 40px, 0); } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; padding: 0.9rem 0;
}
.nav::before {
  content: ''; position: absolute; inset: 0 -2.5rem; z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 11, 18, 0.9), rgba(11, 11, 18, 0.55));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-2); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; color: var(--text); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b3df5 60%, var(--accent-2) 140%);
  border-color: transparent; box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(124, 92, 255, 0.45); background: linear-gradient(135deg, #8b6fff, #5b3df5 60%, var(--accent-2) 140%); }
.btn-ghost { background: transparent; }
.btn-disabled { opacity: 0.6; cursor: default; box-shadow: none; }
.btn-disabled:hover { transform: none; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
}
.lead { font-size: 1.2rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 2.4rem; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hero-stats li { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.hero-stats strong { display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.hero-stats span { font-size: 0.82rem; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a2a3a, #15151f); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg); animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0b0b12; border-radius: 0 0 18px 18px; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 32px; background: #12121a; padding: 46px 16px 18px; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.ps-caption { font-size: 0.68rem; color: var(--muted); text-align: center; }
.ps-card { background: var(--warm); border-radius: 18px; padding: 18px 14px; text-align: center; color: #fff; }
.ps-symbol { font-size: 1.4rem; }
.ps-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 6px; }
.ps-desc { font-size: 0.72rem; line-height: 1.35; opacity: 0.95; }
.ps-disclaimer { font-size: 0.56rem; color: var(--muted); text-align: center; }
.ps-btn { font-size: 0.78rem; font-weight: 700; text-align: center; padding: 11px; border-radius: 14px; background: #1c1c28; }
.ps-btn-accent { background: var(--accent); }
.float-card {
  position: absolute; padding: 0.7rem 1rem; border-radius: 14px; background: rgba(18, 18, 26, 0.85); border: 1px solid var(--border);
  backdrop-filter: blur(10px); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; box-shadow: var(--shadow);
}
.float-a { left: 0; bottom: 14%; animation: floaty2 6s ease-in-out infinite; }
.float-b { right: 0; top: 10%; animation: floaty2 8s ease-in-out infinite reverse; }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.pill { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--accent); font-size: 0.75rem; }

/* seções */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { max-width: 42rem; margin-bottom: 2.4rem; }
.section-head p { font-size: 1.05rem; }

.game-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.game-card::after {
  content: ''; position: absolute; inset: auto -20% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.35), transparent); pointer-events: none;
}
.game-media { display: flex; justify-content: center; }
.mini-screen {
  width: 100%; max-width: 340px; border-radius: 28px; background: #12121a; border: 1px solid var(--border);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 9px; box-shadow: var(--shadow);
}
.ms-top { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); }
.ms-top span:first-child { padding: 6px 12px; border-radius: 10px; background: #1c1c28; }
.ms-progress { height: 5px; border-radius: 99px; background: #2e2e40; overflow: hidden; }
.ms-progress i { display: block; width: 40%; height: 100%; background: var(--accent); border-radius: 99px; }
.ms-q { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 10px 0 6px; }
.ms-opt { font-size: 0.78rem; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: #1c1c28; }
.ms-opt-active { background: var(--accent); }
.game-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.tag-live { color: #d9f99d; border-color: rgba(163, 230, 53, 0.35); background: rgba(163, 230, 53, 0.08); }
.features { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; color: var(--muted); }
.features li { padding-left: 1.5rem; position: relative; }
.features li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.game-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.coming { margin-top: 1.5rem; }
.coming-card { padding: 1.6rem 1.8rem; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.18); background: transparent; }
.coming-card p { margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.2s ease, background 0.2s ease; }
.card:hover { transform: translateY(-3px); background: var(--surface-2); }
.card p { margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}

.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 0; }
.company div { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.company dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.company dd { margin: 0; font-weight: 600; }
.about-logo { padding: 2.5rem; border-radius: var(--radius); background: radial-gradient(120% 120% at 20% 10%, rgba(124, 92, 255, 0.25), transparent 60%), var(--surface); border: 1px solid var(--border); }

.contact {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.12)); border: 1px solid var(--border);
}
.contact p { margin: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--border); display: grid; gap: 0.8rem; color: var(--muted); font-size: 0.9rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 600; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-meta a:hover { color: var(--text); }

/* páginas legais */
.legal { max-width: 780px; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent-2); }
.legal-meta { font-size: 0.95rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1rem 0 1.4rem; }
.legal th, .legal td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--text); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal td { color: var(--muted); }
.legal-sep { border: 0; border-top: 1px solid var(--border); margin: 4rem 0; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-card, .orb { animation: none; }
}

/* responsivo */
@media (max-width: 960px) {
  .hero, .game-card, .about { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; }
  .phone { width: 260px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem; background: rgba(11, 11, 18, 0.97); border-bottom: 1px solid var(--border); }
  .nav-links a { padding: 0.9rem 0; border-top: 1px solid var(--border); }
  .nav-links .btn { margin-top: 0.8rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .float-card { display: none; }
}
