/* FlexProfile Footer CSS - Vollständig mit Legal Pages Integration */
/* css/footer.css */

/* Font Awesome Icons CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* === FOOTER VARIABLES === */
:root {
    --footer-primary: #1a1a2e;
    --footer-secondary: #16213e;
    --footer-accent: #667eea;
    --footer-accent-hover: #5a67d8;
    --footer-text: #e2e8f0;
    --footer-text-muted: #94a3b8;
    --footer-text-bright: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    --footer-shadow-lg: 0 -15px 50px rgba(0, 0, 0, 0.3);
    --footer-radius: 20px;
    --footer-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === FOOTER TOGGLE BUTTON === */
.fp-footer-toggle {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: var(--footer-transition);
    pointer-events: none;
}

.fp-footer-toggle.show {
    opacity: 0.35;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.fp-toggle-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    border: none;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    padding: 1px 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--footer-transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fp-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.fp-toggle-btn:hover {
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-hover));
    color: var(--footer-text-bright);
    transform: translateY(-2px);
    box-shadow: var(--footer-shadow);
}

.fp-toggle-btn:hover::before {
    left: 100%;
}

.fp-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.fp-toggle-btn.expanded .fp-toggle-icon {
    transform: rotate(180deg);
}

.fp-toggle-text {
    font-weight: 600;
}

/* === FOOTER MAIN === */
.fp-footer {
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    color: var(--footer-text);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    transform: translateY(100%);
    transition: var(--footer-transition);
    max-height: 85vh;
    overflow-y: auto;
    border-top: 1px solid var(--footer-border);
    box-shadow: var(--footer-shadow-lg);
}

.fp-footer.expanded {
    transform: translateY(0);
}

.fp-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
    z-index: 1;
}

.fp-footer-content {
    position: relative;
    z-index: 2;
    padding-bottom: 65px; /* Platz für Toggle Button */
}

.fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === FOOTER TOP SECTION === */
.fp-footer-top {
    padding: 40px 0 30px;
    position: relative;
}

.fp-footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.fp-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.fp-footer-column {
    min-height: 200px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.fp-footer-column:nth-child(1) { animation-delay: 0.1s; }
.fp-footer-column:nth-child(2) { animation-delay: 0.2s; }
.fp-footer-column:nth-child(3) { animation-delay: 0.3s; }
.fp-footer-column:nth-child(4) { animation-delay: 0.4s; }
.fp-footer-column:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === COMPANY INFO COLUMN === */
.fp-company-info {
    grid-column: span 1;
}

.fp-footer-logo .fp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--footer-text-bright);
    margin-bottom: 15px;
    text-decoration: none;
    transition: var(--footer-transition);
}

.fp-footer-logo .fp-footer-brand:hover {
    color: var(--footer-accent);
    transform: scale(1.02);
}

.fp-brand-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.fp-footer-description {
    color: var(--footer-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* === FOOTER STATISTICS === */
.fp-footer-stats {
    margin-top: 30px;
}

.fp-stats-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--footer-text-bright);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.fp-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border-radius: 12px;
    border: 1px solid var(--footer-border);
    transition: var(--footer-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.fp-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.fp-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: var(--footer-accent);
}

.fp-stat-item:hover::before {
    left: 100%;
}

.fp-stat-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
}

.fp-stat-content {
    flex: 1;
}

.fp-stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--footer-accent);
    line-height: 1;
    display: block;
}

.fp-stat-label {
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    line-height: 1;
    margin-top: 2px;
}

/* === FOOTER COLUMNS === */
.fp-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--footer-text-bright);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.fp-footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
    border-radius: 1px;
}

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

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

.fp-footer-link {
    color: var(--footer-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-radius: 6px;
    transition: var(--footer-transition);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.fp-footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(102, 126, 234, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.fp-footer-link:hover {
    color: var(--footer-text-bright);
    transform: translateX(5px);
    padding-left: 8px;
}

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

.fp-link-icon {
    font-size: 0.9rem;
    min-width: 16px;
}

/* === CONTACT COLUMN === */
.fp-contact-column {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--footer-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fp-contact-column::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--footer-accent), transparent, var(--footer-accent));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fp-contact-column:hover::before {
    opacity: 1;
}

/* === NEWSLETTER SIGNUP === */
.fp-newsletter-signup {
    margin-bottom: 30px;
}

.fp-newsletter-form {
    margin-bottom: 15px;
}

.fp-newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    flex-direction: column;
}

.fp-newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--footer-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text-bright);
    font-size: 0.9rem;
    transition: var(--footer-transition);
    backdrop-filter: blur(5px);
}

.fp-newsletter-input::placeholder {
    color: var(--footer-text-muted);
}

.fp-newsletter-input:focus {
    outline: none;
    border-color: var(--footer-accent);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.fp-newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-hover));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--footer-transition);
    min-width: 110px;
    position: relative;
    overflow: hidden;
}

.fp-newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.fp-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.fp-newsletter-btn:hover::before {
    left: 100%;
}

.fp-newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.fp-newsletter-privacy {
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fp-newsletter-privacy input[type="checkbox"] {
    margin: 0;
    accent-color: var(--footer-accent);
}

.fp-newsletter-privacy a {
    color: var(--footer-accent);
    text-decoration: none;
}

.fp-newsletter-privacy a:hover {
    text-decoration: underline;
}

.fp-newsletter-message {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
    margin-top: 10px;
}

.fp-newsletter-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.fp-newsletter-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* === CONTACT INFO === */
.fp-contact-info {
    margin-top: 20px;
}

.fp-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: var(--footer-transition);
}

.fp-contact-item:hover {
    color: var(--footer-text-bright);
    transform: translateX(3px);
}

.fp-contact-icon {
    font-size: 1rem;
    min-width: 18px;
    color: var(--footer-accent);
}

.fp-contact-link {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: var(--footer-transition);
}

.fp-contact-link:hover {
    color: var(--footer-text-bright);
}

.fp-contact-text {
    color: var(--footer-text-muted);
    line-height: 1.4;
}

/* === FOOTER BOTTOM === */
.fp-footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
}

.fp-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
}

.fp-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.fp-footer-copyright p {
    margin: 0 0 8px 0;
    color: var(--footer-text-muted);
    font-size: 0.9rem;
}

.fp-footer-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    margin-top: 5px;
}

.fp-made-with {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-version-info {
    background: rgba(102, 126, 234, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--footer-accent);
}

/* === SOCIAL MEDIA === */
.fp-footer-social {
    display: flex;
    align-items: center;
}

.fp-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.fp-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--footer-transition);
    border: 2px solid var(--footer-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.fp-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--footer-accent), var(--footer-accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fp-social-icon i {
    font-size: 1.2rem;
    color: var(--footer-text-bright);
    transition: var(--footer-transition);
    position: relative;
    z-index: 1;
}

.fp-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.fp-social-icon:hover::before {
    opacity: 1;
}

/* Platform-specific hover colors */
.fp-social-twitter:hover { border-color: #1da1f2; }
.fp-social-twitter:hover::before { background: #1da1f2; }

.fp-social-instagram:hover { border-color: #e4405f; }
.fp-social-instagram:hover::before { background: linear-gradient(45deg, #e4405f, #833ab4); }

.fp-social-linkedin:hover { border-color: #0077b5; }
.fp-social-linkedin:hover::before { background: #0077b5; }

.fp-social-github:hover { border-color: #333; }
.fp-social-github:hover::before { background: #333; }

.fp-social-youtube:hover { border-color: #ff0000; }
.fp-social-youtube:hover::before { background: #ff0000; }

.fp-social-tiktok:hover { border-color: #000000; }
.fp-social-tiktok:hover::before { background: #000000; }

.fp-social-facebook:hover { border-color: #1877f2; }
.fp-social-facebook:hover::before { background: #1877f2; }

.fp-social-discord:hover { border-color: #5865f2; }
.fp-social-discord:hover::before { background: #5865f2; }

.fp-social-twitch:hover { border-color: #9146ff; }
.fp-social-twitch:hover::before { background: #9146ff; }

/* === BACK TO TOP === */
.fp-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-hover));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--footer-transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fp-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.fp-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.fp-back-to-top i {
    font-size: 1.2rem;
}

/* === SPINNER ANIMATION === */
.fp-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: fpSpin 1s linear infinite;
}

@keyframes fpSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === COOKIE BANNER STYLES === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    font-family: inherit;
}

.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.cookie-banner-content {
    position: relative;
    background: var(--footer-text-bright);
    border-top: 3px solid var(--footer-accent);
    box-shadow: var(--footer-shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-simple-banner {
    padding: 20px;
}

.cookie-banner-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cookie-banner-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--footer-primary);
    margin: 0 0 8px 0;
}

.cookie-banner-description {
    color: var(--footer-text-muted);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--footer-transition);
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-hover));
    color: white;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cookie-btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.cookie-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .fp-footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
    
    .fp-company-info {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .fp-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fp-footer-top {
        padding: 30px 0 25px;
    }
    
    .fp-footer-bottom-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .fp-social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .fp-social-icon {
        width: 40px;
        height: 40px;
    }
    
    .fp-social-icon i {
        font-size: 1.1rem;
    }
    
    .fp-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .fp-newsletter-input-group {
        flex-direction: column;
    }
    
    .fp-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .fp-toggle-btn {
        padding: 1px 2px;
        font-size: 0.85rem;
    }
    
    .cookie-banner-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-banner-text {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .fp-container {
        padding: 0 15px;
    }
    
    .fp-contact-column {
        padding: 20px;
    }
    
    .fp-footer-meta {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* === THEME SUPPORT === */
.fp-footer[data-theme="light"] {
    --footer-primary: #f8fafc;
    --footer-secondary: #e2e8f0;
    --footer-text: #334155;
    --footer-text-muted: #64748b;
    --footer-text-bright: #1e293b;
    --footer-border: rgba(0, 0, 0, 0.1);
}

.fp-footer[data-theme="light"] .fp-toggle-btn {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #334155;
    border-top-color: rgba(0, 0, 0, 0.1);
}

.fp-footer[data-theme="light"] .fp-newsletter-input {
    background: rgba(0, 0, 0, 0.05);
    color: #1e293b;
}

.fp-footer[data-theme="light"] .fp-newsletter-input::placeholder {
    color: #64748b;
}

/* === PRINT STYLES === */
@media print {
    .fp-footer-toggle,
    .fp-footer,
    .fp-back-to-top,
    .cookie-banner {
        display: none !important;
    }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
.fp-footer-link:focus,
.fp-social-icon:focus,
.fp-newsletter-btn:focus,
.fp-toggle-btn:focus,
.cookie-btn:focus {
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .fp-footer,
    .fp-footer-toggle,
    .fp-footer-link,
    .fp-social-icon,
    .fp-stat-item,
    .fp-newsletter-btn,
    .fp-toggle-btn,
    .cookie-btn {
        transition: none;
        animation: none;
    }
    
    .fp-toggle-btn::before,
    .fp-newsletter-btn::before,
    .fp-stat-item::before,
    .fp-footer-link::before,
    .fp-social-icon::before {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .fp-footer {
        border-top: 3px solid var(--footer-accent);
    }
    
    .fp-footer-link:hover,
    .fp-social-icon:hover {
        outline: 2px solid currentColor;
    }
}

/* === LOADING STATES === */
.fp-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.fp-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--footer-border);
    border-top: 2px solid var(--footer-accent);
    border-radius: 50%;
    animation: fpSpin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* === CUSTOM SCROLLBAR FOR FOOTER === */
.fp-footer::-webkit-scrollbar {
    width: 8px;
}

.fp-footer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.fp-footer::-webkit-scrollbar-thumb {
    background: var(--footer-accent);
    border-radius: 4px;
}

.fp-footer::-webkit-scrollbar-thumb:hover {
    background: var(--footer-accent-hover);
}

/* === NOTIFICATION STYLES === */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    pointer-events: none;
}

.notification {
    background: var(--footer-text-bright);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: var(--footer-shadow);
    border-left: 4px solid var(--footer-accent);
    animation: slideInRight 0.3s ease-out;
    pointer-events: all;
    max-width: 400px;
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === FOOTER SPECIFIC MEDIA QUERIES === */
@media (min-width: 1400px) {
    .fp-footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr;
        gap: 50px;
    }
    
    .fp-container {
        max-width: 1400px;
    }
}

/* === LEGAL PAGES INTEGRATION === */
.legal-page .fp-footer-toggle {
    opacity: 0.8;
}

.legal-page .fp-footer-toggle.show {
    opacity: 1;
}

.legal-page .fp-toggle-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: var(--footer-text-bright);
}

.legal-page .fp-toggle-btn:hover {
    background: linear-gradient(135deg, var(--footer-accent), var(--footer-accent-hover));
}

/* === PERFORMANCE OPTIMIZATIONS === */
.fp-footer * {
    will-change: auto;
}

.fp-footer-grid {
    contain: layout style;
}

.fp-social-icons {
    contain: layout;
}

.fp-stats-grid {
    contain: layout;
}
    