:root {
    --bg-dark: #0a0e17;
    --bg-surface: #151b29;
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glow-green: rgba(34, 197, 94, 0.5);
    --border-subtle: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-green); }

/* Backgrounds */
.parallax-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-image: 
        linear-gradient(rgba(10, 14, 23, 0.90), rgba(10, 14, 23, 1)),
        repeating-linear-gradient(45deg, rgba(34, 197, 94, 0.03) 0px, rgba(3, 5, 8, 0.03) 2px, transparent 2px, transparent 40px),
        repeating-linear-gradient(-45deg, rgba(34, 197, 94, 0.03) 0px, rgba(3, 5, 8, 0.03) 2px, transparent 2px, transparent 40px);
    z-index: -2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4%;
    background: transparent;
    transition: all 0.3s;
    position: fixed;
    width: 100%;
    top: 0; z-index: 100;
}
.navbar.scrolled {
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.6rem; font-weight: 900;
    color: var(--text-main);
}
.nav-logo-img { width: 40px; height: 40px; border-radius: 8px; }
.logo span { background: linear-gradient(to right, #fff, var(--accent-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
    display: flex; align-items: center; gap: 2.5rem; list-style: none;
}
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-green); }
.nav-btn {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green) !important;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid var(--glow-green);
}
.nav-btn:hover { background: var(--accent-green); color: #000 !important; }

/* Setup Hero container for 2 columns */
.server-hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 5% 2rem;
    gap: 5%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Live server tracker */
.online-indicator {
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-green);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}
.ping-dot {
    width: 12px; height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-green);
    animation: pulse 1.5s infinite;
}

#online-count {
    color: var(--text-main);
    font-weight: 800; font-size: 1.2rem;
}

/* Gaming Typo */
.glitch-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.highlight-green { color: var(--accent-green); font-weight: 700; }

/* Action Panel Buttons */
.action-panel { display: flex; gap: 1rem; }
.gaming-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s;
}
.primary-gaming {
    background: var(--accent-green);
    color: #000;
}
.primary-gaming:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--glow-green);
}
.secondary-gaming {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}
.secondary-gaming:hover {
    background: #1e293b;
    color: var(--accent-green);
}

/* Tooltip for IP */
.primary-gaming .tooltip {
    position: absolute;
    bottom: 120%; left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.primary-gaming:hover .tooltip { opacity: 1; }

/* Visual Hero Right side */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-island-wrapper {
    position: relative;
    width: 350px;
}
.floating-island {
    width: 100%; height: auto;
    border-radius: 20px;
    animation: floatIsland 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}
.shadow-element {
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 20px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    filter: blur(8px);
    animation: scaleShadow 6s ease-in-out infinite;
}

@keyframes floatIsland { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes scaleShadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; } 50% { transform: translateX(-50%) scale(0.8); opacity: 0.2; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Features */
.features-section { padding: 8rem 5%; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 5rem; }
.sub-heading { color: var(--accent-green); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.main-heading { font-size: 3rem; font-weight: 900; margin-top: 10px; }

.feature-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--border-subtle);
    max-width: 800px;
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateX(20px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.offset-card-left { align-self: flex-start; }
.offset-card-right { align-self: flex-end; }
.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 0.8;
    transition: color 0.3s;
}
.feature-card:hover .feature-number { color: var(--accent-green); }
.feature-content h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.feature-content p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }

/* Footer */
.gaming-footer {
    background: #05080c;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-subtle);
}
.footer-wrapper {
    display: flex; justify-content: space-between; align-items: flex-end;
}
.disclaimer { color: var(--text-muted); margin-top: 10px; font-size: 0.9rem; }
.footer-right p { color: var(--text-muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
    .server-hero { flex-direction: column; padding-top: 150px; text-align: center; }
    .hero-content { margin-bottom: 4rem; }
    .action-panel { justify-content: center; }
    .glitch-title { font-size: 4rem; }
    .feature-card { flex-direction: column; }
    .offset-card-left, .offset-card-right { align-self: center; }
    .footer-wrapper { flex-direction: column; text-align: center; gap: 2rem; align-items: center; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .action-panel { flex-direction: column; }
    .glitch-title { font-size: 3rem; }
    .feature-number { font-size: 3rem; }
}