﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1:focus {
    outline: none;
}

html { scroll-behavior: smooth; }
:root { --iron-bg: #080808; --iron-panel: #111; --iron-panel-soft: #171717; --iron-text: #e8e1d4; --iron-muted: #a79e90; --iron-red: #d72618; --iron-red-dark: #7f1712; --iron-border: rgba(255, 255, 255, .11); }

@font-face { font-family: "IronTitle"; src: url("/fonts/EvilEmpire.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }


/* Home.css */

a { text-decoration: none; }

.iron-page { min-height: 100vh; background: radial-gradient(circle at top, rgba(215, 38, 24, .12), transparent 46rem), linear-gradient( 180deg, #120807 0%, #0f0b0b 35%, #0d0c0c 70%, #0c0c0c 100% ); color: var(--iron-text); font-family: Georgia, "Times New Roman", serif; }

.hero { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--iron-border); }

.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .38), rgba(0, 0, 0, .12)), linear-gradient(180deg, transparent 45%, var(--iron-bg) 100%); }

.hero-overlay { position: relative; z-index: 1; width: min(1600px, calc(100% - 32px)); min-height: 78vh; margin: 0 auto; display: flex; align-items: flex-end; justify-content: flex-end; padding-bottom: 250px; }

.hero-content { width: min(650px, 100%); padding: 28px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(10px); box-shadow: 0 20px 80px rgba(0, 0, 0, .45); text-align: right; }

.eyebrow { font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; margin: 0 0 8px; color: var(--iron-red); text-transform: uppercase; letter-spacing: .18em; font-size: 1.5rem; font-weight: 600; }

h1 { margin: 0; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 8rem; line-height: .86; letter-spacing: .02em; color: #f3eee6; text-shadow: 0 7px 0 rgba(0, 0, 0, .22); }
.content h2,
.content h3,
.final-line { font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }

.subtle-text { font-size: 0.92rem; font-style: italic; color: rgba(232, 225, 212, 0.68); line-height: 1.7; }

.tagline { max-width: 54ch; margin: 24px 0 0; font-size: 1.2rem; line-height: 1.65; color: #e7ddd0; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 28px; }

.steam-button,
.ghost-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-family: Arial, sans-serif; font-size: .8rem; font-weight: 800; }

.steam-button { color: white; background: linear-gradient(180deg, var(--iron-red), var(--iron-red-dark)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 30px rgba(215, 38, 24, .25); }

    .steam-button:hover { filter: brightness(1.12); }

.ghost-button { color: var(--iron-text); background: rgba(255, 255, 255, .06); border: 1px solid var(--iron-border); }

.content { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 96px; text-align: center; }

    .content h2 { margin: 56px 0 18px; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); line-height: .95; letter-spacing: .03em; text-transform: uppercase; }

        .content h2:first-child { margin-top: 0; }

    .content h3 { margin: 42px 0 18px; color: var(--iron-red); font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: .04em; }

    .content p { max-width: 780px; margin: 22px auto; color: var(--iron-muted); font-size: 1.08rem; line-height: 1.85; }

    .content .lead { color: var(--iron-text); font-size: 1.28rem; }

.video-frame { margin: 34px auto; overflow: visible; background: transparent; border: none; box-shadow: none; }

    .video-frame video { display: block; width: 100%; aspect-ratio: 1170 / 450; object-fit: contain; background: transparent; }

.divider { width: 100%; height: 28px; margin: 64px 0 38px; opacity: .62; background: linear-gradient(90deg, transparent, rgba(215, 38, 24, .65), transparent), linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); background-size: 100% 1px, 100% 1px; background-position: center 9px, center 18px; background-repeat: no-repeat; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; text-align: left; }

    .features div { padding: 16px 16px 16px 42px; position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)); border: 1px solid var(--iron-border); color: var(--iron-text); font-family: Arial, sans-serif; font-size: .94rem; }

        .features div::before { content: "✔"; position: absolute; left: 16px; color: var(--iron-red); font-weight: 900; }

.steam-card { position: relative; margin-top: 72px; overflow: hidden; border: 1px solid var(--iron-border); background: var(--iron-panel-soft); box-shadow: 0 24px 90px rgba(0, 0, 0, .48); }

    .steam-card img { display: block; width: 100%; height: auto; }

    .steam-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .84), transparent 58%); pointer-events: none; }

.steam-card-content { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; text-align: left; }

    .steam-card-content h2 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 4.4rem); }

    .steam-card-content p { margin: 0 0 18px; max-width: 520px; color: #ddd4c6; }

.final-line { margin-top: 56px !important; color: var(--iron-text) !important; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: .08em; }


@media (max-width: 760px) {
    .hero { min-height: 70vh; }

    .hero-overlay { min-height: 70vh; align-items: flex-end; justify-content: center; padding-bottom: 28px; }

    .hero-content { text-align: left; }

    .hero-actions { justify-content: flex-start; }

    .features { grid-template-columns: 1fr; }

    .steam-card-content { position: relative; left: auto; right: auto; bottom: auto; padding: 22px; background: #0b0b0b; }

    .steam-card::after { display: none; }
}

.social-section { width: min(980px, calc(100% - 32px)); margin: 12px auto 0; padding-bottom: 16px; }
    .social-section h2 { margin: 56px 0 18px; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); line-height: .95; letter-spacing: .03em; text-transform: uppercase; text-align: center; }

.social-discord { display: block; position: relative; overflow: hidden; text-decoration: none; color: white; background: radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 30rem), linear-gradient(135deg, #5865F2 0%, #313aa8 100%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 80px rgba(0,0,0,.45); transition: transform .18s ease, filter .18s ease; }

    .social-discord:hover { transform: translateY(-2px); filter: brightness(1.04); }

.social-discord-content { padding: 42px; text-align: left; }

.social-label { margin: 0 0 10px !important; color: rgba(255,255,255,.72) !important; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem !important; font-family: Arial, sans-serif; }

.social-discord h3 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: .95; color: white; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform: uppercase; font-weight: 400 }

.social-discord-content p { max-width: 720px; color: rgba(255,255,255,.84); }

.social-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; min-height: 46px; padding: 0 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-family: Arial, sans-serif; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.social-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
    .social-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); }
        .social-card:hover .social-name { color: var(--iron-red); }

.social-name { color: var(--iron-text); font-family: Arial, sans-serif; font-size: 1rem; font-weight: 700; transition: color .16s ease; }

.social-handle { color: var(--iron-muted); font-size: .92rem; }
.section-separator { position: relative; width: 100%; height: 80px; margin: 16px 0; overflow: hidden; }

    .section-separator::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 90%); height: 1px; transform: translate(-50%, -50%); background: linear-gradient( 90deg, transparent, rgba(215, 38, 24, .9) 20%, rgba(255,255,255,.18) 50%, rgba(215, 38, 24, .9) 80%, transparent ); }

    .section-separator::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 18px; background: var(--iron-bg); color: rgba(215, 38, 24, .9); font-size: 1.2rem; }

@media (max-width: 760px) {
    .social-discord-content { padding: 28px; }

    .social-grid { grid-template-columns: 1fr; }
}

/* Leaderboard.css */


.leaderboard-page { height: 100vh; overflow: hidden; padding: 48px 16px; box-sizing: border-box; color: var(--iron-text); background: radial-gradient(circle at top, rgba(215, 38, 24, .14), transparent 46rem), linear-gradient(180deg, #120807 0%, #0f0b0b 35%, #0d0c0c 70%, #0c0c0c 100%); }

.leaderboard-container { width: min(1600px, 100%); height: 100%; margin: 0 auto; display: flex; flex-direction: column; min-height: 0; }

.leaderboard-header { flex: 0 0 auto; margin-bottom: 34px; text-align: center; }

.leaderboard-label { margin: 0 0 10px; color: var(--iron-red); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; font-family: Arial, sans-serif; }

.leaderboard-header h1 { margin: 0; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3rem, 8vw, 6rem); line-height: .9; color: #f3eee6; font-weight: 500; }

.leaderboard-subtitle { margin: 18px auto 0; max-width: 48ch; color: var(--iron-muted); line-height: 1.7; font-family: Georgia, "Times New Roman", serif; }

.leaderboard-actions { margin-top: 24px; }

.back-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; color: #f3eee6; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; font-family: Arial, sans-serif; background: linear-gradient( 180deg, rgba(215,38,24,.95), rgba(127,23,18,.95) ); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 30px rgba(215,38,24,.18); transition: transform .14s ease, filter .14s ease, box-shadow .14s ease; }

    .back-button:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 16px 36px rgba(215,38,24,.26); }

.leaderboard-loading { flex: 1; display: grid; place-items: center; color: #f3eee6; text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; font-weight: 800; font-family: Arial, sans-serif; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }

.leaderboard-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overflow-x: hidden; padding: 6px 10px 6px 0; scrollbar-width: thin; scrollbar-color: rgba(215,38,24,.8) rgba(255,255,255,.05); }

    .leaderboard-list::-webkit-scrollbar { width: 10px; }

    .leaderboard-list::-webkit-scrollbar-track { background: rgba(255,255,255,.045); border-left: 1px solid rgba(255,255,255,.04); }

    .leaderboard-list::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(215,38,24,.95), rgba(127,23,18,.95)); border-radius: 999px; border: 2px solid rgba(0,0,0,.25); }

        .leaderboard-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(230,48,30,1), rgba(160,28,22,1)); }

.leaderboard-entry { display: grid; grid-template-columns: 72px 74px 1fr 190px; align-items: center; gap: 18px; min-height: 108px; padding: 12px 16px; box-sizing: border-box; flex-shrink: 0; background: linear-gradient(90deg, rgba(120, 10, 8, .42), rgba(35, 8, 8, .68)); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 14px 40px rgba(0,0,0,.22); backdrop-filter: blur(4px); transition: transform .16s ease, border-color .16s ease, background .16s ease; }

    .leaderboard-entry:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.16); background: linear-gradient(90deg, rgba(140, 16, 12, .52), rgba(45, 10, 10, .76)); }

.leaderboard-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 18px; }

.leaderboard-footer-left { display: flex; justify-content: flex-start; }

.leaderboard-footer-right { display: flex; justify-content: flex-end; }

.leaderboard-updated { margin: 0; text-align: center; }

.entry-rank { color: #f3eee6; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 2rem; text-align: center; opacity: .92; }

.entry-avatar { width: 74px; height: 74px; object-fit: cover; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }

.entry-details { min-width: 0; }

.entry-name { color: #a7c98b; font-size: 1.5rem; font-weight: 700; line-height: 1.1; font-family: Arial, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.entry-meta { margin-top: 4px; color: rgba(232,225,212,.82); font-size: 1rem; letter-spacing: .03em; font-family: Consolas, monospace; }

.entry-map { width: 190px; height: 108px; object-fit: contain; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }

    .entry-map:hover { transform: scale(1.03); border-color: rgba(255,255,255,.22); box-shadow: 0 10px 28px rgba(0,0,0,.32), 0 0 0 1px rgba(215,38,24,.18); }

.image-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; background: rgba(0,0,0,.84); backdrop-filter: blur(10px); transition: opacity .14s ease; }

    .image-modal.visible { opacity: 1; pointer-events: auto; }

.image-modal-content { max-width: min(1600px, 95vw); max-height: 92vh; object-fit: contain; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(215,38,24,.16); }

@@media (max-width: 760px) {
    html,
    body { overflow: auto; }

    .leaderboard-page { height: auto; min-height: 100vh; overflow: visible; padding: 34px 12px; }

    .leaderboard-container { height: auto; }

    .leaderboard-list { overflow: visible; padding-right: 0; }

    .leaderboard-entry { grid-template-columns: 56px 56px 1fr; gap: 12px; }

    .entry-map { grid-column: 1 / -1; width: 100%; height: 120px; margin-top: 10px; }

    .entry-avatar { width: 56px; height: 56px; }

    .entry-name { font-size: 1.1rem; }

    .entry-meta { font-size: .82rem; }

    .entry-rank { font-size: 1.5rem; }
}

.leaderboard-dual { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; overflow: hidden; }

.leaderboard-column { min-height: 0; display: flex; flex-direction: column; }

.leaderboard-column-title { margin: 0 0 12px; text-align: center; color: #f3eee6; font-family: "IronTitle", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 2rem; font-weight: 500; }

.leaderboard-column .leaderboard-list { flex: 1; }

@media (max-width: 1200px) {
    .leaderboard-dual { grid-template-columns: 1fr; overflow: auto; }

    .leaderboard-column { min-height: 600px; }
}