:root {
    --primary-blue: #00ccff;
    --secondary-dark: #0a0a0a;
    --accent-cyan: #00f2ff;
    --bg-black: #000000;
    --text-white: #ffffff;
    --header-bg: rgba(0, 0, 0, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 204, 255, 0.3);
    backdrop-filter: blur(15px);
    height: 75px;
}

/* --- USER MENU & DROPDOWN --- */
.user-menu-container {
    position: relative;
    display: none;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.user-profile-box {
    border: 1px solid var(--primary-blue);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.user-profile-box:hover {
    background: rgba(0, 204, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0a0a0a;
    border: 1px solid #222;
    min-width: 180px;
    margin-top: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

.user-menu-container:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
    border-bottom: 1px solid #111;
}

.dropdown-item:hover {
    background: var(--primary-blue);
    color: black;
}

.dropdown-item.logout {
    color: #ff4444;
}

.dropdown-item.logout:hover {
    background: #ff4444;
    color: white;
}

.auth-btn {
    background: transparent;
    border: 1px solid white;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.3s;
}

.auth-btn:hover {
    background: white;
    color: black;
}

/* --- LOGO & NAV --- */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
    align-items: center;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.8;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    color: var(--primary-blue);
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.6);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 60px;
    background: #050505;
    color: #9c9c9c;
    border-top: 1px solid #111;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    nav { gap: 20px; }
    header { padding: 0 3%; }
    .logo-img { height: 40px; }
}