@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --accent: #03e775;
    --accent-soft: rgba(3, 231, 117, .16);
    --accent-strong: #00ff80;
    --bg: #070908;
    --panel: rgba(12, 17, 14, .82);
    --panel-2: rgba(7, 11, 9, .88);
    --text: #ffffff;
    --muted: #aeb8b2;
    --border: rgba(255, 255, 255, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #070908; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }

.bg {
    position: absolute;
    inset: 0;
    min-height: 100vh;
    z-index: -3;
    background: url('../img/dreambg.png') center center / cover no-repeat;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    min-height: 100vh;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(3, 10, 7, .08), rgba(3, 10, 7, .24)),
        linear-gradient(180deg, rgba(4, 8, 6, .06), #070908 92%);
}

.header {
    width: min(1400px, calc(100% - 64px));
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 5;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: #06110b;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, var(--accent-strong), #02b75e);
    box-shadow: 0 0 24px rgba(3, 231, 117, .26);
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .6px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 96px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(3, 231, 117, .4);
    animation: pulse 2s infinite;
}
.status-dot.offline { background: #ff4d67; animation: none; }
.status-text { display: flex; flex-direction: column; line-height: 1.1; }
.status-text strong { font-size: 16px; }
.status-text small { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; }
.status-text small.offline { color: #ff697d; }

@keyframes pulse {
    50% { box-shadow: 0 0 0 5px rgba(3, 231, 117, 0); }
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav > a:not(.nav-button) {
    color: #c7cec9;
    font-size: 14px;
    font-weight: 400;
    transition: .18s ease;
}
.nav > a:not(.nav-button):hover,
.nav > a.active { color: #fff; }
.nav > a:not(.nav-button):hover { color: var(--accent); }
.nav-button {
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #06110b;
    font-size: 13px;
    font-weight: 800;
    transition: .18s ease;
}
.nav-button:hover { transform: translateY(-1px); filter: brightness(1.08); }

.hero {
    min-height: calc(100vh - 96px);
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-bottom: 70px;
}
.hero-content { width: min(780px, 100%); }
.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}
.hero h1 {
    margin: 0;
    font-size: clamp(58px, 8vw, 112px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 14px 48px rgba(0, 0, 0, .45);
}
.hero h1 span { color: var(--accent); }
.hero h2 {
    margin: 22px 0 0;
    color: #e4ece7;
    font-size: clamp(14px, 1.7vw, 20px);
    font-weight: 500;
    letter-spacing: 3px;
}
.hero-description {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.primary-button,
.secondary-button {
    min-height: 58px;
    padding: 0 26px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .18s ease;
}
.primary-button {
    min-width: 215px;
    gap: 10px;
    border: 0;
    color: #06110b;
    background: linear-gradient(135deg, var(--accent-strong), #02c869);
    box-shadow: 0 12px 34px rgba(3, 231, 117, .2);
}
.primary-button span { font-size: 12px; font-weight: 700; opacity: .8; }
.primary-button strong { font-size: 15px; }
.secondary-button {
    color: #fff;
    border-color: rgba(255,255,255,.15);
    background: rgba(7, 13, 9, .58);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 700;
}
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.copy-message { min-height: 22px; margin: 10px 0 0; color: var(--accent); font-size: 13px; }

.section {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    padding: 105px 0 20px;
}
.section-heading { display: flex; align-items: center; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.8px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.line { height: 7px; width: 150px; border-radius: 999px; background: var(--accent); }

.mode-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 22px; }
.mode-card,
.feature-card,
.admin-card,
.discord-banner {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(3, 231, 117, .13), rgba(7, 10, 8, .9) 60%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .16);
}
.mode-card {
    min-height: 330px;
    border-radius: 20px;
    padding: 34px;
    position: relative;
    overflow: hidden;
}
.mode-card.featured::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    right: -80px;
    bottom: -100px;
    background: rgba(3, 231, 117, .12);
    filter: blur(3px);
}
.mode-icon { font-size: 38px; margin-bottom: 22px; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.badge.live { color: #041109; background: var(--accent); }
.badge.soon { color: #d6ddd9; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.mode-card h3 { margin: 13px 0 8px; font-size: 30px; letter-spacing: 3px; }
.mode-card p { color: var(--muted); line-height: 1.75; max-width: 660px; }
.mode-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-card li { padding: 7px 11px; border: 1px solid rgba(3, 231, 117, .18); border-radius: 9px; color: #d8e4dc; font-size: 12px; background: rgba(3, 231, 117, .07); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border-radius: 17px; padding: 28px; min-height: 210px; }
.feature-card > span { font-size: 30px; }
.feature-card h3 { margin: 17px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card {
    min-height: 230px;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.admin-card img { width: 120px; height: 120px; image-rendering: pixelated; filter: drop-shadow(0 12px 18px rgba(0,0,0,.26)); }
.admin-role { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.admin-card h3 { margin: 7px 0 8px; font-size: 25px; }
.admin-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.rank-icon { width: 100px; height: 100px; display: grid; place-items: center; border-radius: 18px; font-size: 44px; background: rgba(3,231,117,.08); border: 1px solid rgba(3,231,117,.14); }
.discord-banner {
    margin-top: 18px;
    border-radius: 18px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.discord-banner h3 { margin: 0 0 5px; font-size: 21px; }
.discord-banner p { margin: 0; color: var(--muted); font-size: 14px; }
.discord-banner a { padding: 11px 18px; border-radius: 11px; color: #06110b; background: var(--accent); font-size: 12px; font-weight: 800; white-space: nowrap; }

.footer {
    width: min(1240px, calc(100% - 64px));
    margin: 110px auto 0;
    padding: 38px 0 50px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 30px;
    align-items: center;
    color: #8f9993;
    font-size: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; grid-row: span 2; }
.footer-logo > div { display: flex; flex-direction: column; }
.footer-logo strong { color: #fff; font-size: 17px; letter-spacing: 1px; }
.footer-logo small { color: var(--accent); font-size: 10px; letter-spacing: 2px; }
.footer p { margin: 0; text-align: right; }
.template-credit a { color: #c3cbc6; }
.template-credit a:hover { color: var(--accent); }

.media {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10;
    display: flex;
    gap: 8px;
}
.media a {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(7, 12, 9, .76);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    transition: .18s ease;
}
.media a:hover { transform: translateY(-2px); border-color: rgba(3,231,117,.3); }
.media img { width: 27px; height: 27px; object-fit: contain; }
