:root {
  --bg: #07090e;
  --surface: #0f131d;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --gold: #f59e0b;
  --accent: #38bdf8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -2;
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.logo-gem {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}
nav a:hover { color: #fff; }

.hero { padding: 72px 0 54px; text-align: center; animation: fadeUp 0.8s ease-out; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

.section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after { content: ""; height: 1px; flex: 1; background: var(--border); }

.game-card {
  position: relative;
  background: radial-gradient(circle at top right, #211a16, #0d1017 70%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 36px;
  overflow: hidden;
  transition: transform 0.2s ease-out, border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 56px;
}

.game-card:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 20px 50px -15px rgba(245, 158, 11, 0.25);
}

#embers-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.75; }
.game-content { position: relative; z-index: 2; }

.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.tag.status { background: rgba(16, 185, 129, 0.12); color: #34d399; border-color: rgba(16, 185, 129, 0.25); }

.game-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(245, 158, 11, 0.3);
}

.game-desc { color: #cbd5e1; max-width: 640px; margin-bottom: 24px; }

.screenshot-box {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: #080a0f;
}

.screenshot-box img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.feature-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  border-radius: 12px;
}
.feature-box strong { display: block; color: #fbbf24; font-size: 0.9rem; margin-bottom: 4px; }
.feature-box span { font-size: 0.85rem; color: var(--muted); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090d16;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55); }

.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 64px; }
.future-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.future-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.future-card p { font-size: 0.9rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--muted); text-decoration: none; margin-right: 20px; }
footer a:hover { color: #fff; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
