/* assets/css/navbar.css */
/* assets/css/navbar.css */

header {
    position: absolute; /* or fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* <--- CRITICAL: Forces it above the Hero Image */
}

/* ... rest of your css ... */
/* ================= PROFILE BADGE ================= */
.profile-badge {
    position: relative;
    display: none; /* JS toggles this to 'flex' */
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 5px 15px 5px 5px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-badge:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: #00ff88;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(0, 255, 136, 0.25);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00ff88, #00b360);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
    border: 2px solid transparent;
}

.profile-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -3px;
}

.profile-badge:hover .profile-arrow {
    transform: rotate(-135deg) translate(-2px, -2px);
    border-color: #00ff88;
}

/* ================= DROPDOWN MENU ================= */
.profile-dropdown-menu {
    position: absolute;
    top: 150%;
    right: 0;
    width: 280px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid #00ff88;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.profile-badge:hover .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-role-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 5px;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.dropdown-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255,255,255,0.1);
}

.stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.text-green { color: #00ff88; }

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 5px;
    background: transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

.dropdown-item.logout {
    margin-top: 15px;
    color: #ff4d4d;
    justify-content: center;
    font-weight: 600;
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.dropdown-item.logout:hover {
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.3);
    transform: none;
}

/* assets/css/navbar.css */

/* ... (Keep Profile Styles) ... */

/* ================= THE "INTEGRATED" DONATE LINK ================= */

/* 1. Fix Alignment: Ensure it sits exactly on the same baseline as other links */
.nav-links li {
    display: flex;
    align-items: center; /* Forces vertical centering */
    height: 100%;
}

.nav-link-donate {
    position: relative;
    display: inline-block;
    /* Ensure font properties match exactly so baseline aligns */
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.nav-link-donate:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 2. The "2X" Text Badge (No Box, Just Fire) */
.badge-2x-text {
    position: absolute;
        /* Pull it tight to the top */
     /* Pull it tight to the right corner */
    
    /* Typography */
    font-size: 1rem; 
    font-weight: 2000; 
    font-style: italic;
    line-height: 1;
    
    /* THE TEXT EFFECT: Fire Gradient */
    background: linear-gradient(180deg, #fff 0%, #ffaa00 40%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 69, 0, 0.5));
    
    /* Overlap Logic */
    z-index: 2; /* Sits ON TOP of the Donate text */
    pointer-events: none;
    
    /* Animation */
    animation: text-flicker 2s infinite alternate;
}

/* Optional: Add a tiny black stroke to make it readable over the 'E' */
.badge-2x-text::before {
    content: '2X';
    position: absolute;
    top: 0; left: 0;
    z-index: -1;
  -webkit-text-fill-color: #ff0000;
}

@keyframes text-flicker {
    0% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 69, 0, 0.5)); }
    100% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 5px rgba(255, 69, 0, 0.8)); }
}