/* =========================================================
   SEADRAM TECH — Estilos
   ========================================================= */

:root {
  --bg: #07080c;
  --bg-2: #0c0e15;
  --surface: #11141d;
  --surface-2: #171b26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f5;
  --muted: #9aa1b2;
  --amber: #ff9a45;
  --amber-2: #ffb35c;
  --cyan: #36d6ff;
  --grad: linear-gradient(110deg, var(--amber-2) 0%, #ff7a45 40%, var(--cyan) 100%);

  /* Graveborn */
  --grave-bg: #0b0a09;
  --grave-paper: #ece2d0;
  --grave-orange: #e8913a;
  --grave-cyan: #3cc8e6;

  /* Temporal Rising */
  --tr-sky-1: #2a1b2e;
  --tr-sky-2: #6b2f2a;
  --tr-sky-3: #c2532a;
  --tr-wood: #5a3a29;
  --tr-wood-2: #7a5038;
  --tr-gold: #f3b733;
  --tr-cream: #fff3d6;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 76px;

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-grave: "Cormorant Garamond", Georgia, serif;
  --f-pixel: "Pixelify Sans", "Courier New", monospace;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection { background: var(--amber); color: #111; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad);
  color: #120d08;
  box-shadow: 0 10px 30px -10px rgba(255, 140, 70, .6);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 140, 70, .8); }
.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); }
.btn--small { padding: 9px 18px; font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-2);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(54, 214, 255, .18), 0 0 14px var(--cyan);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(54, 214, 255, 0), 0 0 20px var(--cyan); } }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 8, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; transition: transform .5s ease; }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.05); }
.brand__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .14em;
}
.brand__tech {
  margin-left: .45em;
  font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: .55;
}
.glow {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .45;
  animation: drift 16s ease-in-out infinite alternate;
}
.glow--amber { background: #ff7a35; top: -160px; left: -120px; }
.glow--cyan { background: #1aa6d6; bottom: -220px; right: -120px; animation-delay: -8s; opacity: .35; }
@keyframes drift {
  to { transform: translate(80px, 60px) scale(1.15); }
}

/* Brasas subindo */
.embers i {
  position: absolute;
  bottom: -20px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber-2);
  box-shadow: 0 0 10px 2px rgba(255, 150, 60, .8);
  opacity: 0;
  animation: rise 9s linear infinite;
}
.embers i:nth-child(1)  { left: 6%;  animation-delay: 0s; }
.embers i:nth-child(2)  { left: 14%; animation-delay: 3.2s; animation-duration: 11s; }
.embers i:nth-child(3)  { left: 23%; animation-delay: 6s; }
.embers i:nth-child(4)  { left: 31%; animation-delay: 1.5s; animation-duration: 12s; }
.embers i:nth-child(5)  { left: 42%; animation-delay: 4.4s; }
.embers i:nth-child(6)  { left: 51%; animation-delay: 7.5s; animation-duration: 10s; }
.embers i:nth-child(7)  { left: 60%; animation-delay: 2.4s; }
.embers i:nth-child(8)  { left: 68%; animation-delay: 5.6s; animation-duration: 13s; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(54,214,255,.8); }
.embers i:nth-child(9)  { left: 77%; animation-delay: .8s; }
.embers i:nth-child(10) { left: 85%; animation-delay: 3.9s; animation-duration: 11s; }
.embers i:nth-child(11) { left: 92%; animation-delay: 6.8s; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(54,214,255,.8); }
.embers i:nth-child(12) { left: 97%; animation-delay: 2s; }
@keyframes rise {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate(40px, -105vh) scale(.3); opacity: 0; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero__lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero__stats {
  list-style: none;
  margin: 0; padding: 26px 0 0;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
}
.hero__stats span { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Cards flutuantes */
.hero__showcase {
  position: relative;
  aspect-ratio: 1 / 0.92;
  perspective: 1400px;
}
.float-card {
  position: absolute;
  margin: 0;
  width: 82%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255,255,255,.03) inset;
  background: var(--surface);
}
.float-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.float-card figcaption { position: absolute; left: 16px; bottom: 16px; }
.float-card--back {
  top: 0; right: 0;
  transform: rotateY(-14deg) rotateZ(3deg);
  animation: floatA 7s ease-in-out infinite;
}
.float-card--front {
  bottom: 0; left: 0;
  transform: rotateY(12deg) rotateZ(-3deg);
  animation: floatB 8s ease-in-out infinite;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 60px -10px rgba(255, 140, 60, .35);
}
@keyframes floatA { 50% { transform: rotateY(-14deg) rotateZ(3deg) translateY(-14px); } }
@keyframes floatB { 50% { transform: rotateY(12deg) rotateZ(-3deg) translateY(12px); } }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.pill--grave {
  font-family: var(--f-grave);
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(10, 9, 8, .75);
  color: var(--grave-paper);
  border: 1px solid rgba(232, 145, 58, .5);
}
.pill--pixel {
  font-family: var(--f-pixel);
  font-size: 15px;
  background: var(--tr-gold);
  color: #3a2414;
  border-radius: 6px;
  box-shadow: 0 3px 0 #a3741a;
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--text);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Seções genéricas ---------- */
.section { padding: 130px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section__lead { color: var(--muted); font-size: 18px; }

/* ---------- Cards dos jogos ---------- */
.games__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .4s;
}
.game-card:hover { transform: translateY(-8px); }
.game-card--grave:hover { border-color: rgba(232, 145, 58, .55); box-shadow: 0 30px 70px -30px rgba(232, 145, 58, .45); }
.game-card--pixel:hover { border-color: rgba(243, 183, 51, .6); box-shadow: 0 30px 70px -30px rgba(80, 200, 140, .4); }

.game-card__media { overflow: hidden; aspect-ratio: 16 / 9; }
.game-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.game-card:hover .game-card__media img { transform: scale(1.06); }

.game-card__body { padding: 30px 32px 34px; color: var(--muted); }
.game-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.game-card__title { color: var(--text); margin-bottom: 4px; }
.game-card__title--grave {
  font-family: var(--f-grave);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grave-paper);
}
.game-card__title--pixel {
  font-family: var(--f-pixel);
  font-weight: 700;
  font-size: 40px;
  color: var(--tr-gold);
  text-shadow: 0 3px 0 #8a5a14;
}
.game-card__sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.game-card--grave .game-card__sub { color: var(--grave-orange); }
.game-card--pixel .game-card__sub { color: #7fd6a0; }
.game-card__cta {
  display: inline-flex;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--text);
}
.game-card__cta span { transition: transform .3s; }
.game-card:hover .game-card__cta span { transform: translateX(6px); }

/* ---------- Selo Google Play ---------- */
.store-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 16px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.1;
  transition: transform .25s, border-color .25s;
}
.play-badge svg {
  width: 26px; height: 26px;
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(54, 214, 255, .6));
}
.play-badge small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}
.play-badge:hover { transform: translateY(-2px); border-color: #fff; }
.play-badge.is-soon { cursor: default; opacity: .9; }
.soon-note {
  font-size: 13px;
  color: var(--grave-orange);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.play-badge--pixel {
  border-radius: 8px;
  border: 3px solid #2a1a10;
  box-shadow: 0 5px 0 #2a1a10;
  background: #1b120c;
}
.play-badge--pixel:hover { transform: translateY(2px); box-shadow: 0 3px 0 #2a1a10; border-color: #2a1a10; }
.soon-note--pixel { font-family: var(--f-pixel); color: var(--tr-cream); letter-spacing: .05em; }

/* =========================================================
   GRAVEBORN
   ========================================================= */
.grave {
  position: relative;
  background: var(--grave-bg);
  padding-bottom: 130px;
  isolation: isolate;
}
.grave__hero { position: relative; }
.grave__hero-img {
  width: 100%;
  height: clamp(320px, 62vw, 760px);
  object-fit: cover;
  object-position: 70% center;
}
.grave__hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 50%, rgba(11, 10, 9, .6) 80%, var(--grave-bg) 99%);
}

.grave__intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 40px;
  position: relative;
  margin-bottom: 90px;
}
.eyebrow--grave {
  font-family: var(--f-grave);
  font-size: 16px;
  color: var(--grave-orange);
  letter-spacing: .25em;
}
.grave__title {
  font-family: var(--f-grave);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grave-paper);
  line-height: 1;
  margin-bottom: 26px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .8);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.grave__rule {
  display: block;
  width: 180px; height: 2px;
  background: linear-gradient(90deg, var(--grave-orange), transparent);
  margin-bottom: 28px;
}
.grave__lead {
  font-family: var(--f-grave);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: #d8cfbf;
  max-width: 620px;
  margin-bottom: 34px;
}

.grave__facts {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.grave__facts li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(232, 145, 58, .25);
  border-radius: 10px;
  background: rgba(20, 17, 14, .7);
  backdrop-filter: blur(6px);
}
.grave__facts strong {
  font-family: var(--f-grave);
  font-size: 34px;
  min-width: 66px;
  font-variant-numeric: lining-nums;
  color: var(--grave-cyan);
  text-shadow: 0 0 18px rgba(60, 200, 230, .5);
}
.grave__facts span { color: #c9bfae; font-size: 15px; line-height: 1.4; }

.grave__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.feature-shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  background: #000;
}
.feature-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s;
  filter: saturate(.9);
}
.feature-shot:hover img { transform: scale(1.04); filter: saturate(1.1); }
/* As artes já trazem o título; a legenda é para leitores de tela e telas pequenas */
.feature-shot__caption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.grave__gallery {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
}

/* =========================================================
   TEMPORAL RISING
   ========================================================= */
.tr {
  position: relative;
  padding: 140px 0 130px;
  background: linear-gradient(180deg, var(--tr-sky-1) 0%, var(--tr-sky-2) 45%, var(--tr-sky-3) 100%);
  overflow: hidden;
  isolation: isolate;
}
.tr::before {
  /* borda serrilhada "pixel" no topo */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background:
    linear-gradient(45deg, var(--grave-bg) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(-45deg, var(--grave-bg) 25%, transparent 25%) 0 0 / 24px 24px;
}
.tr__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tr__sun {
  position: absolute;
  top: 110px; right: 12%;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: #f9e27a;
  box-shadow: 0 0 0 26px rgba(249, 226, 122, .12), 0 0 0 56px rgba(249, 226, 122, .06), 0 0 120px 40px rgba(255, 180, 80, .35);
}
.tr__cloud {
  position: absolute;
  height: 26px;
  background: rgba(255, 220, 200, .12);
  border-radius: 4px;
  animation: cloud 60s linear infinite;
}
.tr__cloud::before, .tr__cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 4px;
}
.tr__cloud::before { width: 55%; height: 22px; left: 15%; top: -18px; }
.tr__cloud::after  { width: 30%; height: 18px; left: 55%; top: -32px; }
.tr__cloud--1 { width: 260px; top: 180px; left: -280px; }
.tr__cloud--2 { width: 180px; top: 340px; left: -200px; animation-duration: 85s; animation-delay: -30s; }
.tr__cloud--3 { width: 320px; top: 70px; left: -340px; animation-duration: 110s; animation-delay: -70s; }
@keyframes cloud { to { transform: translateX(calc(100vw + 400px)); } }

.tr__intro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 100px;
}
.eyebrow--pixel {
  font-family: var(--f-pixel);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--tr-cream);
  background: rgba(0, 0, 0, .25);
  padding: 6px 12px;
  border-radius: 4px;
}
.tr__title {
  font-family: var(--f-pixel);
  font-weight: 700;
  line-height: .9;
  margin-bottom: 28px;
}
.tr__title-top,
.tr__title-bottom { display: block; }
.tr__title-top {
  font-size: clamp(48px, 7vw, 92px);
  color: var(--tr-cream);
  text-shadow: 4px 4px 0 #2b1a10, 0 0 30px rgba(255, 200, 120, .3);
}
.tr__title-bottom {
  font-size: clamp(60px, 9vw, 120px);
  color: var(--tr-gold);
  text-shadow: 5px 5px 0 #2b1a10, 0 0 40px rgba(243, 183, 51, .5);
  letter-spacing: .04em;
}
.tr__lead {
  font-size: 18px;
  color: #ffe9d2;
  max-width: 520px;
  margin-bottom: 32px;
}

.pixel-frame {
  position: relative;
  padding: 10px;
  background: var(--tr-wood);
  border-radius: 10px;
  border: 4px solid #2b1a10;
  box-shadow: 0 10px 0 #2b1a10, 0 30px 60px -10px rgba(0, 0, 0, .6), inset 0 0 0 3px var(--tr-wood-2);
  transform: rotate(1.5deg);
  transition: transform .5s;
}
.pixel-frame:hover { transform: rotate(0) scale(1.02); }
.pixel-frame img { border-radius: 4px; width: 100%; }

.tr__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 100px;
}
.pixel-card {
  background: var(--tr-wood);
  border: 4px solid #2b1a10;
  border-radius: 12px;
  padding: 14px 14px 24px;
  box-shadow: 0 8px 0 #2b1a10, inset 0 0 0 3px var(--tr-wood-2);
  color: #f3dfc4;
  transition: transform .25s, box-shadow .25s;
}
.pixel-card:hover { transform: translateY(-6px); box-shadow: 0 14px 0 #2b1a10, inset 0 0 0 3px var(--tr-gold); }
.pixel-card__img { border-radius: 6px; overflow: hidden; margin-bottom: 18px; border: 3px solid #2b1a10; }
.pixel-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pixel-card h3 {
  font-family: var(--f-pixel);
  font-size: 26px;
  color: var(--tr-gold);
  text-shadow: 2px 2px 0 #2b1a10;
  margin: 0 8px 10px;
}
.pixel-card p { font-size: 15px; margin: 0 8px; line-height: 1.55; }

.tr__gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tr__gallery-title {
  font-family: var(--f-pixel);
  font-size: clamp(34px, 4vw, 50px);
  color: var(--tr-cream);
  text-shadow: 3px 3px 0 #2b1a10;
}
.tr__gallery-head p { margin: 0; font-family: var(--f-pixel); color: #ffd9b0; }
.tr__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.shot {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 4px solid #2b1a10;
  box-shadow: 0 6px 0 #2b1a10;
  transition: transform .25s, box-shadow .25s;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 10px 0 #2b1a10; }
.shot:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 4, 8, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox:target { opacity: 1; visibility: visible; }
.lightbox img {
  position: relative;
  max-height: 88vh;
  width: auto;
  border: 4px solid #2b1a10;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  pointer-events: none;
}
.lightbox__close { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox__close::after {
  content: "×";
  position: absolute;
  top: 18px; right: 26px;
  font-size: 44px;
  line-height: 1;
  color: #fff;
}

/* =========================================================
   ESTÚDIO
   ========================================================= */
.studio::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background:
    linear-gradient(135deg, var(--tr-sky-3) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(-135deg, var(--tr-sky-3) 25%, transparent 25%) 0 0 / 24px 24px;
}
.studio__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.studio__text p { color: var(--muted); font-size: 18px; }
.studio__values { display: grid; gap: 18px; }
.value {
  position: relative;
  padding: 26px 28px 24px 92px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.value:hover { border-color: var(--line-strong); transform: translateX(6px); }
.value__icon {
  position: absolute;
  left: 26px; top: 26px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 154, 69, .1);
  border: 1px solid rgba(255, 154, 69, .3);
}
.value__icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--amber-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value h3 { font-family: var(--f-display); font-size: 19px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { padding-top: 40px; }
.contact__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  isolation: isolate;
}
.contact__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(255, 140, 60, .25), transparent 30%, rgba(54, 214, 255, .22), transparent 60%);
  animation: spin 18s linear infinite;
  filter: blur(60px);
}
@keyframes spin { to { transform: rotate(1turn); } }
.contact__card .section__lead { max-width: 560px; margin: 0 auto 30px; }
.contact__mail {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 2px solid rgba(255, 255, 255, .15);
  padding-bottom: 6px;
  margin-bottom: 36px;
  word-break: break-all;
  transition: border-color .3s;
}
.contact__mail:hover { border-color: var(--amber); }

.socials {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  transition: transform .25s, border-color .25s, background .25s;
}
.socials a:hover { transform: translateY(-4px); border-color: var(--amber); background: rgba(255, 154, 69, .1); }
.socials svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.socials svg .fill { fill: var(--text); stroke: none; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 50px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.footer .brand__mark { width: 34px; height: 34px; }
.footer .brand__name { font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__nav a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.footer__copy small { opacity: .7; }

/* =========================================================
   ANIMAÇÃO DE ENTRADA (ativada pelo JS)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1000px) {
  .hero__inner,
  .grave__intro,
  .tr__intro,
  .studio__inner { grid-template-columns: 1fr; }

  .hero__showcase { max-width: 560px; width: 100%; margin: 0 auto; }
  .grave__intro { margin-top: 20px; gap: 40px; }
  .tr__features { grid-template-columns: 1fr 1fr; }
  .tr__features .pixel-card:last-child { grid-column: 1 / -1; }
  .tr__gallery { grid-template-columns: 1fr 1fr; }
  .studio__inner { gap: 50px; }
}

@media (max-width: 820px) {
  .nav-burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    z-index: 2;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    display: block;
    width: 20px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, background .3s;
    position: relative;
  }
  .nav-burger span::before,
  .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(7, 8, 12, .97);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--text); }
  .nav-toggle:checked ~ .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter no cabeçalho prenderia o menu fixo dentro dele */
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 8, 12, .95); }

  .games__grid { grid-template-columns: 1fr; }
  .grave__features { grid-template-columns: 1fr; }
  .section { padding: 100px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .brand__name { font-size: 15px; }
  .hero__stats { gap: 24px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .game-card__body { padding: 24px 22px 28px; }
  .game-card__title--grave { font-size: 34px; }
  .game-card__title--pixel { font-size: 32px; }
  .tr__features,
  .tr__gallery { grid-template-columns: 1fr; }
  .tr__sun { width: 90px; height: 90px; top: 70px; right: 6%; }
  .value { padding: 88px 22px 22px; }
  .contact__card { padding: 60px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
