:root {
    color-scheme: dark;
    --bg: #0a0b0e;
    --panel: #111319;
    --panel-2: #171a21;
    --line: #242833;
    --text: #f3f5f8;
    --muted: #8c93a3;
    --orange: #f4821f;
    --orange-2: #ff9f3f;
    --green: #3fd18b;
    --red: #ff6262;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 5%, rgba(244,130,31,.13), transparent 30rem),
        radial-gradient(circle at 85% 85%, rgba(88,101,242,.08), transparent 34rem),
        var(--bg);
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.shell { width: min(92vw, 620px); padding: 40px 0 28px; }
.brand { display: flex; align-items: center; gap: 14px; margin: 0 0 22px 4px; }
.brand .mark {
    display: grid; place-items: center; width: 48px; height: 48px;
    border-radius: 14px; font-weight: 900; letter-spacing: -.04em;
    color: #15100a; background: linear-gradient(135deg, var(--orange-2), var(--orange));
    box-shadow: 0 12px 34px rgba(244,130,31,.22);
}
.brand strong, .brand span { display: block; }
.brand strong { letter-spacing: .08em; font-size: 14px; }
.brand span { color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.card {
    position: relative; overflow: hidden; padding: 38px;
    border: 1px solid var(--line); border-radius: 22px;
    background: linear-gradient(160deg, rgba(24,27,34,.98), rgba(14,16,21,.98));
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.card::before {
    content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent 70%);
}
.eyebrow { color: var(--orange-2); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 12px 0 10px; font-size: clamp(28px, 6vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
p { margin: 0; color: #b7bdc9; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 18px; }
.details div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.details span, .details strong { display: block; }
.details span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.details strong { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; }
.steam-button {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    width: 100%; min-height: 54px; margin-top: 10px; border-radius: 13px;
    color: white; text-decoration: none; font-weight: 800;
    background: linear-gradient(135deg, #223b55, #152c42);
    border: 1px solid #315879; transition: transform .16s ease, filter .16s ease;
}
.steam-button:hover { transform: translateY(-1px); filter: brightness(1.12); }
.steam-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid white; border-radius: 50%; font-size: 13px; }
small { display: block; margin-top: 13px; color: var(--muted); text-align: center; }
.result-icon {
    display: grid; place-items: center; width: 66px; height: 66px; margin-top: 28px;
    border-radius: 50%; font-size: 30px; font-weight: 900;
    color: var(--green); background: rgba(63,209,139,.1); border: 1px solid rgba(63,209,139,.35);
}
.error .result-icon { color: var(--red); background: rgba(255,98,98,.1); border-color: rgba(255,98,98,.35); }
.hint { margin-top: 24px; padding: 15px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
footer { margin-top: 18px; color: #626978; text-align: center; font-size: 12px; }
@media (max-width: 560px) {
    .shell { width: min(94vw, 620px); padding-top: 20px; }
    .card { padding: 28px 22px; border-radius: 18px; }
    .details { grid-template-columns: 1fr; }
}
