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

:root {
    --bg-base: #050508;
    --accent: #22c55e;
    --discord: #5865F2;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Orbs (Powers the glass reflection) */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}
.orb-1 {
    width: 450px; height: 450px;
    background: var(--accent);
    top: -10%; left: -10%;
}
.orb-2 {
    width: 550px; height: 550px;
    background: var(--discord);
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}
.orb-3 {
    width: 350px; height: 350px;
    background: #0ea5e9;
    top: 40%; left: 50%;
    animation-delay: -10s;
}

/* THE LIQUID GLASS EFFECT */
.liquid-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 24px;
}

/* Floating Navigation */
.navbar {
    position: fixed;
    top: 25px;
    right: 50%;
    transform: translateX(50%); /* Centered on desktop by default */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    z-index: 1000;
    width: max-content;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
}
.vote-link { color: var(--accent) !important; font-weight: 700 !important; }

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* STRICT LOGO SIZING FIX */
.logo-img {
    width: 130px !important; /* Forces the logo to stay small */
    height: auto !important;
    display: block;
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 0 25px rgba(34, 197, 94, 0.4));
}

.glow-text {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Status Widget */
.server-status {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.4);
    padding: 1.2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 3rem;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.dot.offline { background: #ef4444; }
.pulse { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); animation: pulse 2s infinite; }
.stats { display: flex; gap: 2rem; color: var(--text-secondary); font-size: 1rem; }
.stats b { color: var(--text-primary); }

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.glass-btn.primary { border-color: rgba(34, 197, 94, 0.4); }
.glass-btn.primary:hover { box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3); }
.glass-btn.discord { border-color: rgba(88, 101, 242, 0.4); }
.glass-btn.discord:hover { box-shadow: 0 15px 30px rgba(88, 101, 242, 0.3); }
.bedrock-text { font-size: 1rem; color: var(--text-secondary); }
.bedrock-text span { color: var(--accent); font-weight: 700; }

/* Grid Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.interactive {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.interactive:hover {
    transform: translateY(-12px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
}
.card-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.card p { color: var(--text-secondary); line-height: 1.6; }

/* Forms */
.form-card form { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; width: 100%; }
input, select, textarea {
    width: 100%; padding: 1.2rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; color: white; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* Map */
.map-wrapper { width: 100%; height: 75vh; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* Animations */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .navbar {
        top: 15px; right: 15px; left: 15px;
        width: auto;
        transform: none;
        padding: 1rem;
        border-radius: 16px;
        display: flex;
        justify-content: center;
    }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: 0.9rem; }
    
    .container { padding-top: 120px; padding-bottom: 40px; }
    .hero { padding: 3rem 1.5rem; }
    .logo-img { width: 100px !important; }
    .glow-text { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; }
    .action-buttons { flex-direction: column; width: 100%; }
    .glass-btn { width: 100%; justify-content: center; }
}
