/* =========================================
   ELLRAN ONLINE - MASTER CSS (2026)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #fff;
    overflow-x: hidden;
}

/* VIDEO BACKGROUND SYSTEM */
.video-bg-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
}

#loopVideo {
    width: 100%; height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

/* TOP-LEFT DISCORD ICON */
.discord-float {
    position: fixed;
    top: 15px;
    left: 20px;
    background: #5865F2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 10001;
    transition: 0.3s ease;
}

.discord-float:hover {
    transform: scale(1.1);
    background: #4752c4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.discord-float svg { width: 28px; fill: white; }

/* NAVBAR SYSTEM */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    z-index: 10000;
}

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links li a:hover { color: #c6ff00; }

/* USER DROPDOWN (TOP-RIGHT) */
.nav-right-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.user-dropdown { position: relative; display: inline-block; }

.dropbtn {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid #444;
    padding: 8px 18px;
    border-radius: 3px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: 0.3s;
}

.user-dropdown:hover .dropbtn { border-color: #c6ff00; color: #c6ff00; }

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(10,10,10,0.98);
    min-width: 160px;
    border: 1px solid #333;
    border-top: 3px solid #c6ff00;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10002;
}

/* Invisible bridge to keep hover active */
.user-dropdown:hover .dropdown-content { display: block; }

.dropdown-content a {
    color: #ccc;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid #222;
}

.dropdown-content a:hover { background: rgba(198,255,0,0.1); color: #c6ff00; }

.btn-login-small {
    background: #c6ff00;
    color: #000;
    padding: 8px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.75rem;
}