/* ========== Profile Dropdown — Neon Gaming UI ========== */
.profile-dropdown {
    position: relative;
}

.profile-dropdown .dropdown-toggle::after {
    display: none;
}

.profile-dropdown-menu {
    background: linear-gradient(160deg, #1a0a3e 0%, #2d1b69 40%, #1a1040 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    border-radius: 18px !important;
    box-shadow:
        0 12px 40px rgba(88, 28, 135, 0.55),
        0 0 0 1px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    padding: 12px !important;
    min-width: 280px;
    margin-top: 10px !important;
    z-index: 1100;
    position: relative;
    overflow: hidden;
}

/* soft glow orbs inside menu */
.profile-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.profile-dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.profile-dropdown-menu > * {
    position: relative;
    z-index: 1;
}

/* User header */
.profile-dd-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 14px;
}

.profile-dd-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a2332;
    flex-shrink: 0;
    border: 2.5px solid transparent;
    background-image:
        linear-gradient(#1a0a3e, #1a0a3e),
        linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.45);
}

.profile-dd-user {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.profile-dd-name {
    color: #fde68a;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(253, 230, 138, 0.4);
}

.profile-dd-uid {
    color: #c4b5fd !important;
    font-size: 11px;
    font-weight: 500;
}

.profile-dd-coins {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-top: 2px;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.25);
}

.profile-dd-coins i {
    font-size: 11px;
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
}

/* Divider — neon line */
.profile-dd-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5), transparent);
    margin: 6px 6px 8px;
    border: none;
}

/* Menu items */
.profile-dd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #e0e7ff !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.profile-dd-item i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #a78bfa;
    transition: color 0.18s ease, filter 0.18s ease;
}

/* colored icons per item feel */
.profile-dd-item:nth-of-type(1) i { color: #38bdf8; }          /* Profile — cyan */
.profile-dd-item .fa-bell { color: #fbbf24; }                  /* Notification — gold */
.profile-dd-item .fa-gift { color: #e879f9; }                  /* Daily Claim — pink */
.profile-dd-item .fa-headset { color: #60a5fa; }               /* Help — blue */
.profile-dd-item .fa-user-group { color: #a78bfa; }            /* Affiliates — purple */
.profile-dd-item .fa-volume-high,
.profile-dd-item .fa-volume-xmark { color: #c084fc; }          /* Sound */

.profile-dd-item:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

.profile-dd-item:hover i {
    filter: drop-shadow(0 0 6px currentColor);
}

/* Notification badge */
.profile-dd-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.profile-dd-badge-notify {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #fff;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

/* Daily Claim tag */
.profile-dd-claim {
    margin-left: auto;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a0a3e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
    text-transform: uppercase;
}

/* Sound switch pill */
.gollah-sound-switch {
    margin-left: auto;
}

.sound-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sound-toggle-item.sound-off .sound-pill,
.profile-dd-item.sound-off .sound-pill {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: none;
    color: #e2e8f0;
}

/* Logout */
.profile-dd-logout {
    color: #fda4af !important;
}

.profile-dd-logout i {
    color: #fb7185 !important;
}

.profile-dd-logout:hover {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #fecaca !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

.profile-dd-logout:hover i {
    color: #f87171 !important;
    filter: drop-shadow(0 0 6px #f87171);
}

.profile-dd-logout-form {
    margin: 0;
    padding: 0;
}

/* Animation */
.profile-dropdown-menu {
    animation: profileDdFade 0.2s ease;
}

@keyframes profileDdFade {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}