:root {
    --bg: #0b0e13; --panel: #131820; --panel2: #1a212d; --line: #262f3f;
    --text: #e8ecf2; --dim: #8a94a6;
    --or: #f0a020; --yt: #ff3d3d; --cs: #f0a020; --xa: #5fb4ff; --tg: #2aa3e0; --dc: #7a86ff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body {
    color: var(--text); min-height: 100vh; display: flex; flex-direction: column;
    font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.bg {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(60% 45% at 50% -10%, rgba(240,160,32,.16), transparent 70%),
        radial-gradient(45% 40% at 100% 100%, rgba(95,180,255,.09), transparent 70%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 48px);
}
.top, .wrap, .foot {
    position: relative; z-index: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px;
}

/* header */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: 3px; }
.logo b { color: var(--or); }
.cross { position: relative; width: 18px; height: 18px; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--or); }
.cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.cross::after { top: 8px; left: 0; height: 2px; width: 18px; }
.nav { display: flex; gap: 18px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.nav a { color: var(--dim); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--text); border-color: var(--or); outline: none; }

/* hero */
.wrap { flex: 1; padding-top: 60px; padding-bottom: 56px; display: grid; gap: 22px; }
.kicker, .sec { color: var(--or); font-size: 13px; font-weight: 800; letter-spacing: 3px; }
.hero { margin-bottom: 18px; }
.hero h1 {
    margin-top: 10px; font-size: clamp(32px, 7vw, 64px); line-height: 1; font-weight: 900;
    font-style: italic; letter-spacing: .02em;
}
.hero h1 b { color: var(--or); }
.hero p { color: var(--dim); margin-top: 14px; font-size: 17px; }

/* shared bits */
.tag {
    align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: #0b0e13; background: var(--c); padding: 3px 9px;
}
.domain { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--dim); }
.btn {
    display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--c); border: 1px solid var(--c); padding: 10px 16px; white-space: nowrap;
    transition: background .15s, color .15s;
}

/* YouTube banner */
.yt {
    --c: var(--yt);
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
    padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px;
    background:
        linear-gradient(100deg, rgba(255,61,61,.18), transparent 45%),
        linear-gradient(180deg, var(--panel2), var(--panel));
    transition: border-color .15s, transform .15s;
}
.yt-play {
    display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
    background: var(--yt); color: #fff; box-shadow: 0 0 0 8px rgba(255,61,61,.15), 0 10px 30px -8px var(--yt);
}
.yt-body { display: flex; flex-direction: column; gap: 6px; }
.yt-title { font-size: 28px; font-weight: 900; text-transform: uppercase; }
.yt-desc { color: var(--dim); font-size: 15px; line-height: 1.5; max-width: 560px; }
.yt:hover, .yt:focus-visible { border-color: var(--yt); transform: translateY(-3px); outline: none; }
.yt:hover .btn, .yt:focus-visible .btn { background: var(--yt); color: #fff; }

/* game cards */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.game {
    --c: var(--cs);
    position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px;
    padding: 28px; background: linear-gradient(180deg, var(--panel2), var(--panel));
    border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 4px 4px 14px 14px;
    overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.game::before {
    content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
    background: radial-gradient(circle, var(--c), transparent 70%); opacity: .14;
}
.game-xash { --c: var(--xa); }
.game-head { display: flex; justify-content: space-between; align-items: center; }
.slot { font-size: 42px; font-weight: 900; font-style: italic; color: rgba(255,255,255,.07); line-height: 1; }
.game-title { font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.game-desc { color: var(--dim); font-size: 15px; }
.feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 6px 0 4px; flex: 1; align-content: start; }
.feats li { position: relative; padding-left: 16px; font-size: 14px; font-weight: 600; }
.feats li::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; background: var(--c);
    transform: rotate(45deg);
}
.game-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    padding-top: 16px; border-top: 1px dashed var(--line);
}
.game:hover, .game:focus-visible {
    transform: translateY(-5px); border-color: var(--c); outline: none;
    box-shadow: 0 18px 40px -20px var(--c);
}
.game:hover .btn, .game:focus-visible .btn { background: var(--c); color: #0b0e13; }

/* contact */
.contact { margin-top: 26px; }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.ct {
    --c: var(--tg);
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    transition: border-color .15s, background .15s;
}
.ct-dc { --c: var(--dc); }
.ct-sup { --c: var(--or); }
.ct-ico {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px;
    color: var(--c); background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.ct-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ct-name { font-weight: 800; font-size: 15px; }
.ct-handle { color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-arrow { color: var(--dim); font-size: 18px; }
.ct:hover, .ct:focus-visible { border-color: var(--c); background: var(--panel2); outline: none; }
.ct:hover .ct-arrow { color: var(--c); }

.foot { color: var(--dim); font-size: 12px; letter-spacing: 2px; padding-bottom: 24px; }

@media (max-width: 640px) {
    .wrap { padding-top: 36px; }
    .yt { grid-template-columns: auto 1fr; padding: 22px; gap: 18px; }
    .yt-play { width: 58px; height: 58px; }
    .yt .btn { grid-column: 1 / -1; text-align: center; }
    .yt-title { font-size: 22px; }
    .game { min-height: 0; padding: 22px; }
    .game-title { font-size: 24px; }
    .nav { gap: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .yt, .game, .ct, .btn { transition: none; }
}
