/* === ROOT VARIABLES & GLOBAL RESETS === */
:root {
    --bg-dark: #0D0D1A; /* Deep, dark blue for a professional feel */
    --bg-light: #1A1A2E; /* Slightly lighter shade for contrast */
    --primary-pink: #FF4081; /* Vibrant pink for accents */
    --accent-cyan: #00E5FF; /* Bright cyan for highlights and glows */
    --text-light: #F5F5F5; /* Off-white for better readability */
    --text-dark: #B0B0B0; /* Muted gray for secondary text */
    --border-radius: 12px;
    --shadow-color: rgba(0, 229, 255, 0.5); /* Cyan for glow effects */
    --shadow-intense: rgba(255, 64, 129, 0.6); /* Pink for more intense glows */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, var(--bg-dark), var(--bg-light), #536976, #292E49);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-light);
    padding-top: 70px; /* Prevent content from being hidden behind the fixed header */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-pink);
}

/* === MODERN BUTTON STYLE === */
.modern-button {
    background: linear-gradient(90deg, var(--primary-pink), var(--accent-cyan));
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-intense);
}

/* === HEADER & NAVIGATION (MOBILE-FIRST) === */
.modern-header-dark {
    background: rgba(13, 13, 26, 0.8); /* Darker, more translucent background */
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-nav-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.nav-logo a {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: block; /* Show hamburger on mobile */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
}

.nav-toggle .fa-times {
    display: none;
}

.modern-header-dark.nav-open .nav-toggle .fa-bars {
    display: none;
}

.modern-header-dark.nav-open .nav-toggle .fa-times {
    display: block;
}

/* --- Mobile Nav Menu --- */
.nav-right {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px; /* Position below header */
    left: 0;
    width: 100%;
    background: rgba(13, 13, 26, 0.95);
    padding: 40px 0;
}

.modern-header-dark.nav-open .nav-right {
    display: flex; /* Show menu when header has .nav-open */
}

.nav-menu-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.nav-menu-modern a {
    font-size: 20px;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    background-color: rgba(13, 13, 26, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === DESKTOP STYLES (BASE) === */
@media (min-width: 992px) {
    .modern-nav-dark {
        padding: 0 50px;
    }

    .nav-toggle {
        display: none; /* Hide hamburger on desktop */
    }

    .nav-right {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        width: auto;
        align-items: center;
        gap: 40px;
    }

    .nav-menu-modern {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        flex-direction: row;
        margin-bottom: 0;
        gap: 40px;
    }
    
    .nav-actions {
        flex-direction: row;
        gap: 25px;
    }
}
