/* ===========================================
   SnapHookups Footer - Cyberpunk Aurora Style
   =========================================== */

/* CSS Variables (inherited from front-page.css for consistency) */
.footer {
    --bg-primary: #19191f;
    --bg-secondary: #1d1f28;
    --neon-pink: #ff6b9d;
    --neon-purple: #c44cff;
    --neon-cyan: #00d4ff;
    --text-primary: #f6f6f7;
    --text-secondary: rgba(246, 246, 247, 0.82);
    --text-muted: rgba(246, 246, 247, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-neon: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-cyan) 100%);
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
}

/* Footer Base */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 60px 5% 30px;
    position: relative;
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Neon top border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-neon);
}

/* Footer Content Grid */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.3fr repeat(4, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1280px) {
    .footer-content {
        grid-template-columns: 1.5fr repeat(4, 1fr);
        gap: 40px;
    }
}

/* Footer Brand & Logo */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Footer Columns */
.footer-column h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: inherit;
}

.footer-column > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--neon-pink);
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(196, 76, 255, 0.1);
    border: 1px solid rgba(196, 76, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-neon);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(196, 76, 255, 0.4);
}

/* Category Toggle */
.category-toggle {
    color: var(--neon-pink) !important;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

.category-toggle:hover {
    color: var(--neon-purple) !important;
}

.toggle-icon {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.more-categories-list {
    margin-top: 12px;
    padding-left: 0;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

/* Country toggle styles (legacy support) */
.country-item {
    margin-bottom: 10px;
    padding: 0;
}

.country-toggle {
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.country-toggle:hover {
    color: var(--neon-pink);
}

.country-links {
    list-style: none;
    margin-left: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.country-links li {
    margin-bottom: 8px;
}

.country-links a {
    font-size: 0.9em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.country-links a:hover {
    color: var(--neon-pink);
}

/* Animation for smooth expand/collapse */
.country-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.country-links[style*="display: block"] {
    max-height: 500px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .footer {
        padding: 40px 20px 24px;
    }
    
    .footer-logo-img {
        height: 30px;
        max-width: 130px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 24px;
    }
}
