/* Site da Aldren Forge Studios (aldrenforge.com.br) — HTML/CSS puro, sem build. */
:root {
  --bg: #0d0b0a;
  --bg-2: #15110e;
  --card: #1c1612;
  --card-2: #241c16;
  --line: rgba(232, 184, 96, 0.16);
  --text: #f3eadf;
  --muted: #b5a690;
  --gold: #e8b860;
  --gold-2: #f6d28c;
  --ember: #ff7a2f;
  --ok: #7fd48a;
  --radius: 18px;
  --max: 1180px;
  --title: "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--gold-2);
  text-decoration: none;
}
a:hover {
  color: #fff;
}
h1,
h2,
h3 {
  font-family: var(--title);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}

/* ---------- topo ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.top.solid,
.top.always {
  background: rgba(13, 11, 10, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 700 1.05rem/1 var(--title);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(255, 122, 47, 0.35));
}
.brand small {
  display: block;
  font: 600 0.62rem/1.4 var(--body);
  letter-spacing: 0.3em;
  color: var(--gold);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.on {
  background: rgba(232, 184, 96, 0.12);
  color: var(--gold-2);
}
.lang {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 3px;
}
.lang button {
  all: unset;
  cursor: pointer;
  font: 600 0.75rem/1 var(--body);
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--muted);
}
.lang button.on {
  background: var(--gold);
  color: #1a1209;
}
.burger {
  all: unset;
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  place-items: center;
  font-size: 22px;
  color: var(--text);
}
@media (max-width: 860px) {
  .burger {
    display: grid;
    margin-left: auto;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    background: rgba(13, 11, 10, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px;
  }
  .brand small {
    display: none;
  }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1d140a;
  box-shadow: 0 8px 24px rgba(232, 184, 96, 0.25);
}
.btn-gold:hover {
  color: #1d140a;
  box-shadow: 0 10px 30px rgba(255, 160, 70, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn-discord {
  background: #5865f2;
  color: #fff;
}
.btn-discord:hover {
  color: #fff;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.45);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 100px 0 60px;
}
.hero video,
.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 11, 10, 0.2), var(--bg) 78%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero > .wrap {
  position: relative;
  z-index: 2;
}
.hero-logo {
  width: min(240px, 52vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 40px rgba(255, 122, 47, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
.hero h1 {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero h1 span {
  color: var(--gold);
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #e2d6c6;
  max-width: 680px;
  margin: 0 auto 30px;
}
.hero .btns {
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  animation: float 2.4s ease-in-out infinite;
}

.page-hero {
  padding: 140px 0 50px;
  background: radial-gradient(ellipse at top, rgba(255, 122, 47, 0.12), transparent 60%);
  border-bottom: 1px solid var(--line);
}

/* ---------- seções ---------- */
section {
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.head {
  max-width: 720px;
  margin-bottom: 40px;
}
.head.center {
  margin-inline: auto;
}

/* destaque */
.feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-media {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.feature-media img {
  width: 100%;
  aspect-ratio: 1024/500;
  object-fit: cover;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 0.72rem/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
}
.badge-live {
  background: rgba(127, 212, 138, 0.14);
  color: var(--ok);
  border: 1px solid rgba(127, 212, 138, 0.35);
}
.badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.badge-soon {
  background: rgba(232, 184, 96, 0.12);
  color: var(--gold-2);
  border: 1px solid rgba(232, 184, 96, 0.3);
}
.feature-media .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  backdrop-filter: blur(6px);
  background: rgba(13, 11, 10, 0.7);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}
.ticks li {
  padding-left: 30px;
  position: relative;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  rotate: 45deg;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 184, 96, 0.6);
}
@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* grade de jogos */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.game {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
a.game:hover,
.game:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 96, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  color: var(--text);
}
.game-art {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(255, 122, 47, 0.16), transparent 65%), #120e0b;
}
.game-art .blur {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  object-fit: cover;
  filter: blur(28px) saturate(1.3);
  opacity: 0.5;
}
.game-art .icon {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.game-art .icon.plain {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 20px rgba(255, 122, 47, 0.3)) grayscale(0.2);
  opacity: 0.7;
}
.game-art .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 11, 10, 0.72);
  backdrop-filter: blur(6px);
}
.game-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-body h3 {
  margin-bottom: 4px;
}
.game-genre {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.game-body p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}
.game-cta {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  color: var(--gold-2);
  font-size: 0.92rem;
}
.game.is-hidden {
  display: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filters button {
  all: unset;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.filters button.on {
  background: var(--gold);
  color: #1a1209;
  border-color: var(--gold);
}

/* coleção de clássicos */
.classics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 16px;
}
.classic {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.classic img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  transition: transform 0.2s;
}
.classic:hover img {
  transform: scale(1.05);
}

/* pilares */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar .n {
  font: 700 2.4rem/1 var(--title);
  color: var(--gold);
  margin-bottom: 12px;
}
.pillar p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 34px;
}
.stat b {
  display: block;
  font: 700 2rem/1 var(--title);
  color: var(--gold-2);
}
.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* comunidade */
.community {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 56px;
  background: radial-gradient(ellipse at 80% 20%, rgba(88, 101, 242, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 122, 47, 0.18), transparent 50%), var(--card);
  border: 1px solid rgba(88, 101, 242, 0.35);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}
.community .btns {
  justify-content: flex-end;
}
@media (max-width: 820px) {
  .community {
    grid-template-columns: 1fr;
    padding: 34px 22px;
  }
  .community .btns {
    justify-content: flex-start;
  }
}

/* vídeo e galeria */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
}
.videos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}
.videos .phone video {
  aspect-ratio: 9/16;
}
@media (max-width: 820px) {
  .videos {
    grid-template-columns: 1fr;
  }
  .videos .phone {
    max-width: 360px;
    margin-inline: auto;
  }
}
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-color: var(--gold) transparent;
}
.gallery img {
  flex: none;
  width: min(260px, 62vw);
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  place-items: center;
  padding: 20px;
  cursor: zoom-out;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-height: 92vh;
  border-radius: 14px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info .ico {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.info p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.platform:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--text);
}
.platform svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--gold-2);
}
.platform small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.platform b {
  font-size: 1.05rem;
}

.game-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
}
.game-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 20%, rgba(13, 11, 10, 0.4)), linear-gradient(180deg, transparent 50%, var(--bg));
}
.game-hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
  align-items: center;
}
.game-hero .appicon {
  width: 140px;
  height: 140px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  flex: none;
}
@media (max-width: 700px) {
  .game-hero .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .game-hero .appicon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
}

/* rodapé */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
  background: #090807;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 36px;
}
.foot h4 {
  color: var(--text);
  font: 700 0.85rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.foot a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
}
.foot a.brand {
  display: flex;
  color: var(--text);
}
.foot a:hover {
  color: var(--gold-2);
}
.copy {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}
@media (max-width: 820px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > :first-child {
    grid-column: 1 / -1;
  }
}

/* aparecer ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-logo,
  .scroll-hint {
    animation: none;
  }
}

/* O que fazemos */
.head.center-text {
  text-align: center;
}
a.pillar {
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}
a.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 96, 0.45);
  color: var(--text);
}
.pillar .ico {
  font-size: 2rem;
  margin-bottom: 12px;
}
.pillar .game-cta {
  display: block;
}

/* telas bem estreitas (320–400px) */
.foot a {
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .top .wrap {
    gap: 10px;
  }
}
@media (max-width: 370px) {
  .brand > span {
    display: none;
  }
}

/* contato (Games/Apps) */
.community.contact {
  background: radial-gradient(ellipse at 80% 20%, rgba(232, 184, 96, 0.18), transparent 55%), var(--card);
  border-color: var(--line);
}
