﻿/* Footer Styles */
.footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-left: var(--live-feed-width, 213px);
    margin-right: var(--site-edge, 16px);
    width: auto;
}

.layout_row--footer > .footer {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.footer .container-footer.page_component {
    margin: 0 0 var(--site-edge, 16px) 0;
    padding: var(--site-panel-pad, 28px);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media(max-width: 1349px) {
    .footer .container-footer.page_component {
        margin: 0 var(--site-edge, 16px) var(--site-edge, 16px);
        padding: var(--site-panel-pad, 28px);
        padding-bottom: 0;
        width: auto;
        max-width: calc(100% - (var(--site-edge, 16px) * 2));
    }
}

@media(max-width: 900px) {
    .footer {
        margin-top: 0;
    }

    .footer .container-footer.page_component {
        /* Р Р°РЅСЊС€Рµ С‚СѓС‚ Р±С‹Р»Рѕ margin 16 + padding 16 = 32px РѕС‚ РєСЂР°СЏ СЌРєСЂР°РЅР° РґРѕ РєРѕРЅС‚РµРЅС‚Р°.
           РўРµРїРµСЂСЊ РїРѕ Р·Р°РїСЂРѕСЃСѓ: СЂРѕРІРЅРѕ 10px (margin 0 + padding 10px). */
        margin: 0 !important;
        padding: 24px 10px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

.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: 0;
        padding: 3rem 0 2rem;
    }
}

/* Statistics Section */
.footer__statistics {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    /* margin-bottom: 3rem; */
    width: 100%;
    flex-wrap: nowrap;
}

.footer__statistics-item {
    flex: 1 1 0;
    min-width: 0;
    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;
}

@media (max-width: 1024px) {
    .footer__statistics {
        flex-wrap: wrap;
    }
    
    .footer__statistics-item {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .footer__statistics {
        flex-direction: column;
    }
    
    .footer__statistics-item {
        flex: 1 1 100%;
        width: 100%;
    }
}

.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: 1.5rem;
    text-align: left;
}

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

/* Content with Image */
.footer__wrap {
    display: block;
    position: relative;
}

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

.footer__img {
  position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + (var(--site-panel-pad, 28px) * 2));
    margin: 28px calc(var(--site-panel-pad, 28px) * -1) 0;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    display: block;
  z-index: 0;
}

.footer__img::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 10, 16, 0) 0%, rgba(7, 10, 16, 0.72) 58%, rgba(7, 10, 16, 0.92) 100%);
    z-index: 1;
}

@media (max-width: 1349px) and (min-width: 1025px) {
    .footer__img {
        width: calc(100% + (var(--site-panel-pad, 28px) * 2));
        margin-left: calc(var(--site-panel-pad, 28px) * -1);
        margin-right: calc(var(--site-panel-pad, 28px) * -1);
    }
}

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

.footer__img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.9;
}

.footer__content {
    position: static;
    z-index: 1;
    margin-right: 0;
}

@media (min-width: 1025px) {
    .footer__content {
        padding-right: 0;
        box-sizing: border-box;
    }
}

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

.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: none;
    width: 100%;
}

@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 {
    position: absolute;
    left: var(--site-panel-pad, 28px);
    right: var(--site-panel-pad, 28px);
    bottom: 22px;
    z-index: 3;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 18px;
}

.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 {
        left: 10px;
        right: 10px;
        bottom: 14px;
        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;
}

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

/* РџСЂРё РїРѕСЏРІР»РµРЅРёРё РєРЅРѕРїРєРё РЅР°РІРµСЂС… СЃРґРІРёРіР°РµРј СЃРѕС†СЃРµС‚Рё РІРІРµСЂС… РЅР° РѕРґРЅСѓ РєРЅРѕРїРєСѓ */
.footer__scroll-top.visible ~ .floating-social {
    bottom: 7rem; /* 2rem base + 4rem button + 1rem gap */
}

.floating-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem; /* РЈРјРµРЅСЊС€РёР»Рё РЅР° 20% (5rem * 0.8 = 4rem) */
    height: 4rem;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.floating-social__btn--twitch {
    background: linear-gradient(135deg, #9146ffcc 0%, #7c3aed00 100%);
    color: #fff;
}

.floating-social__btn--youtube {
    background: linear-gradient(135deg, #ff0000cc 0%, #cc000000 100%);
    color: #fff;
}

.floating-social__btn--telegram {
    background: linear-gradient(135deg, #0088cccc 0%, #00669900 100%);
    color: #fff;
}

.floating-social__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.floating-social__btn--twitch:hover {
    /* box-shadow: 0 8px 30px rgba(145, 70, 255, 0.4); */
}

.floating-social__btn--youtube:hover {
    /* box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4); */
}

.floating-social__btn--telegram:hover {
   /* box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4); */
}

/* Scroll to top button - С‚РµРїРµСЂСЊ С‡Р°СЃС‚СЊ РїР»Р°РІР°СЋС‰РёС… РєРЅРѕРїРѕРє */
.footer__scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem; /* РЈРјРµРЅСЊС€РёР»Рё РЅР° 20% (5rem * 0.8 = 4rem) */
    height: 4rem;
    background: linear-gradient(135deg, #ff0054 0%, #cc0042 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.6rem; /* РЈРјРµРЅСЊС€РёР»Рё СЂР°Р·РјРµСЂ РёРєРѕРЅРєРё РїСЂРѕРїРѕСЂС†РёРѕРЅР°Р»СЊРЅРѕ */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000; /* РўРѕС‚ Р¶Рµ z-index, С‡С‚Рѕ Рё Сѓ СЃРѕС†СЃРµС‚РµР№ */
    box-shadow: 0 4px 20px rgba(255, 0, 84, 0.3);
    transform: translateY(100%); /* РЎРєСЂС‹РІР°РµРј РІРЅРёР·Сѓ */
}

/* РљРѕРіРґР° РєРЅРѕРїРєР° РІРёРґРЅР°, РїРѕРєР°Р·С‹РІР°РµРј РµС‘ РєР°Рє 4-СЋ РєРЅРѕРїРєСѓ */
.footer__scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* РџРѕРєР°Р·С‹РІР°РµРј РЅР° РјРµСЃС‚Рµ */
}

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

@media (max-width: 768px) {
    .floating-social {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    
    /* РњРѕР±РёР»СЊРЅС‹Р№ СЃРґРІРёРі РЅР° РІС‹СЃРѕС‚Сѓ РјРµРЅСЊС€РµР№ РєРЅРѕРїРєРё */
    .footer__scroll-top.visible ~ .floating-social {
        bottom: 5.5rem; /* 1.5rem base + 3.2rem button + 0.75rem gap */
    }
    
    .floating-social__btn {
        width: 3.2rem; /* РЈРјРµРЅСЊС€РёР»Рё РЅР° 20% (4rem * 0.8 = 3.2rem) */
        height: 3.2rem;
    }
    
    .floating-social__btn svg,
    .floating-social__btn img {
        width: 16px; /* РЈРјРµРЅСЊС€РёР»Рё РїСЂРѕРїРѕСЂС†РёРѕРЅР°Р»СЊРЅРѕ */
        height: 16px;
    }
    
    .footer__scroll-top {
        width: 3.2rem; /* РЈРјРµРЅСЊС€РёР»Рё РЅР° 20% (4rem * 0.8 = 3.2rem) */
        height: 3.2rem;
        font-size: 1.28rem; /* РЈРјРµРЅСЊС€РёР»Рё РїСЂРѕРїРѕСЂС†РёРѕРЅР°Р»СЊРЅРѕ (1.6rem * 0.8 = 1.28rem) */
        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-chil