/* OG BOMBERMAN website: the game's own look (dark panels, the orange of its buttons, the yellow-to-gold lettering) */
:root {
  --bg: #14171c; --card: #1d2229; --line: #2c333d; --text: #e7eaee; --muted: #8a94a3;
  --accent: #f0a020; --accent-text: #1a1206; --gold-top: #fff7a8; --gold-bottom: #ffa400; --edge: #121646;
  --ok: #47c26b; --bad: #e5534b; --blue: #6fb7ff; --green: #7fdc8f; --hover: #262c35;
  --head: "Arial Rounded MT Bold", "Arial Black", "Segoe UI Black", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--blue); }
img, svg { max-width: 100%; }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }

/* the top bar */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(20, 23, 28, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--head); font-size: 18px; letter-spacing: .5px; }
.nav .brand img { width: 34px; height: 34px; }
.nav .links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav .links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav .links a:hover { background: var(--hover); color: var(--text); }
@media (max-width: 640px) { .nav .links a:not(.btn) { display: none; } }

/* buttons, as in the game */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); box-shadow: 0 6px 24px rgba(240, 160, 32, .28); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: 16px 34px; font-size: 20px; border-radius: 14px; font-family: var(--head); letter-spacing: .5px; }

/* the first screen */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; text-align: center;
  background: radial-gradient(900px 420px at 50% -10%, rgba(240, 160, 32, .16), transparent 70%), radial-gradient(700px 360px at 85% 60%, rgba(61, 139, 253, .10), transparent 70%); }
.hero .logo { width: min(640px, 92%); height: auto; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .55)); }
.hero h1 { margin: 22px 0 10px; font-family: var(--head); font-size: clamp(26px, 4.6vw, 44px); line-height: 1.15; letter-spacing: .3px; }
.gold { background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom)); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0; paint-order: stroke; }
.hero p.lead { margin: 0 auto 28px; max-width: 640px; color: #c3c8ce; font-size: 18px; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.on .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status.off .dot { background: var(--bad); }
.sparks i { position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%; background: #ffd24a; box-shadow: 0 0 12px 3px rgba(255, 170, 40, .7); opacity: 0; animation: rise 7s linear infinite; }
.sparks i:nth-child(1) { left: 8%; animation-delay: 0s; } .sparks i:nth-child(2) { left: 22%; animation-delay: 2.1s; }
.sparks i:nth-child(3) { left: 37%; animation-delay: 4.3s; } .sparks i:nth-child(4) { left: 61%; animation-delay: 1.2s; }
.sparks i:nth-child(5) { left: 76%; animation-delay: 3.4s; } .sparks i:nth-child(6) { left: 91%; animation-delay: 5.6s; }
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-420px) scale(.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sparks { display: none; } html { scroll-behavior: auto; } }

/* sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block h2 { margin: 0 0 8px; font-family: var(--head); font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .3px; }
section.block .sub { margin: 0 0 32px; color: var(--muted); max-width: 640px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: #b7bdc6; font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(180deg, #2b323d, #1a1f26); border: 1px solid var(--line); }
.card.hl { border-color: rgba(240, 160, 32, .5); background: linear-gradient(180deg, rgba(240, 160, 32, .08), var(--card)); }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 20px 70px; position: relative; counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--head); font-size: 20px; color: var(--accent-text); background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom)); border: 2px solid var(--edge); }
.step h3 { margin: 0 0 4px; font-size: 18px; } .step p { margin: 0; color: #b7bdc6; font-size: 15px; }

.keys { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.key { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
kbd { display: inline-block; min-width: 34px; padding: 5px 9px; text-align: center; font: 700 14px/1 ui-monospace, Menlo, Consolas, monospace; color: #fff;
  background: linear-gradient(180deg, #5a6472, #3a424d); border: 1px solid #1a1d23; border-bottom-width: 3px; border-radius: 7px; }
.key span.what { color: #c3c8ce; }

.cmds { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cmds td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.cmds tr:first-child td { border-top: 0; }
.cmds td:first-child { white-space: nowrap; font: 700 14px ui-monospace, Menlo, Consolas, monospace; color: var(--gold-top); width: 1%; }
.cmds td:last-child { color: #c3c8ce; }

.banner { text-align: center; padding: 72px 0; background: radial-gradient(700px 300px at 50% 120%, rgba(240, 160, 32, .20), transparent 70%); border-top: 1px solid var(--line); }
.banner h2 { margin: 0 0 8px; font-family: var(--head); font-size: clamp(26px, 4vw, 38px); }
.banner p { color: var(--muted); margin: 0 0 26px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer img { height: 34px; width: auto; }
footer .legal { max-width: 640px; }
footer a { color: var(--muted); }
