/* Footer Styles */
.footer {
    margin-top: 8rem;
    padding: 4rem 0 0;
    background: #151524ba;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ff0054 50%, transparent 100%);
}

@media (max-width: 768px) {
    .footer {
        margin-top: 6rem;
        padding: 3rem 0 2rem;
    }
}

/* Statistics Section */
.footer__statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    /* padding: 0 2rem; */
}

@media (max-width: 1024px) {
    .footer__statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer__statistics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer__statistics-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer__statistics-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 0, 84, 0.3);
    transform: translateY(-2px);
}

.footer__statistics-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.footer__statistics-numb {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .footer__statistics-numb {
        font-size: 1.6rem;
    }
}

.footer__statistics-title {
    display: block;
    font-size: 1.2rem;
    color: #8B8BA7;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .footer__statistics-title {
        font-size: 1rem;
    }
}

/* Main Content */
.footer__main {
    position: relative;
}

/* Full Width Title Section */
.footer__title-section {
    margin-bottom: 3rem;
    text-align: left;
}

.footer__title-section .footer__seo-title {
    margin-bottom: 0;
}

/* Content with Image */
.footer__wrap {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
}

@media (max-width: 1024px) {
    .footer__wrap {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
}

.footer__img {
    flex: 0 0 auto;
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

@media (max-width: 1024px) {
    .footer__img {
        display: none;
    }
}

.footer__img img {
    width: auto;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    object-position: bottom;
    opacity: 0.8;
}

.footer__content {
    flex: 1;
    position: relative;
    padding-bottom: 2rem;
    z-index: 1;
    margin-right: 2rem;
}

/* SEO Content */
.footer__seo {
    margin-bottom: 3rem;
}

.footer__seo-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .footer__seo-title {
        font-size: 2rem;
    }
}

.footer__seo-text {
    font-size: 0.6875rem; /* 11px */
    line-height: 1.5;
    color: #B8B8C8;
    margin-bottom: 1.2rem;
    max-width: 60rem;
}

@media (max-width: 768px) {
    .footer__seo-text {
        font-size: 0.625rem; /* 10px */
    }
}

/* Twitch Link */
.footer__twitch-link {
    color: #ff0054;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer__twitch-link:hover {
    color: #ff3366;
    text-decoration: none;
}

.footer__seo-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer__seo-features {
        gap: 1.5rem;
    }
}

.footer__seo-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 0, 84, 0.1);
    border: 1px solid rgba(255, 0, 84, 0.2);
    border-radius: 0.6rem;
    color: #ff0054;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer__seo-feature:hover {
    background: rgba(255, 0, 84, 0.15);
    border-color: rgba(255, 0, 84, 0.3);
    transform: translateY(-2px);
}

.footer__seo-feature svg {
    flex-shrink: 0;
}

/* Highlight for +VIBEEE */
.footer__highlight {
    color: #ff0054;
    font-weight: 800;
    font-size: 1.1em;
}

/* SEO List */
.footer__seo-list {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.footer__seo-list li {
    position: relative;
    font-size: 0.6875rem; /* 11px */
    line-height: 1.5;
    color: #B8B8C8;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.footer__seo-list li::before {
    content: "•";
    color: #ff0054;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .footer__seo-list li {
        font-size: 0.625rem; /* 10px */
    }
}

/* Legal Links */
.footer__legal {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__legal-link {
    color: #8B8BA7;
    text-decoration: none;
    font-size: 0.875rem; /* 14px */
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: #ff0054;
}

@media (max-width: 768px) {
    .footer__legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Decorative Image */
.footer__content-img {
    position: absolute;
    bottom: 0;
    right: 659px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer__content-img {
        display: none;
    }
}

.footer__content-img img {
    width: auto;
    height: auto;
    max-width: 414px;
    max-height: 230px;
    object-fit: contain;
    object-position: bottom right;
}

/* Scroll to top button */
.footer__scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #ff0054 0%, #cc0042 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 0, 84, 0.3);
}

.footer__scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.footer__scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 84, 0.4);
}

@media (max-width: 768px) {
    .footer__scroll-top {
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

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

.footer__statistics-item {
    animation: fadeInUp 0.6s ease-out;
}

.footer__statistics-item:nth-child(1) { animation-delay: 0.1s; }
.footer__statistics-item:nth-child(2) { animation-delay: 0.2s; }
.footer__statistics-item:nth-child(3) { animation-delay: 0.3s; }
.footer__statistics-item:nth-child(4) { animation-delay: 0.4s; }

/* Update SVG colors to match theme */
.footer__statistics-item svg path,
.footer__statistics-item svg rect,
.footer__statistics-item svg circle {
    stroke: #ff0054;
    fill: none;
}

.footer__statistics-item svg path[fill] {
    fill: #ff0054;
}