/* --- Global Styles --- */
:root {
    --accent-blue: #00e0ff;
    --bg-dark: #030408;
    --text-main: #fff;
    --border-color: #30363d;
}

body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    margin: 0; 
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; 
}

canvas#networkCanvas { 
    position: fixed; top: 0; left: 0; z-index: -1; opacity: 0.3; 
}

/* --- Header --- */
header { 
    display: flex; justify-content: space-between; padding: 20px 40px; 
    align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.brand-name { font-weight: bold; font-size: 1.2rem; }
.highlight { color: var(--accent-blue); }

/* --- Orbital Logo Effect --- */
.hero-orbital {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-logo {
    width: 150px;
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--accent-blue));
    transition: transform 0.4s ease;
}

.core-logo:hover { transform: scale(1.1); }

.orbital-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(0, 224, 255, 0.2);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.code-fragment {
    position: absolute;
    color: var(--accent-blue);
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

.code-fragment:nth-child(3) { top: 0; left: 50%; }
.code-fragment:nth-child(4) { bottom: 0; left: 20%; }
.code-fragment:nth-child(5) { top: 40%; right: 0; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.2); } }

/* --- Navigation --- */
.nav-links { display: flex; }
.nav-links a { margin-left: 20px; color: #ccc; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-blue); }

/* --- Burger Menu Styles --- */
.menu-trigger { 
    display: none; cursor: pointer; background: none; border: 1px solid var(--accent-blue); 
    padding: 10px; border-radius: 6px; width: 40px; height: 40px; 
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.1);
}
.menu-trigger span { 
    display: block; width: 20px; height: 2px; background: var(--accent-blue); 
    margin: 4px auto; transition: 0.3s; 
}

@media (max-width: 768px) {
    .menu-trigger { display: block; }
    .nav-links { 
        display: none; flex-direction: column; position: absolute; top: 80px; right: 20px; 
        background: rgba(0, 0, 0, 0.95); padding: 20px; border: 1px solid #333; 
        z-index: 1000; border-radius: 8px; min-width: 150px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { margin: 10px 0; }
    .menu-trigger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-trigger.active span:nth-child(2) { opacity: 0; }
    .menu-trigger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* --- Layouts & Components --- */
.enterprise-layout { background-color: #010409; color: #c9d1d9; }
.enterprise-layout .page-container { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.enterprise-layout .card { 
    background: #0d1117; border: 1px solid var(--border-color); 
    border-radius: 6px; padding: 25px; margin-bottom: 20px; 
}

/* --- UI Buttons --- */
.btn-primary { 
    display: inline-block; background: transparent; color: var(--accent-blue); 
    padding: 10px 20px; border: 1px solid var(--accent-blue); border-radius: 4px; 
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; cursor: pointer;
}
.btn-primary:hover { 
    background: var(--accent-blue); color: var(--bg-dark); 
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4); transform: translateY(-2px);
}

/* --- Server List Grid --- */
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; }
.server-item { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); padding: 15px; border-radius: 6px; text-align: center; }
.server-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.8rem; margin: 15px 0; }
.server-stats b { color: var(--accent-blue); }

/* --- Footer --- */
footer { text-align: center; padding: 40px; color: #666; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; }
.admin-tag { color: var(--accent-blue); }
