@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;700&family=Inter:wght@400;600&family=JetBrains+Mono:wght@400;700&display=swap");

/* Palette pulled from the 0xBurn artwork */
:root {
  --bg: #eaf4fc;          /* sky */
  --panel: #ffffff;
  --line: #b9dcf3;        /* cloud outline */
  --text: #1f3b57;        /* deep navy */
  --muted: #5f7a93;
  --accent: #f26a1b;      /* flame orange */
  --accent-2: #ffb62e;    /* flame yellow */
  --blue: #3f97d3;        /* BURN blue */
  --mono: "JetBrains Mono", monospace;
  --round: Fredoka, Inter, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
body { background: linear-gradient(#dcedfa, var(--bg) 40%); color: var(--text); font: 15px/1.6 Inter, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }
.blue { color: var(--blue); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* header / footer */
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 32px; background: rgba(255,255,255,.7); border-bottom: 2px solid var(--line); backdrop-filter: blur(8px); position: relative; z-index: 2; }
footer { border-top: 2px solid var(--line); border-bottom: 0; font-size: 12px; margin-top: auto; }
footer nav { display: flex; gap: 20px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 20px var(--round); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.right { display: flex; align-items: center; gap: 12px; }
.pill { font: 12px var(--mono); color: var(--muted); border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.pill b { color: var(--text); font-weight: 400; }

/* hero */
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px 48px; }
.hero h1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75em .3em; margin-top: .75em; font: 700 clamp(40px, 8vw, 80px)/1.1 var(--round); }
/* The flames sit above the letters, so lift the image to line "0xBURN" up with the text; row gap offsets it when wrapped. */
.hero h1 img { height: 2em; margin-top: -.75em; }
.hero p { max-width: 560px; margin: 24px 0 28px; font-size: 17px; }
.btn { display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(var(--accent-2), var(--accent)); color: #fff; font: 700 18px var(--round); padding: 12px 40px; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 6px 0 #c9500f, 0 10px 30px rgba(242,106,27,.3); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #c9500f; }

/* cards */
.card { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; padding: 20px; text-align: left; box-shadow: 0 6px 20px rgba(63,151,211,.12); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.features { width: 100%; max-width: 900px; margin-top: 36px; }
.label { font: 11px var(--mono); color: var(--muted); text-transform: uppercase; display: flex; justify-content: space-between; }
.big { font: 700 24px var(--mono); margin: 6px 0; }
.small { font: 11px var(--mono); }

@media (max-width: 600px) {
  header, footer { padding: 10px 16px; }
  footer { flex-direction: column; }
}
