/* ===== FOOTER COMPONENT ===== */
.footer {
    padding-top: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--first-color), #FFD700, var(--first-color));
    animation: shimmer 3s ease-in-out infinite;
}

.footer__container {
    row-gap: 3.5rem;
    position: relative;
    z-index: 1;
}

.footer__bg {
    background: transparent;
    padding: 2rem 0 3rem;
}

.footer__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-0-25);
    color: #fff;
    font-weight: var(--font-semi-bold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer__subtitle {
    font-size: var(--normal-font-size);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.footer__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--first-color), #FFD700);
    transition: width 0.3s ease;
}

.footer__link:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer__link:hover::before {
    width: 100%;
}

.footer__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Footer Info Section */
.footer__info {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__info-icon {
    font-size: 1.2rem;
    color: var(--first-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
}

.footer__info-text {
    font-size: var(--small-font-size);
    line-height: 1.4;
}

/* Newsletter Section */
.footer__newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer__newsletter-title {
    color: #fff;
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    font-weight: var(--font-semi-bold);
}

.footer__newsletter-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: var(--small-font-size);
}

.footer__newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--body-font);
    backdrop-filter: blur(10px);
}

.footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__newsletter-input:focus {
    outline: none;
    border-color: var(--first-color);
    background: rgba(255, 255, 255, 0.15);
}

.footer__newsletter-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--first-color), #FFD700);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
}

.footer__newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Footer Bottom */
.footer__copy {
    font-size: var(--smaller-font-size);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--mb-3);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer__copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--first-color), transparent);
}

/* Floating Elements */
.footer__floating {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.footer__floating:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.footer__floating:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.footer__floating:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Animations */
@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

/* Responsive */
@media screen and (max-width: 567px) {
    .footer__newsletter-form {
        flex-direction: column;
    }
    
    .footer__newsletter-input {
        min-width: auto;
    }
    
    .footer__socials {
        justify-content: center;
    }
}

@media screen and (min-width: 568px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer__info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .footer__bg {
        padding: 3rem 0 3.5rem;
    }
    
    .footer__links {
        flex-direction: row;
        column-gap: 2rem;
    }
    
    .footer__socials {
        justify-self: flex-end;
    }
    
    .footer__copy {
        margin-top: 4.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .footer__container {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer__newsletter {
        grid-column: 1 / -1;
        margin-bottom: 3rem;
    }
}