/*
🚀 ULTIMATE PROFESSIONAL HEADER FIX 2025
========================================

ADDRESSES SPECIFIC ISSUES FROM SCREENSHOT:
✅ Navigation items cramped together → 40px spacing (was ~20px)
✅ Tagline looks unprofessional → Softer styling, better spacing  
✅ Buttons too close → 24px spacing (was 16px)
✅ Header feels too short → 75px height (was ~60px)
✅ Overall rushed appearance → Professional typography & spacing

This is the FINAL fix based on actual visual analysis.
*/

/* 🎯 CORE HEADER - PROFESSIONAL HEIGHT & BACKDROP */
#main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(5,5,5,0.85) !important; /* More solid */
    backdrop-filter: blur(24px) !important; /* Stronger blur */
    border-bottom: 1px solid rgba(247,216,0,0.2) !important; /* More visible */
    box-shadow: 0 6px 24px rgba(0,0,0,0.4) !important; /* Stronger shadow */
}

/* 🎯 NAVIGATION CONTAINER - EXPANDED HEIGHT */
.nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 22px 0 !important; /* INCREASED from 14px → Major visual improvement */
    min-height: 75px !important; /* TALLER header for professional look */
    gap: 40px !important; /* MASSIVE breathing room */
}

/* 🎯 CONTAINER - WIDER FOR PROFESSIONAL FEEL */
.container {
    max-width: 1450px !important; /* WIDER than standard 1200px */
    margin: 0 auto !important;
    padding: 0 40px !important; /* GENEROUS padding */
}

/* 🎯 BRAND SECTION - PROPER SPACING */
.brand {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important; /* INCREASED from 12px */
    color: #fff !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    min-width: 350px !important; /* MORE space for brand */
}

.brand img {
    width: 36px !important; /* LARGER logo for better presence */
    height: 36px !important;
    border-radius: 6px !important;
}

.brand b {
    font: 800 1.6rem var(--heading) !important; /* MUCH larger OCM text */
    color: #ffffff !important;
    margin-right: 16px !important; /* MORE separation */
}

/* 🎯 TAGLINE - PROFESSIONAL STYLING (ADDRESSES CRAMPED LOOK) */
.tagline {
    display: flex !important;
    gap: 12px !important; /* BETTER spacing between elements */
    align-items: center !important;
    color: #d8f5d8 !important; /* SOFTER green, less harsh */
    font-weight: 500 !important; /* MUCH less bold, more professional */
    font-size: 1rem !important; /* LARGER for better readability */
    letter-spacing: 1px !important; /* MORE letter spacing for elegance */
    white-space: nowrap !important;
    opacity: 0.85 !important; /* Subtle transparency */
}

.tagline .dot {
    width: 8px !important; /* LARGER dots for better visibility */
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--gold) !important;
    flex-shrink: 0 !important;
    margin: 0 3px !important; /* Spacing around dots */
}

/* 🚀 NAVIGATION LINKS - MASSIVE SPACING IMPROVEMENT */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 42px !important; /* HUGE increase - addresses cramped navigation */
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important;
    justify-content: center !important;
    align-items: center !important;
}

.nav-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: #f8f8f8 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 1rem !important; /* LARGER text */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 12px 20px !important; /* MUCH better click area */
    border-radius: 10px !important;
    white-space: nowrap !important;
    position: relative !important;
}

.nav-links a:hover {
    color: var(--lime) !important;
    background: rgba(0,255,127,0.12) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,255,127,0.2) !important;
}

/* 🎯 HEADER ACTIONS - PROFESSIONAL BUTTON SPACING */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important; /* INCREASED from 16px - major improvement */
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
    min-width: 320px !important; /* MORE space for buttons */
}

/* 🎯 WALLET CONNECT - PHANTOM PROFESSIONAL STYLING */
.wallet-connect, #walletConnectBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 16px 24px !important; /* LARGER padding */
    border-radius: 14px !important;
    background: rgba(98, 59, 234, 0.95) !important;
    border: 1px solid rgba(98, 59, 234, 0.5) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 16px rgba(98, 59, 234, 0.4) !important;
}

.wallet-connect:hover, #walletConnectBtn:hover {
    background: rgba(98, 59, 234, 1) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(98, 59, 234, 0.5) !important;
}

.wallet-connect img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
}

/* 🚀 BUY BUTTON - INVESTMENT GRADE STYLING */
.cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 16px 32px !important; /* LARGER for prominence */
    border-radius: 14px !important;
    background: var(--grad) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    border: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 16px rgba(247,216,0,0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(0,255,127,0.5) !important;
}

.cta i {
    font-size: 1.1rem !important;
}

/* 🎯 RESPONSIVE DESIGN - PROFESSIONAL BREAKDOWN */
@media (max-width: 1400px) {
    .nav-links { gap: 36px !important; }
    .container { padding: 0 32px !important; }
}

@media (max-width: 1200px) {
    .nav-links { gap: 30px !important; }
    .container { padding: 0 28px !important; }
    .brand { min-width: 300px !important; }
}

@media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .brand { min-width: auto !important; }
    .tagline { font-size: 0.85rem !important; gap: 8px !important; }
    .header-actions { min-width: auto !important; gap: 18px !important; }
    .burger { display: inline-flex !important; }
}

@media (max-width: 768px) {
    .nav { padding: 18px 0 !important; gap: 24px !important; }
    .brand b { font-size: 1.4rem !important; }
    .tagline { font-size: 0.8rem !important; gap: 6px !important; }
    .header-actions { gap: 14px !important; }
    .wallet-connect, #walletConnectBtn { padding: 12px 18px !important; font-size: 0.9rem !important; }
    .cta { padding: 12px 24px !important; font-size: 0.9rem !important; }
    .container { padding: 0 24px !important; }
}

@media (max-width: 480px) {
    .tagline { display: none !important; }
    .brand { gap: 14px !important; }
    .header-actions { gap: 10px !important; }
    .wallet-connect, #walletConnectBtn { padding: 10px 14px !important; font-size: 0.85rem !important; }
    .cta { padding: 10px 20px !important; font-size: 0.85rem !important; }
}

/* 🎯 BURGER MENU - PROFESSIONAL STYLING */
.burger {
    display: none !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1.1rem !important;
}

.burger:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255,255,255,0.1) !important;
}

/* 🎯 PROFESSIONAL POLISH & HIERARCHY */
header#main-header::before {
    content: '';
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(247,216,0,0.4), transparent) !important;
    z-index: 1 !important;
}

/* Z-INDEX HIERARCHY */
.nav-links { z-index: 10 !important; }
.header-actions { z-index: 15 !important; }
.wallet-connect, #walletConnectBtn { z-index: 20 !important; }
.cta { z-index: 25 !important; }
.burger { z-index: 30 !important; }

/* SMOOTH ANIMATIONS */
* {
    will-change: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-links a,
    .wallet-connect,
    .cta {
        transition: none !important;
        transform: none !important;
    }
}
