/**
 * New Footer Styles - Cartzilla-inspired Design
 * Matches dashboard/cartzilla design language
 */

/* ==========================================================================
   Footer Base
   ========================================================================== */

.cz-footer {
    background: linear-gradient(180deg, rgba(20, 25, 32, 0.95) 0%, rgba(15, 18, 24, 1) 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Light theme override - matches navbar background */
html[data-theme="light"] .cz-footer {
    background: linear-gradient(135deg, #e5eafb 0%, #d0d9fb 100%);
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .cz-footer-tagline {
    color: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .cz-footer-contact-label {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .cz-social-link {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .cz-social-link:hover {
    background: rgba(47, 110, 213, 0.15);
    color: #2f6ed5;
}

html[data-theme="light"] .cz-trustpilot-link:hover {
    color: #00b67a; /* Trustpilot green */
}

html[data-theme="light"] .cz-footer-heading {
    color: #222;
}

html[data-theme="light"] .cz-footer-heading::after {
    background: linear-gradient(90deg, #2f6ed5, transparent);
}

html[data-theme="light"] .cz-footer-links a {
    color: rgba(0, 0, 0, 0.65);
}

html[data-theme="light"] .cz-footer-links a:hover {
    color: #222;
}

html[data-theme="light"] .cz-footer-links a i {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .cz-footer-games {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .cz-footer-games-label {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .cz-game-pill {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .cz-game-pill:hover {
    background: rgba(47, 110, 213, 0.15);
    color: #2f6ed5;
}

html[data-theme="light"] .cz-footer-bottom {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .cz-footer-copyright {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .cz-footer-legal {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .cz-footer-disclaimer {
    color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .cz-footer-payments img {
    filter: grayscale(100%) brightness(0.5);
}

html[data-theme="light"] .cz-footer-payments img:hover {
    filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   Brand Section
   ========================================================================== */

.cz-footer-brand {
    max-width: 320px;
}

.cz-footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */

.cz-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cz-footer-contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cz-footer-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cz-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #2f6ed5 0%, #1e4a8f 100%);
    color: #fff;
    border-radius: 50rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
}

.cz-footer-contact-btn:hover {
    background: linear-gradient(135deg, #3d7de6 0%, #2558a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(47, 110, 213, 0.4);
    color: #fff;
}

/* ==========================================================================
   Social Links
   ========================================================================== */

.cz-footer-social {
    display: flex;
    gap: 0.75rem;
}

.cz-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.cz-social-link:hover {
    background: rgba(47, 110, 213, 0.2);
    color: #2f6ed5;
    transform: translateY(-2px);
}

/* Trustpilot text link */
.cz-trustpilot-link {
    width: auto;
    padding: 0 1rem;
    border-radius: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.cz-trustpilot-link:hover {
    color: #00b67a; /* Trustpilot green */
}

/* Discord specific */
.cz-social-link:hover .fa-discord {
    color: #5865F2;
}

/* Twitter specific */
.cz-social-link:hover .fa-twitter {
    color: #1DA1F2;
}

/* ==========================================================================
   Footer Headings
   ========================================================================== */

.cz-footer-heading {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
}

.cz-footer-heading::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #2f6ed5, transparent);
    border-radius: 1px;
}

/* ==========================================================================
   Footer Links
   ========================================================================== */

.cz-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cz-footer-links li {
    margin-bottom: 0.625rem;
}

.cz-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
}

.cz-footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.cz-footer-links a i {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.cz-footer-links a:hover i {
    opacity: 1;
}

/* ==========================================================================
   Games Quick Links
   ========================================================================== */

.cz-footer-games {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.cz-footer-games-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
}

.cz-game-pill {
    display: inline-block;
    padding: 0.35rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cz-game-pill:hover {
    background: rgba(47, 110, 213, 0.2);
    color: #fff;
}

/* ==========================================================================
   Bottom Bar
   ========================================================================== */

.cz-footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.cz-footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* ==========================================================================
   Payment Methods
   ========================================================================== */

.cz-footer-payments img {
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.2s ease;
}

.cz-footer-payments img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   Legal Disclaimers
   ========================================================================== */

.cz-footer-legal {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.cz-footer-disclaimer {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767.98px) {
    .cz-footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .cz-footer-brand .toggle-logo {
        margin: 0 auto;
    }
    
    .cz-footer-contact {
        align-items: center;
    }
    
    .cz-footer-social {
        justify-content: center;
    }
    
    .cz-footer-heading {
        text-align: center;
    }
    
    .cz-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cz-footer-links {
        text-align: center;
    }
    
    .cz-footer-links a {
        justify-content: center;
    }
    
    .cz-footer-links a:hover {
        transform: none;
    }
    
    .cz-footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .cz-footer {
        padding-top: 1rem;
    }
    
    .cz-footer-games {
        display: none;
    }
}

/* ==========================================================================
   Animation Enhancements
   ========================================================================== */

@keyframes footer-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cz-footer .container > * {
    animation: footer-fade-in 0.5s ease forwards;
}

.cz-footer .container > *:nth-child(2) { animation-delay: 0.1s; }
.cz-footer .container > *:nth-child(3) { animation-delay: 0.2s; }
.cz-footer .container > *:nth-child(4) { animation-delay: 0.3s; }

