:root {
    --bg: #0a0a0d;
    --panel: #131318;
    --panel-alt: #191920;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f4f4f6;
    --text-dim: #9d9da8;
    --yellow: #ffd400;
    --pink: #ff2f7e;
    --online: #2fe6a0;
    --offline: #ff4d4d;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    color: var(--text);
}

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #0a0a0d;
}

.hero-art {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: saturate(1.15) contrast(1.05) brightness(0.55);
}

.hero-tint {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 15%, rgba(255, 47, 126, 0.3), transparent 55%),
        radial-gradient(ellipse at 80% 85%, rgba(255, 212, 0, 0.22), transparent 55%);
    mix-blend-mode: screen;
}

.vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(10, 10, 13, 0.15) 0%, rgba(10, 10, 13, 0.55) 65%, #0a0a0d 100%),
        radial-gradient(ellipse at center, transparent 35%, #0a0a0d 96%);
}

.topnav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.brand {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--yellow);
}

.nav-discord {
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 2px;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-discord:hover { border-color: var(--pink); text-decoration: none; color: var(--pink); }

.hero-card {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.title-block h1 {
    font-size: clamp(2.6rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    color: var(--yellow);
    text-shadow: 0 0 40px rgba(255, 212, 0, 0.25), 3px 3px 0 var(--pink);
}

.tagline {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.5;
}

.cta-row {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    font-weight: bold;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cta:hover { text-decoration: none; border-color: var(--yellow); color: var(--yellow); }

.cta-primary {
    background: var(--yellow);
    color: #0a0a0d;
    border-color: var(--yellow);
}
.cta-primary:hover { background: var(--pink); border-color: var(--pink); color: #0a0a0d; }

.status-chip {
    position: relative;
    z-index: 2;
    align-self: center;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    font-size: 0.85rem;
}
.status-chip:hover { text-decoration: none; }

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
}
.dot.online { background: var(--online); box-shadow: 0 0 8px var(--online); }
.dot.offline { background: var(--offline); box-shadow: 0 0 8px var(--offline); }

/* ---- Main panels ---- */
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.panel {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}
.panel:last-of-type { border-bottom: none; }

.panel h2 {
    font-size: 1.9rem;
    color: var(--yellow);
}

.lede {
    max-width: 640px;
    color: var(--text-dim);
    margin-top: 14px;
    line-height: 1.5;
}

.feature-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 22px;
    transition: border-color 0.15s;
}
.feature:hover { border-color: var(--pink); }

.feature h4 {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.connect-box {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 16px 20px;
}

.connect-box .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.typewriter {
    font-family: "Courier New", monospace;
    color: var(--online);
    font-size: 1rem;
}

h3 {
    margin-top: 34px;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.player-list, .job-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.player-list li, .job-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.player-list li:last-child, .job-list li:last-child { border-bottom: none; }
.player-list li.empty, .job-list li.empty { color: var(--text-dim); justify-content: flex-start; }

.job-list .count { color: var(--yellow); font-weight: bold; }

.rules {
    margin-top: 20px;
    padding-left: 20px;
    color: var(--text-dim);
    line-height: 1.8;
}
.rules li::marker { color: var(--pink); }

.discord-cta {
    margin-top: 28px;
}
.discord-cta a {
    font-size: 1.05rem;
    font-weight: bold;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 20px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.dot-sep { color: var(--line); }

@media (max-width: 780px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .feature-grid { grid-template-columns: 1fr; }
    .connect-box { flex-direction: column; align-items: flex-start; gap: 6px; }
    .topnav { padding: 18px 16px; }
}
