/* ============================================
   MAXAI - GROWW-INSPIRED NAVIGATION COMPONENTS
   Sprint 1: Navigation & Header Overhaul
   POLISHED VERSION
   ============================================ */

/* ===== GLOBAL SEARCH BAR (Navbar) ===== */
.navbar-search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    max-width: 280px;
    height: 40px;
}

.navbar-search-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    color: rgba(255, 255, 255, 0.7);
}

.navbar-search-trigger i {
    font-size: 1rem;
    opacity: 0.6;
}

.navbar-search-trigger span {
    flex: 1;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-search-shortcut {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== SEARCH MODAL ===== */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    justify-content: center;
    padding-top: 80px;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-modal-header i {
    color: #3b82f6;
    font-size: 1.3rem;
    opacity: 0.8;
}

.search-modal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
}

.search-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.search-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

/* Search Results */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.search-result-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.search-result-info {
    flex: 1;
}

.search-result-symbol {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.search-result-name {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.search-result-price {
    text-align: right;
}

.search-result-value {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.search-result-change {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 2px;
}

.search-result-change.positive {
    color: #10b981;
}

.search-result-change.negative {
    color: #ef4444;
}

.search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-view-all:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
    transform: translateY(-1px);
}

/* Search Suggestions */
.search-suggestions {
    padding: 12px;
}

.search-suggestion-title {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.search-suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 8px 16px;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #fff;
}

.search-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.search-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.search-quick-link:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.search-quick-link i {
    color: #3b82f6;
    font-size: 1.1rem;
    opacity: 0.8;
}

.search-loading,
.search-error,
.search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 50px 20px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.search-loading i.spin {
    animation: spin 1s linear infinite;
    font-size: 1.5rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== MARKET INDICES BAR ===== */
.market-indices-bar {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 5%;
    position: sticky;
    top: 81px;
    z-index: 997;
}

.market-indices-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.market-index-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.index-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.index-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'SF Mono', 'Roboto Mono', monospace;
}

.index-change {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
}

.index-change.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.index-change.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.market-index-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.market-index-time i {
    font-size: 0.8rem;
}

/* ===== MEGA DROPDOWN MENU ===== */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-trigger i.dropdown-arrow {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-dropdown-trigger i.dropdown-arrow {
    transform: rotate(180deg);
    opacity: 0.8;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin-left: 50px;
    min-width: 620px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    z-index: 1000;
}

.nav-item-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.mega-dropdown-section h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.mega-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.88rem;
    font-weight: 500;
    margin: 2px 0;
    white-space: nowrap;
}

.mega-dropdown-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    transform: translateX(4px);
}

.mega-dropdown-link i {
    color: #3b82f6;
    font-size: 1rem;
    width: 22px;
    opacity: 0.8;
}

.mega-dropdown-link:hover i {
    opacity: 1;
}

/* ===== USER PROFILE DROPDOWN ===== */
.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 5px 16px 5px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile-trigger:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(10px);
}

.nav-item-dropdown:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.user-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.user-dropdown-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.88rem;
    font-weight: 500;
}

.user-dropdown-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.user-dropdown-link i {
    color: #3b82f6;
    width: 20px;
    font-size: 1rem;
    opacity: 0.8;
}

.user-dropdown-link:hover i {
    opacity: 1;
}

.user-dropdown-link.logout {
    color: rgba(239, 68, 68, 0.9);
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 10px 10px;
    padding-top: 14px;
}

.user-dropdown-link.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-dropdown-link.logout i {
    color: #ef4444;
}

/* ===== NAVBAR LAYOUT UPDATES ===== */
.navbar-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 400px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-nav-main {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
    .navbar-search-trigger {
        min-width: 200px;
    }
    
    .mega-dropdown {
        min-width: 400px;
    }
    
    .mega-dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .market-indices-container {
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .navbar-center {
        display: none;
    }
    
    .mega-dropdown {
        display: none;
    }
    
    .user-dropdown {
        display: none;
    }
    
    .market-indices-bar {
        display: none;
    }
    
    .navbar-left {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar-search-trigger {
        display: none;
    }
    
    .navbar-nav-main {
        display: none;
    }
    
    .user-profile-trigger {
        display: none;
    }
    
    .navbar-container {
        gap: 10px;
    }
}

/* ===== AUTH BUTTONS ===== */
.navbar-auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-nav-signup {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #fff;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-nav-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
}

/* ===== NAV LINK STYLES ===== */
.navbar-nav-main .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px !important;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.navbar-nav-main .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-nav-main .nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* About link without dropdown */
.navbar-nav-main .nav-item:not(.nav-item-dropdown) .nav-link {
    display: flex;
    align-items: center;
}

/* ============================================
   MNC-GRADE MEGA FOOTER STYLES
   Unified footer for all pages via navbar.css
   ============================================ */

.mega-footer {
    background: linear-gradient(180deg, #0a0e27 0%, #050810 100%);
    padding: 48px 5% 24px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 280px;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.footer-brand > p {
    font-size: 0.85rem;
    color: #8b95a5;
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b95a5;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.footer-column h4 {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b95a5;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-column li {
    margin-bottom: 10px;
    display: block;
}

.footer-column a,
.footer-column li {
    color: #c8d0dc;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: block;
}

.footer-column a:hover {
    color: #3b82f6;
    padding-left: 3px;
}

/* Contact column special styling */
.footer-column:last-child li {
    color: #c8d0dc;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.85rem;
}

.footer-column:last-child a {
    color: #c8d0dc;
}

.footer-column:last-child a:hover {
    color: #3b82f6;
    padding-left: 0;
}

/* Footer Disclaimer - Compact */
.footer-disclaimer {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 14px 20px;
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border-left: 2px solid #f59e0b;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    color: #8b95a5;
    line-height: 1.7;
    text-align: left;
    margin: 0;
}

.footer-disclaimer strong {
    color: #f59e0b;
    font-weight: 600;
}

/* Footer Bottom - Clean */
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.78rem;
    color: #5a6270;
    letter-spacing: 0.02em;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.78rem;
    color: #6b7380;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.25s ease;
}

.footer-legal a:hover {
    color: #3b82f6;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.2fr repeat(4, 1fr);
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .mega-footer {
        padding: 40px 5% 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand > p {
        max-width: 420px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4 {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .mega-footer {
        padding: 36px 4% 18px;
        display: none; /* Hidden on mobile - use bottom nav instead */
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-column h4 {
        margin-bottom: 14px;
        font-size: 0.7rem;
    }
    
    .footer-column li {
        margin-bottom: 8px;
    }
    
    .footer-column a {
        font-size: 0.82rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 16px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
    
    .footer-disclaimer {
        padding: 12px 16px;
        margin: 20px auto 0;
    }
    
    .footer-disclaimer p {
        font-size: 0.72rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mega-footer {
        display: none; /* Hidden on small mobile */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column a:hover {
        padding-left: 0;
    }
}