:root {
  --bg: #08070a;
  --panel: rgba(20, 17, 20, 0.82);
  --panel-strong: rgba(33, 28, 28, 0.94);
  --text: #f4ead9;
  --muted: #c8bda9;
  --stone: #b7a98f;
  --lava: #ff6a00;
  --lava-hot: #ffb000;
  --red: #e84022;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 18px 18px;
  image-rendering: pixelated;
  z-index: 1;
}

.lava-bg {
  position: fixed;
  inset: auto 0 0;
  height: 38vh;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 100%, rgba(255, 106, 0, .45), transparent 32%),
    radial-gradient(circle at 70% 100%, rgba(255, 40, 0, .35), transparent 28%),
    linear-gradient(0deg, rgba(255, 90, 0, .42), transparent 70%);
  filter: blur(16px);
  animation: lavaPulse 4s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes lavaPulse {
  from { opacity: .7; transform: translateY(12px) scale(1); }
  to { opacity: 1; transform: translateY(0) scale(1.04); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(8, 7, 10, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; }
.brand span { font-family: "Press Start 2P", monospace; font-size: 12px; }

nav { display: flex; gap: 18px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
nav a:hover { color: var(--lava-hot); }

main, footer { position: relative; z-index: 2; }
.section-pad { padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 88px); }

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lava-hot);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(10px, 1.2vw, 13px);
  line-height: 1.8;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.05; }
h1 {
  max-width: 880px;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(32px, 5.8vw, 78px);
  letter-spacing: -0.05em;
  text-shadow: 0 0 28px rgba(255, 106, 0, .26);
}
h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(24px, 3.2vw, 44px);
  letter-spacing: -0.04em;
}
h3 { font-size: clamp(24px, 3vw, 36px); }

.lead, .section-heading p, .game-panel p, .stone-box p, .contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}
.lead { margin: 28px 0 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--stone);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 6px 6px 0 rgba(0,0,0,.45);
}
.button.primary { background: linear-gradient(135deg, var(--lava), var(--red)); border-color: var(--lava-hot); }
.button.secondary { background: rgba(255,255,255,.06); }
.button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(0,0,0,.5); }

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 34px);
}
.hero-card img {
  width: min(100%, 520px);
  border-radius: 28px;
  box-shadow: 0 30px 120px rgba(255, 106, 0, .22);
  animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.banner-wrap {
  margin: 0 clamp(18px, 5vw, 88px);
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 100px rgba(0,0,0,.6), 0 0 80px rgba(255, 106, 0, .16);
  overflow: hidden;
}
.banner-wrap img { width: 100%; display: block; }

.section-heading { margin-bottom: 36px; }
.section-heading p { margin-top: 22px; }

.game-panel, .stone-box, .contact {
  background: linear-gradient(135deg, rgba(33,28,28,.92), rgba(13,12,16,.92));
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.game-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.feature-list li {
  padding: 16px 18px;
  background: rgba(255, 106, 0, .08);
  border: 1px solid rgba(255, 176, 0, .18);
  font-weight: 800;
}
.feature-list li::before { content: "◆"; color: var(--lava-hot); margin-right: 10px; }

.stone-box { padding: clamp(28px, 5vw, 64px); }
.stone-box p + p { margin-top: 18px; }

.contact { text-align: center; }
.contact > p { margin-inline: auto; }
.social-grid {
  max-width: 900px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.social-grid a {
  display: grid;
  gap: 6px;
  padding: 20px 14px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  font-weight: 900;
}
.social-grid span { color: var(--lava-hot); font-size: 12px; }
.email-note a { color: var(--lava-hot); }

footer {
  padding: 28px 18px 42px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero, .game-panel { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; justify-content: space-between; }
  .brand span { font-size: 10px; }
  .social-grid { grid-template-columns: 1fr; }
}
