/* Footer CSS - Cleaned and Optimized */

/* Main footer container */
.footer-unified {
    background: #1a1a1a;
    color: #ffffff;
    padding: 30px 0;
    position: relative;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

/* Icons section */
.footer-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-item {
    background: rgba(250, 205, 102, 0.15);
    border: 1px solid rgba(250, 205, 102, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-item:hover {
    background: rgba(250, 205, 102, 0.4);
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 8px 25px rgba(250, 205, 102, 0.4);
    border-color: rgba(250, 205, 102, 0.6);
}

.icon-item:active {
    transform: translateY(-1px) scale(1.08);
    background: rgba(250, 205, 102, 0.5);
    box-shadow: 0 4px 15px rgba(250, 205, 102, 0.5);
    transition: all 0.1s ease;
}

/* Icon pulse effect */
.icon-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(250, 205, 102, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.icon-item:hover::before {
    width: 60px;
    height: 60px;
    opacity: 0;
}

/* Platform and device icons */
.platform-icon, .device-icon, .info-icon {
    width: 20px;
    height: 20px;
    fill: #FACD66;
    filter: brightness(0) saturate(100%) invert(85%) sepia(32%) saturate(585%) hue-rotate(3deg) brightness(103%) contrast(92%);
}

/* Footer divider vertical */
.footer-divider-vertical {
    width: 2px;
    height: 45px;
    background: rgba(250, 205, 102, 0.3);
    margin: 2 4px;
    position: relative;
}

/* Info button specific styles */
.info-button {
    position: relative;
}

.info-button:hover {
    background: rgba(250, 205, 102, 0.4);
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 8px 25px rgba(250, 205, 102, 0.4);
    border-color: rgba(250, 205, 102, 0.6);
}

.info-button:active {
    transform: translateY(-1px) scale(1.08);
    background: rgba(250, 205, 102, 0.5);
    box-shadow: 0 4px 15px rgba(250, 205, 102, 0.5);
    transition: all 0.1s ease;
}

/* Links section */
.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
}

/* Micro-interaction for links */
.footer-links:hover .footer-link:not(:hover) {
    opacity: 0.5;
    transform: scale(0.95);
}

.footer-link {
    color: rgba(250, 205, 102, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-link:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    color: #FACD66;
    text-shadow: 0 0 10px rgba(250, 205, 102, 0.3);
    background: rgba(250, 205, 102, 0.1);
}

.footer-link:active {
    transform: translateY(0) scale(0.98);
    background: rgba(250, 205, 102, 0.2);
    transition: all 0.1s ease;
}

/* Underline animation */
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FACD66;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.footer-link:hover::after {
    width: 100%;
    box-shadow: 0 0 8px rgba(250, 205, 102, 0.6);
}

.footer-divider {
    font-size: 0.9rem;
    color: rgba(250, 205, 102, 0.6);
    opacity: 0.75;
}

/* Copyright section */
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(250, 205, 102, 0.4);
    opacity: 0.75;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-unified {
        padding: 25px 0;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-icons {
        gap: 8px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-unified {
        padding: 20px 0;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-icons {
        gap: 6px;
    }

    .icon-item {
        width: 40px;
        height: 40px;
    }

    .platform-icon, .device-icon, .info-icon {
        width: 18px;
        height: 18px;
    }
}