/* ========== GOLDEN INNOVATIVE THEME ========== */

/* Brighter warm background - luxury gold tones */
:root {
    --warm-black: #2d2620 !important;
    --warm-dark: #3d3530 !important;
    --warm-card: #4a4238 !important;
    --golden-glow: rgba(255, 215, 0, 0.08);
    --golden-border: rgba(255, 215, 0, 0.2);
}

body {
    background: linear-gradient(135deg, 
        #2d2620 0%, 
        #38301a 25%, 
        #3d3520 50%,
        #38301a 75%,
        #2d2620 100%) !important;
    background-attachment: fixed !important;
}

/* Add subtle golden particles overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 165, 0, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 215, 0, 0.3), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

/* ========== BIRTHDAY POPUP STYLING ========== */
.birthday-popup {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    width: 340px;
    background: linear-gradient(135deg, 
        rgba(42, 37, 32, 0.98) 0%, 
        rgba(51, 46, 40, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--golden-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    z-index: 1000;
    animation: popupSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.birthday-popup.hidden {
    display: none;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 215, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--gold-primary);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(90deg);
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.popup-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.gold-highlight {
    color: var(--gold-primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.birthday-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.birthday-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(26, 22, 18, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.birthday-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(26, 22, 18, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.birthday-input::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.5) sepia(1) hue-rotate(10deg);
    cursor: pointer;
}

.birthday-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.birthday-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.birthday-submit-btn:active {
    transform: translateY(0);
}

/* Arrow pointer for popup */
.birthday-popup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(255, 215, 0, 0.25);
}

.birthday-popup::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 31px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid rgba(42, 37, 32, 0.98);
}

/* ========== ENHANCED GOLDEN ACCENTS ========== */

/* Wallet card with golden warmth */
.wallet-card {
    background: linear-gradient(135deg, 
        rgba(61, 53, 46, 0.95) 0%, 
        rgba(74, 66, 56, 0.92) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.15) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.08),
        inset 0 1px 0 rgba(255, 215, 0, 0.1) !important;
}

/* Stat cards with golden glow */
.stat-card {
    background: linear-gradient(135deg, 
        rgba(74, 66, 56, 0.85) 0%, 
        rgba(61, 53, 46, 0.85) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.12) !important;
}

.stat-card:hover {
    background: linear-gradient(135deg, 
        rgba(84, 76, 66, 0.95) 0%, 
        rgba(74, 66, 56, 0.95) 100%) !important;
    border-color: rgba(255, 215, 0, 0.25) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15) !important;
}

/* Navigation with golden warmth */
.topbar {
    background: linear-gradient(to bottom, 
        rgba(42, 37, 32, 0.95) 0%, 
        rgba(42, 37, 32, 0.9) 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1) !important;
}

/* Quick action cards */
.quick-link-card {
    background: linear-gradient(135deg, 
        rgba(51, 46, 40, 0.7) 0%, 
        rgba(42, 37, 32, 0.7) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
}

.quick-link-card:hover {
    background: linear-gradient(135deg, 
        rgba(61, 54, 46, 0.9) 0%, 
        rgba(51, 46, 40, 0.9) 100%) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.25) !important;
}

/* Achievement cards with golden shine */
.achievement-card {
    background: linear-gradient(135deg, 
        rgba(51, 46, 40, 0.7) 0%, 
        rgba(42, 37, 32, 0.7) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
}

.achievement-card.unlocked {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.2) 0%, 
        rgba(255, 165, 0, 0.15) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.2) !important;
}

/* Transaction items with warmth */
.transaction-item {
    background: linear-gradient(135deg, 
        rgba(51, 46, 40, 0.7) 0%, 
        rgba(42, 37, 32, 0.6) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.08) !important;
}

.transaction-item:hover {
    background: linear-gradient(135deg, 
        rgba(61, 54, 46, 0.85) 0%, 
        rgba(51, 46, 40, 0.8) 100%) !important;
    border-color: rgba(255, 215, 0, 0.2) !important;
}

/* Referral banner with golden emphasis */
.referral-banner {
    background: linear-gradient(135deg, 
        rgba(42, 37, 32, 0.9) 0%, 
        rgba(51, 46, 40, 0.85) 50%,
        rgba(42, 37, 32, 0.9) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.25) !important;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.1) !important;
}

/* Timeline with golden line */
.timeline-list::before {
    background: linear-gradient(to bottom, 
        var(--gold-primary) 0%, 
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%) !important;
    width: 3px !important;
}

.timeline-item {
    background: linear-gradient(135deg, 
        rgba(51, 46, 40, 0.8) 0%, 
        rgba(42, 37, 32, 0.7) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
}

/* Modals with warm backgrounds */
.modal-content-info,
.login-card {
    background: linear-gradient(135deg, 
        rgba(42, 37, 32, 0.98) 0%, 
        rgba(51, 46, 40, 0.98) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.2) !important;
}

/* User dropdown with golden warmth */
.user-dropdown {
    background: linear-gradient(135deg, 
        rgba(42, 37, 32, 0.98) 0%, 
        rgba(51, 46, 40, 0.98) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.25) !important;
}

/* Footer with warmth */
.footer {
    background: linear-gradient(to top, 
        rgba(26, 22, 18, 0.95) 0%, 
        rgba(42, 37, 32, 0.9) 100%) !important;
    border-top: 1px solid rgba(255, 215, 0, 0.15) !important;
}

/* Milestones with golden glow */
.milestone {
    background: linear-gradient(135deg, 
        rgba(51, 46, 40, 0.6) 0%, 
        rgba(42, 37, 32, 0.5) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
}

.milestone.active {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.25) 0%, 
        rgba(255, 165, 0, 0.2) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Referral code box with golden highlight */
.referral-code-box,
.referral-link-box {
    background: linear-gradient(135deg, 
        rgba(61, 54, 46, 0.8) 0%, 
        rgba(51, 46, 40, 0.8) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

/* Enhanced buttons with golden shine */
.wallet-btn.primary {
    background: linear-gradient(135deg, 
        var(--gold-primary) 0%, 
        var(--gold-secondary) 100%) !important;
    box-shadow: 
        0 4px 20px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.wallet-btn.secondary {
    background: linear-gradient(135deg, 
        rgba(74, 66, 56, 0.9) 0%, 
        rgba(61, 53, 46, 0.9) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    color: #FFD700 !important;
    font-weight: 600 !important;
}

.wallet-btn.secondary:hover {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 165, 0, 0.25) 100%) !important;
    border-color: rgba(255, 215, 0, 0.7) !important;
    color: #1a1a1a !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4) !important;
}

/* Tier badge with extra shine */
.user-tier-badge {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.12) 0%, 
        rgba(255, 165, 0, 0.08) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
    box-shadow: 
        0 2px 10px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Section headers with golden glow */
.section-title {
    text-shadow: 0 2px 15px rgba(255, 215, 0, 0.15) !important;
}

/* Social buttons with golden hover */
.social-btn {
    background: rgba(51, 46, 40, 0.6) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.social-btn:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

/* Enhanced coin with golden glow */
.coin {
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6)) !important;
}

/* Shimmer overlay for premium feel */
@keyframes golden-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.wallet-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.1) 50%, 
        transparent 100%);
    animation: golden-shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .birthday-popup {
        width: 300px;
        right: 0;
        left: auto;
    }
    
    .birthday-popup::before,
    .birthday-popup::after {
        left: auto;
        right: 30px;
    }
}
