:root {
    color-scheme: dark;
    --bg: #060606;
    --panel: #111;
    --panel-soft: #171717;
    --text: #f5f5f5;
    --muted: #a3a3a3;
    --dim: #666;
    --red: #e12626;
    --red-dark: #9f1717;
    --line: rgba(255, 255, 255, .1);
    --radius: 24px;
    --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 24%, rgba(185, 28, 28, .09), transparent 34rem),
        var(--bg);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 10px 14px; background: white; color: black; }
.skip-link:focus { top: 10px; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 6, 6, .88);
    backdrop-filter: blur(18px);
}
.nav-shell { display: flex; width: var(--shell); min-height: 76px; margin: auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: -.06em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.brand b { color: var(--red); }
.site-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(13px, 1.6vw, 25px); }
.site-nav a { color: #aaa; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: white; }
.site-nav a.active { position: relative; }
.site-nav a.active::after { position: absolute; right: 0; bottom: -12px; left: 0; height: 2px; content: ''; background: var(--red); }
.nav-play, .button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.nav-play { padding: 12px 20px; background: var(--red); }
.nav-play:hover, .button:hover { transform: translateY(-2px); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: #111; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.home-hero {
    position: relative;
    min-height: calc(92vh - 76px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.15) 75%),
        linear-gradient(to bottom, transparent 55%, var(--bg)),
        url('../1.png') 52% center/cover;
}
.home-hero::after { position: absolute; inset: 0; content: ''; background: radial-gradient(circle at 23% 50%, rgba(225,38,38,.12), transparent 25rem); pointer-events: none; }
.hero-shell { position: relative; z-index: 2; width: var(--shell); margin: auto; padding: 90px 0; }
.hero-copy { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: #f87171; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { width: 30px; height: 2px; content: ''; background: var(--red); box-shadow: 0 0 12px rgba(225,38,38,.7); }
.home-hero h1 { max-width: 900px; margin: 22px 0; font-size: clamp(48px, 7.3vw, 94px); font-weight: 900; line-height: .92; letter-spacing: -.065em; text-shadow: 0 5px 35px #000; }
.home-hero h1 span, .accent { color: var(--red); }
.lead { max-width: 700px; margin: 0; color: #d4d4d4; font-size: clamp(16px, 2vw, 20px); line-height: 1.75; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 50px; padding: 0 25px; }
.button-primary { background: linear-gradient(135deg, #ee3030, #b91616); box-shadow: 0 15px 34px rgba(225,38,38,.22); }
.button-secondary { border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.45); backdrop-filter: blur(10px); }
.button-secondary:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-discord { background: #5865f2; }
.live-pill { display: inline-flex; margin-top: 24px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: rgba(0,0,0,.55); color: #ccc; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 12px rgba(239,68,68,.8); }
.status-dot.is-online { background: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,.8); }
.is-online { color: #86efac; }
.is-offline { color: #fca5a5; }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(8,8,8,.95), rgba(8,8,8,.6)), url('../HardcoreRPbanner.png') center/cover; }
.page-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(to top, var(--bg), transparent 65%); }
.page-hero .shell { position: relative; z-index: 2; padding-top: 105px; padding-bottom: 100px; }
.page-hero h1 { max-width: 900px; margin: 18px 0 20px; font-size: clamp(43px, 6vw, 76px); font-weight: 900; line-height: .97; letter-spacing: -.055em; }
.page-hero p { max-width: 720px; margin: 0; color: #ccc; font-size: 17px; line-height: 1.8; }
.shell { width: var(--shell); margin-right: auto; margin-left: auto; }
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(16,16,16,.72); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head h2, .split-copy h2 { margin: 15px 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.section-head p, .split-copy p { color: var(--muted); line-height: 1.8; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: radial-gradient(circle at 100% 0, rgba(225,38,38,.09), transparent 17rem), linear-gradient(145deg, #171717, #0a0a0a); box-shadow: 0 22px 65px rgba(0,0,0,.2); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(225,38,38,.45); }
.card h2, .card h3 { margin: 17px 0 10px; line-height: 1.2; letter-spacing: -.03em; }
.card h3 { font-size: 22px; }
.card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-link { display: inline-flex; margin-top: 20px; color: #f87171; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.icon { display: grid; width: 55px; height: 55px; place-items: center; border: 1px solid rgba(248,113,113,.26); border-radius: 15px; background: rgba(225,38,38,.09); font-size: 24px; }
.number { position: absolute; top: -12px; right: 14px; color: rgba(255,255,255,.04); font-size: 92px; font-weight: 900; line-height: 1; }
.tag { display: inline-flex; border: 1px solid rgba(248,113,113,.24); border-radius: 999px; padding: 6px 10px; color: #fca5a5; background: rgba(225,38,38,.08); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.list { margin: 20px 0 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 10px; margin-top: 10px; color: #c6c6c6; font-size: 14px; }
.list li::before { flex: 0 0 auto; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; content: ''; background: var(--red); box-shadow: 0 0 9px rgba(225,38,38,.7); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.prose { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(25px, 4vw, 45px); background: linear-gradient(145deg, #151515, #090909); }
.prose p { margin: 0 0 22px; color: #bbb; font-size: 16px; line-height: 1.9; }
.prose p:last-child { margin-bottom: 0; }
.notice { border: 1px solid rgba(251,191,36,.2); border-radius: 15px; padding: 18px 20px; color: #fde68a; background: rgba(251,191,36,.055); font-size: 14px; line-height: 1.7; }
.big-cta { overflow: hidden; border: 1px solid rgba(225,38,38,.3); border-radius: 30px; padding: clamp(32px, 6vw, 70px); background: linear-gradient(90deg, rgba(6,6,6,.96), rgba(6,6,6,.68)), url('../generatedImage1.png') center/cover; }
.big-cta h2 { max-width: 800px; margin: 15px 0; font-size: clamp(35px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.big-cta p { max-width: 680px; color: #c3c3c3; line-height: 1.8; }
.price { display: block; margin-top: 18px; color: #f87171; font-weight: 900; }
.license-letter { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(248,113,113,.35); border-radius: 14px; color: #f87171; background: rgba(225,38,38,.1); font-size: 21px; font-weight: 900; }
.license-head { display: flex; gap: 15px; align-items: center; }
.license-head h3 { margin: 0; }
.license-head small { display: block; margin-top: 5px; color: #666; }

.status-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; border: 1px solid rgba(34,197,94,.2); border-radius: 26px; padding: 34px; background: radial-gradient(circle at 100% 0, rgba(34,197,94,.09), transparent 25rem), #101010; }
.status-panel h2 { margin: 8px 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.server-address { border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; color: #ddd; background: #080808; font-family: monospace; font-size: 13px; }
.ranking-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #0d0d0d; }
.ranking-head { display: flex; padding: 22px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.ranking-head h2 { margin: 0; }
.ranking-head div { display: flex; gap: 12px; align-items: center; color: #999; font-size: 12px; }
.mini-button { border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; background: #171717; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ranking-row { display: grid; grid-template-columns: 48px minmax(130px, 1.2fr) minmax(110px, .8fr) 85px 92px; gap: 14px; min-height: 68px; padding: 11px 18px; align-items: center; border-top: 1px solid rgba(255,255,255,.065); font-size: 13px; }
.ranking-row:first-child { border-top: 0; }
.rank-place { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #999; background: #1b1b1b; font-size: 10px; font-weight: 900; }
.ranking-row b { color: #f87171; }
.rank-job { color: #999; }
.presence { width: fit-content; border: 1px solid; border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.presence.online { border-color: rgba(34,197,94,.28); color: #86efac; background: rgba(34,197,94,.09); }
.presence.offline { border-color: rgba(239,68,68,.25); color: #fca5a5; background: rgba(239,68,68,.07); }
.empty-state { padding: 45px 20px; color: #777; text-align: center; }
.discord-panel { border-color: rgba(129,140,248,.3); background: radial-gradient(circle at 100% 0, rgba(88,101,242,.22), transparent 20rem), linear-gradient(145deg,#171822,#0a0a0f); }
.discord-live-card { overflow: hidden; border: 1px solid rgba(129,140,248,.34); border-radius: 24px; background: #202225; box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.discord-cover { height: 125px; background: linear-gradient(105deg, rgba(88,101,242,.25), rgba(225,38,38,.08)), url('../HardcoreRPbanner.png') center 42%/cover; }
.discord-body { position: relative; padding: 66px 25px 25px; }
.discord-logo { position: absolute; top: -50px; left: 24px; width: 94px; height: 94px; border: 7px solid #202225; border-radius: 27px; object-fit: cover; background: #111; }
.discord-api-status { position: absolute; top: 16px; right: 20px; border: 1px solid rgba(251,191,36,.22); border-radius: 999px; padding: 6px 9px; color: #fde68a; background: rgba(251,191,36,.08); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.discord-api-status.ready { border-color: rgba(34,197,94,.25); color: #86efac; background: rgba(34,197,94,.08); }
.discord-body h3 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.discord-body > p { margin: 8px 0 0; color: #8e9297; font-size: 12px; line-height: 1.65; }
.discord-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 19px; }
.discord-stat { border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 13px; background: rgba(0,0,0,.17); }
.discord-stat strong { display: block; color: #ddd; font-size: 12px; }
.discord-stat small { display: block; margin-top: 3px; color: #72767d; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.discord-online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 9px rgba(35,165,90,.7); }
.home-discord-section { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 45%, rgba(88,101,242,.12), transparent 28rem), #090909; }
.home-discord-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,7vw,90px); align-items: center; }
.home-discord-layout .split-copy { max-width: 510px; }
.home-discord-layout .discord-live-card { width: 100%; max-width: 660px; justify-self: end; }
.fact-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.fact { padding: 25px; background: #0e0e0e; }
.fact strong { display: block; color: #f87171; font-size: 30px; letter-spacing: -.04em; }
.fact span { display: block; margin-top: 5px; color: #888; font-size: 11px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); background: #050505; }
.footer-shell { display: flex; width: var(--shell); margin: auto; padding: 45px 0; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { margin-bottom: 10px; }
.footer-shell p { margin: 0; color: #666; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: #888; font-size: 11px; font-weight: 700; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 20px; color: #555; font-size: 10px; text-align: center; }

@media (max-width: 980px) {
    .nav-shell { min-height: 68px; }
    .nav-toggle { display: block; }
    .nav-play { display: none; }
    .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; padding: 10px 20px 20px; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: rgba(7,7,7,.98); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 0; }
    .site-nav a.active::after { display: none; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-discord-layout { grid-template-columns: 1fr; }
    .home-discord-layout .discord-live-card { justify-self: start; }
    .split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
    :root { --shell: min(100% - 28px, 1180px); --radius: 20px; }
    .brand img { width: 37px; height: 37px; }
    .home-hero { min-height: calc(88vh - 68px); background-position: 58% center; }
    .hero-shell { padding: 70px 0; }
    .home-hero h1 { font-size: 49px; }
    .page-hero .shell { padding-top: 75px; padding-bottom: 70px; }
    .page-hero h1 { font-size: 44px; }
    .section { padding: 65px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .hero-actions .button, .actions .button { width: 100%; }
    .status-panel { grid-template-columns: 1fr; padding: 25px; }
    .ranking-row { grid-template-columns: 42px minmax(0, 1fr) 70px; gap: 8px; padding: 10px 12px; }
    .rank-job, .presence { display: none; }
    .ranking-head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .footer-shell { align-items: flex-start; flex-direction: column; }
    .footer-links { justify-content: flex-start; }
    .discord-stats, .fact-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
