/* Header and Navigation Styles */
.header {
    background-color: #2c3e50;
    padding: 10px 0;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.1) 50%, transparent 70%);
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    animation: sparkle 1.5s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.nav-menu a:hover {
    animation: glow 0.5s ease-in-out, bounce 0.6s ease;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.btn-login {
    background-color: #4CAF50;
}

.btn-register {
    background-color: #2196F3;
}

.btn-login:hover,
.btn-register:hover {
    opacity: 0.8;
}

/* User Info Dropdown */
.user-info-dropdown {
    position: relative;
}

.user-info-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: #34495e;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.user-info-btn:hover {
    background-color: #4CAF50;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-currency {
    display: flex;
    align-items: center;
    gap: 5px;
}

.coin-icon {
    font-size: 18px;
}

.vshop-points {
    color: #FFD700;
    font-weight: bold;
    min-width: 30px;
    font-size: 12px;
}

.username {
    color: white;
    font-weight: normal;
    font-size: 14px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-info-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    min-width: 150px;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-info-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #4CAF50;
}

.username-display {
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}
