/* Site do IMPERIUM: mesmo padrão da tela inicial do jogo (azul-marinho translúcido, fio de ouro, botão dourado) */
@font-face { font-family: "Lilita"; src: url("/fontes/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --navy: #0c2560;
  --night: #05143f;
  --gold: #ffc94a;
  --gold-text: #ffd866;
  --gold-light: #fff0a8;
  --soft: #d8e8ff;
  --panel: linear-gradient(180deg, rgba(12, 44, 120, 0.80), rgba(5, 20, 66, 0.86));
  --line: 2px solid var(--gold);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: #fff; background: #3a86c8 url("/img/ceu.jpg") center top / cover fixed;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@supports (-webkit-touch-callout: none) { body { background-attachment: scroll; } }   /* iPhone não aceita fundo fixo */
h1, h2, h3, .btn, .lang button, .tag { font-family: "Lilita", system-ui, sans-serif; font-weight: 400; letter-spacing: 0.02em; }
a { color: var(--gold-text); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* topo */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: "Lilita", sans-serif; font-size: 22px; text-shadow: 0 2px 0 rgba(5, 20, 66, 0.5); }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--gold); }
.lang { display: flex; gap: 6px; }
.lang button {
  min-width: 44px; min-height: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer; font-size: 16px;
  color: var(--gold-text); background: var(--panel); border: var(--line);
}
.lang button[aria-pressed="true"] { color: var(--navy); background: linear-gradient(#ffe566, #ffc021 60%, #e88a0c); border-color: var(--gold-light); }

/* destaque */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 28px; }
.hero .logo { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 8px 18px rgba(5, 20, 66, 0.35)); }
.hero p.lead {
  margin: 6px 0 22px; max-width: 640px; font-size: clamp(17px, 2.4vw, 21px); font-weight: 600;
  text-shadow: 0 2px 6px rgba(5, 20, 66, 0.55);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; cursor: pointer;
  min-height: 64px; padding: 0 44px; border-radius: 20px; font-size: clamp(26px, 4vw, 34px); color: var(--navy);
  background: linear-gradient(180deg, #ffe566 0%, #ffc021 55%, #e88a0c 100%); border: 3px solid var(--gold-light);
  box-shadow: 0 8px 0 rgba(150, 80, 0, 0.45), 0 14px 30px rgba(5, 20, 66, 0.35); transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 4px 0 rgba(150, 80, 0, 0.45), 0 8px 18px rgba(5, 20, 66, 0.35); }
.btn svg { width: 0.8em; height: 0.8em; fill: var(--navy); }
.btn.small { min-height: 48px; padding: 0 22px; font-size: 20px; border-radius: 14px; box-shadow: 0 5px 0 rgba(150, 80, 0, 0.45); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.tag { padding: 6px 14px; border-radius: 999px; background: var(--panel); border: var(--line); color: var(--gold-text); font-size: 16px; }

.dica {
  display: none; margin: 18px auto 0; max-width: 560px; padding: 12px 16px; border-radius: 16px; text-align: left;
  background: var(--panel); border: var(--line); font-size: 15px; color: var(--soft);
}
.dica.on { display: flex; gap: 12px; align-items: center; }
.dica svg { flex: none; width: 28px; height: 28px; }
.dica .btn { margin-left: auto; }

/* painéis */
.panel { background: var(--panel); border: var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(5, 20, 66, 0.25); }
section { margin: 0 0 28px; }
h2 {
  display: inline-block; margin: 0 0 14px; padding: 4px 22px; border-radius: 16px; font-size: clamp(22px, 3vw, 28px); color: var(--gold-text);
  background: linear-gradient(180deg, #1a4db4, #071a56); border: var(--line);
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card h3 { margin: 0 0 8px; font-size: 22px; color: var(--gold-text); display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 30px; height: 30px; flex: none; }
.card ul { margin: 0; padding-left: 18px; color: var(--soft); }
.card li { margin: 4px 0; }

/* telas do jogo */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 520px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: var(--line); }
.shots figure { position: relative; }
.shots figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(5, 20, 66, 0.82); border: 1.5px solid var(--gold);
}
.shots img { margin: 0; }

/* como jogar no celular */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 20px; color: var(--gold-text); }
.steps ol { margin: 0; padding-left: 20px; color: var(--soft); }

.cta { text-align: center; padding: 10px 0 6px; }

/* rodapé */
footer { padding: 18px 0 30px; color: var(--soft); font-size: 14px; }
footer .panel { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; padding: 16px 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* páginas de texto (privacidade) */
.doc { max-width: 820px; margin: 0 auto 28px; }
.doc h1 { color: var(--gold-text); font-size: clamp(26px, 4vw, 36px); margin: 0 0 4px; }
.doc h2 { display: block; font-size: 22px; margin: 22px 0 8px; padding: 0; background: none; border: 0; }
.doc p, .doc li { color: var(--soft); }

/* celular deitado: tela baixa, o botão JOGAR precisa aparecer sem rolar */
@media (max-height: 500px) and (orientation: landscape) {
  .top { padding: 8px 0; }
  .hero { padding-bottom: 18px; }
  .hero .logo { width: auto; height: 34vh; }
  .hero p.lead { margin: 2px 0 12px; font-size: 16px; }
  .btn { min-height: 54px; }
  .tags { margin-top: 14px; }
}
