@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --bg-color: #060911;
    --card-bg: rgba(15, 23, 42, 0.8);
    --card-border: rgba(255, 255, 255, 0.08);
    --cyan: #38bdf8;
    --purple: #c084fc;
    --pixel-gradient: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    --accent-glow: rgba(56, 189, 248, 0.25);
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --discord-color: #5865F2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 100% 60%, rgba(192, 132, 252, 0.12) 0%, transparent 45%);
    color: var(--text-main);
    min-height: 100vh;
    padding-top: 80px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(6, 9, 17, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
}

.nav-brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    background: var(--pixel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }

/* Layout */
.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section { margin-bottom: 4rem; }

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.section-title i { color: var(--cyan); }

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero { text-align: center; padding: 3rem 1.5rem; }

.brand-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.8rem;
    line-height: 1.3;
    letter-spacing: -1px;
    background: var(--pixel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 10px 20px rgba(129, 140, 248, 0.2));
}

.subtitle {
    color: var(--text-sub);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ef4444;
}

.status-dot.online {
    background-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.ip-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed var(--cyan);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.ip-card:hover {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.3);
}

.ip-address {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--text-main);
}

.ip-action {
    background: var(--pixel-gradient);
    color: #060911;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 8px;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    cursor: pointer;
    border: none;
}

.btn-discord { background: var(--discord-color); color: #fff; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid var(--card-border); }
.btn:hover { transform: translateY(-2px); }

/* Rules */
.rules-list { display: flex; flex-direction: column; gap: 1rem; }
.rule-item {
    display: flex;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--cyan);
}
.rule-num { font-family: 'Press Start 2P', cursive; font-size: 1rem; color: var(--purple); }
.rule-content h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.rule-content p { color: var(--text-sub); font-size: 0.95rem; line-height: 1.4; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.team-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.team-head { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 0.8rem; image-rendering: pixelated; }
.team-name { font-weight: 700; font-size: 1.1rem; }
.team-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 0.4rem;
    text-transform: uppercase;
}
.role-owner { background: rgba(192, 132, 252, 0.25); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.5); }
.role-dev { background: rgba(56, 189, 248, 0.25); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.5); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.faq-card { background: rgba(0, 0, 0, 0.2); border: 1px solid var(--card-border); padding: 1.2rem; border-radius: 14px; }
.faq-card h4 { color: var(--cyan); margin-bottom: 0.5rem; font-size: 1.05rem; }
.faq-card p { color: var(--text-sub); font-size: 0.92rem; line-height: 1.5; }

/* Discord Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 100% 60%, rgba(192, 132, 252, 0.12) 0%, transparent 45%);
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: opacity 0.5s ease;
}

.login-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.container, .navbar {
    transition: filter 0.5s ease;
}
body.not-logged-in .container, body.not-logged-in .navbar {
    filter: blur(10px);
    pointer-events: none;
}

footer { text-align: center; color: var(--text-sub); font-size: 0.85rem; padding: 2rem 0; border-top: 1px solid var(--card-border); }

@media (max-width: 640px) {
    .nav-links { display: none; }
    .brand-title { font-size: 1.6rem; }
    .ip-address { font-size: 0.65rem; }
    .actions-grid { grid-template-columns: 1fr; }
}
