/* Specific overrides for PHP integration */
.nav-btn-discord {
    background-color: #5865F2;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}
.nav-btn-discord:hover {
    background-color: #4752C4;
    color: white;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}
.logout-icon {
    color: #ff4444;
    margin-left: 5px;
    transition: color 0.3s;
}
.logout-icon:hover {
    color: #ff0000;
}

/* Specific overrides for default index if needed */
a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 5px var(--primary-color);
}

/* --- MERGED CONTENT FROM default_style.css --- */
:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00ff;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --font-orbitron: 'Orbitron', sans-serif;
    --font-rajdhani: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-rajdhani);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.nav-logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-logo span {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-orbitron);
    font-size: 1rem;
    transition: 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    cursor: pointer;
}

/* Buttons */
.btn-action {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-family: var(--font-orbitron);
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.btn-action:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

.btn-danger {
    border-color: #ff3333;
    color: #ff3333;
}
.btn-danger:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 15px #ff3333;
}



/* --- MISSING UTILITIES & RESPONSIVE --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--primary-color);
    list-style: none;
    padding: 10px 0;
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
    display: flex; /* Show on hover */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-family: var(--font-orbitron);
    transition: 0.2s;
    border-left: 2px solid transparent;
}

.dropdown-link:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    border-left: 2px solid var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1002;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.98);
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        border-left: 1px solid var(--primary-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 20px 0;
        font-size: 1.2rem;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        display: none;
        padding-left: 0;
        text-align: center;
        box-shadow: none;
    }
    
    /* On mobile, show dropdown items always if convenient, or via click in JS */
    .dropdown:hover .dropdown-menu {
        display: flex;
        animation: none;
    }
}

/* --- ANIMATIONS & EFFECTS --- */

.glitch-effect {
    position: relative;
    animation: glitch-anim 2.5s infinite;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* --- RESTORED INDEX PAGE STYLES --- */

/* Hero Header */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 150px;
    filter: drop-shadow(0 0 20px var(--primary-color));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.main-title {
    font-family: var(--font-orbitron);
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
}

.main-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    opacity: 0.5;
    filter: blur(5px);
}

.subtitle {
    font-family: var(--font-rajdhani);
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: 5px;
    margin-top: 10px;
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Status Section */
.status-dashboard {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    position: relative;
    z-index: 2;
}

.status-main {
    text-align: center;
    margin-bottom: 50px;
}

.status-indicator {
    width: 20px;
    height: 20px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 20px #00ff00;
    animation: pulse-green 2s infinite;
    margin-bottom: 10px;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.status-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.status-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.status-card i {
    font-size: 3rem;
    color: var(--primary-color);
}

.status-info h3 {
    margin: 0;
    font-family: var(--font-orbitron);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.status-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}
.status-text.online { color: #00ff00; text-shadow: 0 0 10px #00ff00; }
.status-text.offline { color: #ff0000; text-shadow: 0 0 10px #ff0000; }

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-orbitron);
}

.blink {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
