:root {
  --bg: #120700;
  --bg-deep: #050201;
  --panel: rgba(28, 12, 3, 0.88);
  --panel-soft: rgba(35, 16, 4, 0.72);
  --line: rgba(255, 145, 32, 0.28);
  --line-strong: rgba(255, 160, 39, 0.68);
  --text: #fff4df;
  --text-dim: rgba(255, 233, 203, 0.72);
  --accent: #ff8f1f;
  --accent-strong: #ffc145;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 135, 36, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 148, 24, 0.04), rgba(4, 2, 1, 0.98)),
    linear-gradient(135deg, #0b0401, #1b0a01 45%, #050201);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 140, 24, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 24, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.7;
}

a { color: inherit; text-decoration: none; }
.shell { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px; }
.page-grid { display: grid; gap: 24px; }

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 7, 0, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Oxanium", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; box-shadow: 0 0 24px rgba(255, 142, 30, 0.45); }
.nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.nav-link, .nav-user { padding: 10px 14px; border-radius: 999px; color: var(--text-dim); }
.nav-link:hover { color: var(--text); background: rgba(255, 145, 31, 0.1); }
.nav-user { border: 1px solid rgba(255, 155, 32, 0.16); background: rgba(255, 145, 31, 0.08); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  padding: 30px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255, 144, 31, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(29, 13, 4, 0.95), rgba(13, 6, 2, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 220px;
  right: 12%;
  top: 56px;
  background: radial-gradient(circle, rgba(255, 146, 36, 0.26), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-copy, .hero-art { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-family: "Oxanium", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent)); }
.hero h1 {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 span { display: inline-block; color: var(--accent-strong); text-shadow: 0 0 24px rgba(255, 186, 75, 0.45); }
.hero p, .section-heading p, .panel-card p, .recent-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.18rem;
  line-height: 1.5;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #1d0d02; background: linear-gradient(180deg, #ffd06f, #ff8c1d 60%, #de6400); box-shadow: 0 14px 34px rgba(255, 128, 0, 0.28); }
.button-secondary { color: var(--text); background: rgba(255, 145, 31, 0.08); }
.url-preview, .pixel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 145, 31, 0.08);
  color: var(--accent-strong);
  font-family: "Oxanium", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.url-preview { margin-top: 24px; justify-content: flex-start; text-align: left; }
.hero-frame {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 32px;
  border: 1px solid rgba(255, 153, 43, 0.26);
  background: linear-gradient(180deg, rgba(255, 170, 60, 0.08), transparent), linear-gradient(145deg, rgba(255, 123, 0, 0.1), rgba(13, 5, 1, 0.94));
  overflow: hidden;
}

.hero-frame::before, .hero-frame::after { content: ""; position: absolute; inset: 18px; border: 2px solid rgba(255, 146, 33, 0.18); border-radius: 24px; }
.hero-frame::after { inset: auto 20px 20px auto; width: 90px; height: 90px; border-color: rgba(255, 186, 70, 0.18); border-radius: 18px; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12) contrast(1.04); }

.stats-row, .steps-grid, .recent-grid { display: grid; gap: 18px; }
.stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card, .step-card, .panel-card, .recent-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 11, 3, 0.92), rgba(14, 6, 2, 0.9));
  box-shadow: var(--shadow);
}

.stat-card, .step-card, .panel-card { padding: 24px; }
.stat-card strong { display: block; margin-bottom: 6px; font-family: "Oxanium", sans-serif; font-size: 2rem; }
.stat-card span, .step-card p, .recent-meta span, .recent-date { color: var(--text-dim); }
.step-card > span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 12px; background: rgba(255, 146, 32, 0.1); color: var(--accent-strong); font-family: "Oxanium", sans-serif; font-weight: 800; }
.step-card h3, .panel-card h2, .recent-card h3 { margin: 0 0 10px; font-family: "Oxanium", sans-serif; font-size: 1.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; }
.recent-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.recent-card { display: grid; gap: 16px; padding: 22px; }
.recent-top, .recent-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pixel-pill { min-height: 34px; padding: 8px 14px; font-size: 0.78rem; }
.empty-state { display: grid; gap: 10px; padding: 30px; border-radius: var(--radius-lg); border: 1px dashed rgba(255, 149, 31, 0.3); background: rgba(255, 145, 31, 0.05); }
.empty-state h3 { margin: 0; font-family: "Oxanium", sans-serif; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-frame { min-height: 300px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { padding: 16px; }
  .topbar { grid-template-columns: 1fr; border-radius: 28px; justify-items: center; text-align: center; }
  .nav-links { justify-content: center; }
  .hero, .panel-card, .stat-card, .step-card, .recent-card { border-radius: 22px; }
  .stats-row, .steps-grid { grid-template-columns: 1fr; }
  .section-heading, .recent-top, .recent-meta { align-items: flex-start; }
  .button, .url-preview { width: 100%; }
}
