:root {
    color-scheme: dark;
    --canvas: #0e1119;
    --surface: #171e2b;
    --line: #2b3546;
    --text: #f6f8ff;
    --muted: #c2cad9;
    --accent: #77adff;
    --blue: #1463d4;
    --blue-hover: #1157bc;
    font-family: system-ui, sans-serif;
    color: var(--text);
    background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; text-shadow: 0 0 .1em #70b8ff8c, 0 0 .34em #3188ff66, 0 0 .65em #205bfa4d; }
p { color: var(--muted); line-height: 1.65; }
.wrap { width: min(73rem, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: #10141e; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; min-height: 4.75rem; padding-block: .65rem; }
.wordmark { color: var(--text); text-transform: uppercase; font-size: .95rem; font-weight: 800; letter-spacing: .16em; text-decoration: none; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.8rem, 3vw, 2rem); }
.header-nav a { color: var(--muted); padding-block: .45rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.header-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #fff; outline-offset: .25rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: .7rem 1rem; border: 1px solid var(--blue); border-radius: .4rem; background: var(--blue); color: #fff; font-size: .94rem; font-weight: 750; line-height: 1.3; text-decoration: none; }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button.outline { background: transparent; color: var(--accent); border-color: #4b6d9e; }
.button.outline:hover { background: #1b2c46; }
.hero { display: grid; grid-template-columns: .9fr 1.15fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.25rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(2.85rem, 7.6vw, 6rem); line-height: .93; letter-spacing: -.07em; }
.hero h1 span { display: block; margin-top: .45em; color: var(--accent); font-size: .34em; line-height: 1.15; letter-spacing: 0; }
.hero p { max-width: 30rem; margin-top: 1.35rem; }
.hero .button {
    width: min(100%, 23rem);
    min-height: 5rem;
    margin-top: 1.4rem;
    border-color: #80b7ff;
    border-radius: .8rem;
    background: linear-gradient(123deg, #b5dbff26, transparent 55%), linear-gradient(180deg, #1966d1, #123a9a);
    box-shadow: inset 0 1px 0 #c5e3ff70, 0 .4rem 1.5rem #0b5ce94d;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: box-shadow .18s ease, transform .18s ease;
}
.hero .button:hover { transform: translateY(-2px); border-color: #c7e5ff; box-shadow: inset 0 1px 0 #fff8, 0 .6rem 1.8rem #2379ff80; }
.hero .button:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .hero .button { transition: none; }
    .hero .button:hover { transform: none; }
}
.hero-art { width: min(100%, 24rem); justify-self: center; aspect-ratio: 1; }
.catalog { padding-block: 2rem clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: -.04em; }
.catalog h2 { margin-bottom: 1.5rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); }
.tile img { aspect-ratio: 1; object-fit: contain; }
.tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1rem 1.2rem 1.2rem; }
.tile h3 { font-size: 1.3rem; }
.tile p { flex: 1; font-size: .94rem; }
.tile .button { margin-top: .25rem; }
.details { padding-block: clamp(2.25rem, 7vw, 5rem); background: #121824; border-block: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2rem; }
.detail { border-top: 1px solid var(--line); padding-top: 1rem; }
.detail h3 { margin-bottom: .55rem; font-size: 1.18rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.7rem; }
.site-footer p { font-size: .88rem; }
@media (max-width: 52rem) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 43rem) {
    .header-nav { order: 1; width: 100%; }
    .tiles, .detail-grid { grid-template-columns: 1fr; }
}

.tile .format-art { object-fit: cover; }
.format-art.slots { object-position: left center; }
.format-art.fast { object-position: center; }
.format-art.live { object-position: right center; }
.detail-link { display: block; color: var(--text); text-decoration: none; }
.detail-link:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem); align-items: start; gap: clamp(1.75rem, 5vw, 4rem); padding-block: clamp(2.25rem, 6vw, 5.5rem); }
.article h1 { font-size: clamp(2.45rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.055em; margin-bottom: 1rem; }
.article section { margin-top: 1.55rem; padding-top: 1.55rem; border-top: 1px solid var(--line); }
.article h2 { font-size: clamp(1.3rem, 2.55vw, 1.8rem); margin-bottom: .6rem; }
.article .game-art { margin-top: 1.5rem; border-radius: .8rem; }
.sidebar { border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); padding: 1.2rem; }
.sidebar nav + nav { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.sidebar h2 { margin-bottom: .65rem; font-size: 1.14rem; }
.sidebar a { display: block; margin-top: .45rem; color: var(--accent); text-underline-offset: .2em; }
@media (max-width: 43rem) {
    .article-layout { grid-template-columns: 1fr; }
}
