/* ================================
   Modern Footer - Pexels Style
   ================================ */

/* ===== Main Footer Container ===== */
.modern-footer {
    position: relative;
    /* background: var(--color-bg-subtle); */
    /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
    background: linear-gradient(135deg, rgba(10, 10, 10, 1) 0%, rgba(15, 25, 20, 1) 50%, rgba(10, 20, 15, 1) 100%);
    padding: 4rem 0 0;
    overflow: hidden;
}

.modern-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 0;
    }
    
    .modern-footer__container {
        padding: 0 1.5rem;
    }
}

/* ===== Main Content Grid ===== */
.modern-footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .modern-footer__main {
        grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .modern-footer__main {
        gap: 2.5rem;
    }
}

/* ===== Brand Section ===== */
.modern-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modern-footer__logo {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
}

.modern-footer__logo-icon {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.modern-footer__brand:hover .modern-footer__logo-icon {
    opacity: 0.8;
    transform: scale(1.05);
}

.modern-footer__brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    
    /* Premium Gradient Text Effect */
    background: linear-gradient(135deg, #ffffff 0%, #2adb5c 45%, #32e569 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    
    /* Advanced Typography with Premium Font */
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Orbitron', 'Rajdhani', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    
    /* Tech Glow Effect */
    filter: drop-shadow(0 0 10px rgba(42, 219, 92, 0.3));
    
    /* Animation */
    animation: footerTextGradient 4s ease infinite;
    
    position: relative;
    display: inline-block;
}

@keyframes footerTextGradient {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Enhanced hover effect */
.modern-footer__brand:hover .modern-footer__brand-title {
    filter: drop-shadow(0 0 16px rgba(42, 219, 92, 0.6));
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
}

.modern-footer__brand-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 320px;
}

/* ===== Social Links ===== */
.modern-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.modern-footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.modern-footer__social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 219, 92, 0.3);
}

.modern-footer__social-link svg {
    width: 1.125rem;
    height: 1.125rem;
    transition: all 0.2s ease;
}

.modern-footer__social-link:hover svg {
    transform: scale(1.1);
}

/* ===== Links Section ===== */
.modern-footer__links-title,
.modern-footer__formats-title,
.modern-footer__resources-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.modern-footer__links-list,
.modern-footer__resources-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.modern-footer__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.375rem 0;
    font-weight: 500;
}

.modern-footer__link:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

.modern-footer__link-icon {
    width: 0.875rem;
    height: 0.875rem;
    transition: all 0.2s ease;
    opacity: 0;
}

.modern-footer__link:hover .modern-footer__link-icon {
    opacity: 1;
    transform: translateX(2px);
}

/* ===== Formats Section ===== */
.modern-footer__format-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modern-footer__format-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.modern-footer__format-item:hover {
    background: var(--color-bg-subtle);
    border-color: rgba(42, 219, 92, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(42, 219, 92, 0.2);
}

.modern-footer__format-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.modern-footer__format-icon--video {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.modern-footer__format-icon--audio {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.modern-footer__format-icon--image {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.modern-footer__format-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modern-footer__format-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.modern-footer__format-text {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===== Footer Bottom ===== */
.modern-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    /* background: var(--color-bg); */
}

.modern-footer__bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .modern-footer__bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.modern-footer__copyright {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.modern-footer__copyright-brand {
    font-weight: 700;
    color: var(--color-text);
}

/* ===== Badges ===== */
.modern-footer__badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modern-footer__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: var(--color-bg-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.modern-footer__badge:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 2px 6px rgba(42, 219, 92, 0.3);
}

.modern-footer__badge-icon {
    width: 1rem;
    height: 1rem;
    transition: all 0.2s ease;
}

.modern-footer__badge:hover .modern-footer__badge-icon {
    transform: scale(1.1);
}

/* ===== Decorative Background (Removed for Pexels style) ===== */
.modern-footer__bg,
.modern-footer__bg-circle {
    display: none;
}

/* ================================
   AuralPix Footer Logo Advanced Animations
   ================================ */

/* Background Glow Pulse */
.footer-logo-glow {
    animation: footerGlowPulse 3s ease-in-out infinite;
}

@keyframes footerGlowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Outer Ring Rotation */
.footer-logo-outer-ring {
    animation: footerRotateRing 20s linear infinite;
    transform-origin: center;
}

@keyframes footerRotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hexagon Shimmer Effect */
.footer-logo-shimmer {
    animation: footerShimmerEffect 3s ease-in-out infinite;
}

@keyframes footerShimmerEffect {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
}

/* Center Pulse Animation */
.footer-logo-pulse {
    animation: footerCenterPulse 2s ease-in-out infinite;
}

@keyframes footerCenterPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Circular Wave Bars Animation - Always active on footer logo */
.footer-logo-wave-circular rect {
    animation: footerWaveBarPulse 1.5s ease-in-out infinite;
}

.footer-logo-wave-circular rect:nth-child(1) {
    animation-delay: 0s;
}

.footer-logo-wave-circular rect:nth-child(2) {
    animation-delay: 0.1s;
}

.footer-logo-wave-circular rect:nth-child(3) {
    animation-delay: 0.2s;
}

.footer-logo-wave-circular rect:nth-child(4) {
    animation-delay: 0.3s;
}

.footer-logo-wave-circular rect:nth-child(5) {
    animation-delay: 0.4s;
}

.footer-logo-wave-circular rect:nth-child(6) {
    animation-delay: 0.5s;
}

.footer-logo-wave-circular rect:nth-child(7) {
    animation-delay: 0.6s;
}

.footer-logo-wave-circular rect:nth-child(8) {
    animation-delay: 0.7s;
}

@keyframes footerWaveBarPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

/* Pixel Twinkle Effect */
.footer-logo-pixels rect {
    animation: footerPixelTwinkle 2s ease-in-out infinite;
}

.footer-logo-pixels rect:nth-child(1) {
    animation-delay: 0s;
}

.footer-logo-pixels rect:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-logo-pixels rect:nth-child(3) {
    animation-delay: 0.4s;
}

.footer-logo-pixels rect:nth-child(4) {
    animation-delay: 0.6s;
}

.footer-logo-pixels rect:nth-child(5) {
    animation-delay: 0.3s;
}

.footer-logo-pixels rect:nth-child(6) {
    animation-delay: 0.5s;
}

.footer-logo-pixels rect:nth-child(7) {
    animation-delay: 0.7s;
}

.footer-logo-pixels rect:nth-child(8) {
    animation-delay: 0.1s;
}

@keyframes footerPixelTwinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Data Flow Animation */
.footer-logo-data-flow path {
    animation: footerDataFlow 2s ease-in-out infinite;
}

@keyframes footerDataFlow {
    0% {
        stroke-dashoffset: 24;
        opacity: 0.1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.1;
    }
}

/* Hexagon Scale on Hover */
.modern-footer__brand:hover .footer-logo-hexagon {
    animation: footerHexagonScale 2s ease-in-out infinite;
}

@keyframes footerHexagonScale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Enhanced Hover Effect for Footer Logo */
.modern-footer__brand:hover .modern-footer__logo-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(42, 219, 92, 0.5));
}

/* Center Group Rotation on Hover */
.modern-footer__brand:hover .footer-logo-center {
    animation: footerCenterRotate 8s linear infinite;
}

@keyframes footerCenterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}