/* Black Footer matching Navbar Theme with Chessback.com Blue-Purple Accents */

/* Footer Color Palette - Matching Navbar */
:root {
    /* Exact chessback.com colors for consistency */
    --footer-bg: #000000;              /* Pure black background */
    --footer-bg-secondary: #0a0a0a;    /* Slightly lighter black */
    --footer-border: #2a2a2a;          /* Subtle border */
    --footer-accent: #6B46C1;          /* Chessback purple primary */
    --footer-accent-hover: #3B82F6;    /* Chessback blue secondary */
    --footer-text: #ffffff;            /* Pure white text */
    --footer-text-muted: #cccccc;      /* Muted white text */
    --footer-text-secondary: #999999;  /* Secondary text */
    --footer-glow: rgba(107, 70, 193, 0.3); /* Purple glow effect */
}

/* Main Footer Container */
#main-footer {
    background: var(--footer-bg) !important;
    background-image: 
        linear-gradient(0deg, rgba(107,70,193,0.02) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(107,70,193,0.03) 0%, transparent 70%) !important;
    border-top: 1px solid var(--footer-border) !important;
    box-shadow: 
        0 -2px 20px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255,255,255,0.02) !important;
    color: var(--footer-text) !important;
    padding: 32px 0 !important;
    text-align: center !important;
    font-family: var(--navbar-font, 'Söhne Leicht', sans-serif) !important;
    font-weight: 300 !important;
    letter-spacing: 0.5px !important;
    position: relative;
}

/* Footer Content */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Copyright Text */
.footer-copyright {
    font-size: 1rem;
    color: var(--footer-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* Brand Name Styling */
.footer-brand {
    color: var(--footer-accent);
    font-weight: 500;
    background: linear-gradient(135deg, var(--footer-accent) 0%, var(--footer-accent-hover) 70%, #9932CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Year Styling */
.footer-year {
    color: var(--footer-text);
    font-weight: 400;
}

/* Hover Effects */
.footer-brand:hover {
    text-shadow: 0 0 10px var(--footer-glow);
    transform: translateY(-1px);
}

/* Footer Links (if needed) */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--footer-glow), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover {
    color: var(--footer-accent);
    background: rgba(74, 144, 226, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-link:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    #main-footer {
        padding: 24px 0;
    }
    
    .footer-links {
        gap: 16px;
        margin-top: 16px;
    }
    
    .footer-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .footer-copyright {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
}

/* Subtle Animation */
@keyframes footer-glow {
    0%, 100% { 
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.02);
    }
    50% { 
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.8), 0 0 30px var(--footer-glow), inset 0 1px 0 rgba(255,255,255,0.02);
    }
}

#main-footer {
    animation: footer-glow 8s ease-in-out infinite;
}

/* Gaming-style separator line */
#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), var(--footer-accent-hover), transparent);
    opacity: 0.6;
}

/* Focus states for accessibility */
.footer-link:focus {
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
} 