/* ========= RESET DEFAULTS ========= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Lucida Sans', sans-serif; background: #0f0f12; color: white; }

/* Top Bar */
.topBar {
    background-color: rgba(0, 0, 0, 0.76);
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.leftTop { color: white; font-size: 30px; font-weight: bold; }

.rightTop {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Desktop buttons */
.buttonsTop {
    display: flex;
    align-items: center;
    gap: 15px;
}

.buttonsTop button {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

button.discord {
    background-color: blue;
    padding: 5px 12px;
    border-radius: 8px;
    color: white;
}

.userCounterBox {
    padding: 0px 0px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.userCounterBox .neon-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0f0;
    box-shadow: 0 0 5px #0f0, 0 0 10px #0f0, 0 0 15px #0f0;
    animation: neonPulse 1s infinite alternate;
}

@keyframes neonPulse {
    0%   { opacity: 0.2; box-shadow: 0 0 2px #0f0, 0 0 5px #0f0, 0 0 8px #0f0; }
    50%  { opacity: 0.7; box-shadow: 0 0 5px #0f0, 0 0 12px #0f0, 0 0 20px #0f0; }
    100% { opacity: 1; box-shadow: 0 0 8px #0f0, 0 0 20px #0f0, 0 0 35px #0f0; }
}

.buttonsTop button:hover { background-color: rgba(255,255,255,0.1); }

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    transition: 0.3s ease;
}

.hamburger span {
    display: block;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile dropdown menu */
.mobileMenu {
    display: none;
    flex-direction: column;
    background-color: rgba(0,0,0,0.95);
    width: 100%;
    position: fixed;
    top: 90px;
    left: 0;
    padding: 10px 5%;
    z-index: 999;
    gap: 10px;
}

.mobileMenu a, .mobileMenu button {
    text-align: left;
    font-size: 18px;
    color: white;
    background: none;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    text-decoration: none;
}

/* Center user counter in mobile */
.mobileMenu .userCounterBox {
    justify-content: center;
    padding: 0;
    width: 100%;
    display: flex;
    gap: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .buttonsTop { display: none; }
    .hamburger { display: flex; }
}
