* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f0728 0%, #1a0b2e 50%, #0f0728 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle:hover {
    background: rgba(147, 51, 234, 0.3);
    border-radius: 8px;
}

table {
    display: block;
    width: 100%;
    overflow-x: scroll;
}

ul,
ol {
    list-style-position: inside;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-collapse {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
}

.menu-collapse:hover {
    background: rgba(147, 51, 234, 0.3);
    border-radius: 8px;
}

.arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(-45deg);
}

.sidebar.collapsed .arrow {
    transform: rotate(135deg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    padding: 0.5rem 1rem;
    background: #8acaff1f;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.btn-login:hover {
    background: rgba(147, 51, 234, 0.3);
}

.btn-register {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.btn-register:hover {
    transform: scale(1.05);
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    margin-top: 64px;
    /* padding-bottom: 80px; */
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    bottom: 0;
    width: 256px;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(147, 51, 234, 0.3);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 100;
    transform: translateX(-100%);
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    position: relative;
    font-size: 14px;
}

.nav-item:hover {
    background: rgba(147, 51, 234, 0.3);
}

.nav-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.nav-item .icon {
    font-size: 1.25rem;
    min-width: 24px;
}

.nav-item .label {
    flex: 1;
    white-space: nowrap;
}

.badge {
    background: #10b981;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav-divider {
    height: 1px;
    background: rgba(147, 51, 234, 0.3);
    margin: 0.5rem 0;
}

.sidebar-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.vk {
    background: #0077ff;
}

/* Content */
.content {
    flex: 1;
    padding: 0.7rem;
    margin-left: 0;
    transition: margin-left 0.3s;
    max-width: 100%;
    margin-top: 30px;
}

/* Promo Section */
.promo-section {
    margin-bottom: 2rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.promo-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-card-1 {
    background: url('img/promo1.jpg');
    background-size: cover;
    background-position: center;
}

.promo-card-2 {
    background: url('img/promo2.jpg');
    background-size: cover;
    background-position: center;
}

.promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.promo-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-content p {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: rgba(30, 20, 60, 0.7);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.promo-btn:hover {
    background: rgba(30, 20, 60, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        height: 240px;
    }

    .promo-content h2 {
        font-size: 1.75rem;
    }

    .promo-content p {
        font-size: 1.5rem;
    }
}

/* Categories */
.categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.categories::-webkit-scrollbar {
    height: 4px;
}

.categories::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, 0.5);
    border-radius: 2px;
}

.category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 20, 60, 0.5);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    transition: all 0.3s;
}

@media (max-width: 767px) {
    .category {
        padding: 0.2rem 0.7rem;
        font-size: 12px;
    }

    .category-icon img {
        width: 16px;
        height: auto;
    }

    .categories {
        gap: 0.3rem;
    }
}

.category:hover {
    background: rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}

.category.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-color: transparent;
}

.category-icon {
    font-size: 1.25rem;
}

/* Games Section */
.games-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 28px;
    color: #e6e6e6;
}

.see-all {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.see-all:hover {
    color: #c084fc;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.game-card {
    background: rgba(30, 20, 60, 0.5);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.game-image {
    width: 100%;
    height: 295px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.game-1 {
    background: url('img/e07f963f-6cd7-4321-ad59-9fbbe32fe0c0_vertical.jpg') center/cover no-repeat;
}

.game-2 {
    background: url('img/v_endorphinaendorphina2_hellhot100_endorphina2_hellhot100.jpg') center/cover no-repeat;
}

.game-3 {
    background: url('img/1975f900-4022-420a-bb40-5cf42dd57b07_vertical.jpg') center/cover no-repeat;
}

.game-4 {
    background: url('img/v_threeoaks777coins_777_coins.jpg') center/cover no-repeat;
}

.game-5 {
    background: url('img/78577845-ef7d-4e5c-a551-8f12f0db9ecf_vertical.jpg') center/cover no-repeat;
}

.game-6 {
    background: url('img/16623258-f322-4d9d-810c-b717a1d66500_vertical.jpg') center/cover no-repeat;
}

.game-7 {
    background: url('img/9f653a9b-85d1-4c86-a0ec-76af9794a67c_vertical.jpg') center/cover no-repeat;
}

.game-8 {
    background: url('img/231ca5ac-6f4a-4207-b381-3a51eb03d96c_vertical.jpg') center/cover no-repeat;
}

.game-9 {
    background: url('img/432337c6-5e06-449b-88ef-68e1ddc960dc_vertical.jpg') center/cover no-repeat;
}

.game-10 {
    background: url('img/6100e7cc-2ff7-41b1-8163-de484e0059b8_vertical.jpg') center/cover no-repeat;
}

.game-11 {
    background: url('img/c324ac59-0600-495e-8f2d-83e75c168f50_vertical.jpg') center/cover no-repeat;
}

.game-12 {
    background: url('img/136739b4-24e0-48af-824c-8cabe67897d2_vertical.jpg') center/cover no-repeat;
}

.game-13 {
    background: url('img/f1876709-4f25-43c5-94a8-24fac9b51f88_vertical.jpg') center/cover no-repeat;
}

.game-14 {
    background: url('img/395c7836-6ae3-449f-b202-226fe3ed8be4_vertical.jpg') center/cover no-repeat;
}

.game-info {
    padding: 1rem;
}

.game-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.game-provider {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Originals Grid */
.originals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.original-card {
    height: 150px;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.original-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.original-1 {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
}

.original-2 {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.original-3 {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.original-4 {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.original-5 {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.original-6 {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: color 0.3s;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-nav-item.active {
    color: #a855f7;
}

.mobile-icon {
    font-size: 1.5rem;
}

.mobile-badge {
    position: absolute;
    top: -5px;
    right: 15%;
    background: #10b981;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-size: 0.625rem;
    font-weight: 600;
}

/* Responsive */
@media (min-width: 1024px) {
    .menu-collapse {
        display: block;
    }

    .sidebar {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
    }

    .content {
        margin-left: 256px;
        transition: margin-left 0.3s ease;
        margin-top: 20px;
    }

    .sidebar.collapsed {
        width: 80px;
    }

    .sidebar.collapsed .nav-item .label,
    .sidebar.collapsed .nav-item .badge {
        display: none;
    }

    .sidebar.collapsed~.content {
        margin-left: 80px;
        margin-top: 30px;
        margin-right: 20px;
    }

    .btn-login {
        display: inline-block;
    }
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: none;
    }

    .logo img {
        width: 100%;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }

    .main-wrapper {
        padding-bottom: 80px;
    }

    .promo-slider {
        height: 200px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .character {
        width: 120px;
        height: 120px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .btn-login {
        display: block;
    }
}

@media (max-width: 640px) {
    .search-bar {
        flex-direction: column;
    }

    .providers-btn {
        width: 100%;
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-slider {
        height: 180px;
    }

    .slide {
        padding: 1.5rem;
    }

    .slide-image {
        display: none;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }
}

/* Footer */
.footer {
    background: #1f1632;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    padding: 3rem 1.5rem 2rem;
    margin-top: auto;
    border-radius: 20px;
}

.footer-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Logo Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.vk {
    background: #0077ff;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: #a855f7;
    transform: translateX(5px);
}

/* Support Card */
.footer-support {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.support-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.support-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.support-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.support-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.support-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.support-info-item {
    margin-bottom: 1rem;
}

.support-info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.support-info-value {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.support-info-value a {
    color: white;
    text-decoration: none;
}

.support-info-value a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .game-image {
        height: 140px;
    }

    .promo-card-2 {
        display: none;
    }
}

.footer-tx h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-tx p {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 20px;
    color: #a1a1a1;
}

.footer-text {
    background: #1f1632;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    padding: 3rem 1.5rem 2rem;
    margin-top: auto;
    margin-bottom: 40px;
    border-radius: 20px;
}


@media (max-width: 767px) {
    .footer-text {
        font-size: 22px;
        padding: 24px;
    }
}

ul {
    list-style-type: none;
}

.head-item.active,
.nav-item.active,
.category.active,
.mobile-nav-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
}

.footer-text {
    max-width: 100%;
    margin: 40px auto;
    padding: clamp(20px, 3vw, 36px);
    background: linear-gradient(180deg, #1f1632 0%, #1a1230 100%);
    border: 1px solid rgba(147, 51, 234, .18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
}

/* контейнер контента */
.footer-text .footer-tx {
    display: grid;
    gap: 18px;
}

/* Заголовки */
.footer-text h1 {
    font-size: clamp(24px, 4.2vw, 40px);
    line-height: 1.15;
    letter-spacing: .2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #c8a6ff 60%, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-text h2 {
    font-size: clamp(18px, 3.2vw, 26px);
    margin: 24px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #f3edf9;
    position: relative;
}

.footer-text h2::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .18);
}

/* Абзацы */
.footer-text p {
    font-size: clamp(15px, 2.4vw, 17px);
    line-height: 1.7;
    color: #d7d0e4;
}

/* Листы */
.footer-text ul {
    display: grid;
    gap: 8px;
    padding-left: 0;
    /* у тебя уже list-style-position: inside глобально */
    margin: 4px 0 8px;
}

.footer-text li {
    padding: 6px 10px 6px 36px;
    background: rgba(147, 51, 234, .08);
    border: 1px solid rgba(147, 51, 234, .18);
    border-radius: 12px;
    position: relative;
}

.footer-text li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, .22);
}

/* Картинки внутри статьи */
.footer-text img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(147, 51, 234, .18);
    background: #140c27;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    margin: 8px 0 4px;
    object-fit: cover;
}

/* Блоки-акценты (подсказки, важное, условия) */
.footer-text .callout {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(168, 85, 247, .4);
    background: linear-gradient(180deg, rgba(124, 58, 237, .10), rgba(124, 58, 237, .06));
    color: #e9dcff;
}

/* FAQ: вопрос = <p><strong>...</strong></p>, ответ = следующий <p> */
.footer-text p>strong {
    display: block;
    font-size: clamp(15px, 2.5vw, 18px);
    color: #ffffff;
    background: rgba(147, 51, 234, .14);
    border: 1px solid rgba(168, 85, 247, .35);
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
}

.footer-text p>strong::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: .7;
}

.footer-text p+p {
    /* «ответ» сразу после вопроса визуально отделяем */
    border-left: 3px solid rgba(168, 85, 247, .55);
    padding-left: 12px;
}

/* Разделители */
.footer-text hr {
    border: none;
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .4), transparent);
    opacity: .8;
}

/* Ссылки (на всякий случай) */
.footer-text a {
    color: #b892ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(184, 146, 255, .6);
}

.footer-text a:hover {
    color: #d9c5ff;
    border-bottom-color: transparent;
}

/* Адаптивные отступы и уплотнение на очень маленьких экранах */
@media (max-width: 480px) {
    .footer-text {
        margin: 24px 12px;
        border-radius: 16px;
    }

    .footer-text li {
        padding-left: 32px;
    }
}

/* (опционально) аккуратный хинт-скролл, если внутри попадётся широкая таблица */
.footer-text .scroll-hint {
    mask-image: linear-gradient(to right, black 85%, transparent);
}

.footer-text .scroll-hint::-webkit-scrollbar {
    height: 6px;
}

.footer-text .scroll-hint::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, .5);
    border-radius: 3px;
}

.footer-text table {
    display: block;
    /* даёт возможность горизонтального скролла */
    inline-size: 100%;
    overflow-x: auto;
    /* скролл только при нехватке места */
    -webkit-overflow-scrolling: touch;
    /* инерция на iOS/Android */
    border: 1px solid rgba(147, 51, 234, .18);
    border-radius: 14px;
    background: rgba(147, 51, 234, .06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
    padding-bottom: 4px;
    /* пространство под скроллбар */
    mask-image: linear-gradient(to right, black 85%, transparent);
    /* хинт, что можно скроллить */
}

.footer-text table:hover,
.footer-text table:focus-within {
    mask-image: none;
}

/* Сохраняем «табличное» поведение секций и строк */
.footer-text thead,
.footer-text tbody,
.footer-text tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* ровные колонки при узком экране */
    border-collapse: collapse;
}

/* Шапка */
.footer-text thead th {
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, rgba(147, 51, 234, .18), rgba(147, 51, 234, .08));
    border-bottom: 1px solid rgba(147, 51, 234, .25);
}

/* Ячейки */
.footer-text th,
.footer-text td {
    min-width: 250px;
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    color: #e7e0f6;
    border-bottom: 1px solid rgba(147, 51, 234, .18);
}

/* Зебра + hover */
.footer-text tbody tr:nth-child(odd) {
    background: rgba(147, 51, 234, .05);
}

.footer-text tbody tr:hover {
    background: rgba(147, 51, 234, .10);
}

/* Скругление углов (визуально) */
.footer-text thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.footer-text thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.footer-text tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.footer-text tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* На мобильных не переносим, чтобы включался горизонтальный скролл */
@media (max-width: 768px) {
    .footer-text thead,
    .footer-text tbody,
    .footer-text tr {
        display: table;
        width: 100%;
        table-layout: auto;
        /* ровные колонки при узком экране */
        border-collapse: collapse;
    }
    
    .footer-text th,
    .footer-text td {

    }
}

/* Кастомный горизонтальный скроллбар */
.footer-text table::-webkit-scrollbar {
    height: 6px;
}

.footer-text table::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, .5);
    border-radius: 3px;
}

.footer-text table::-webkit-scrollbar-track {
    background: transparent;
}

/* Firefox */
.footer-text table {
    scrollbar-width: thin;
    scrollbar-color: rgba(147, 51, 234, .55) transparent;
}
/* ============================================================
   BONUS CALCULATOR
   ============================================================ */
.bc-section {
    padding: 0 0 1.75rem;
}

.bc-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(22, 12, 50, 0.7);
    border: 1px solid rgba(147, 51, 234, 0.35);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    position: relative;
}

/* Glow accent top-right */
.bc-wrap::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ---- LEFT ---- */
.bc-left {
    padding: 1.75rem;
    border-right: 1px solid rgba(147, 51, 234, 0.2);
    position: relative;
    z-index: 1;
}

.bc-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bc-emoji {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(168,85,247,0.6));
}

.bc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.bc-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* Big amount display */
.bc-amount-row {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.bc-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(168,85,247,0.7);
}

.bc-amount-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #c084fc;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

/* Slider */
.bc-slider-wrap {
    position: relative;
    margin-bottom: 0.35rem;
    height: 6px;
}

.bc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.bc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px; height: 24px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.25), 0 0 14px rgba(168,85,247,0.55);
    transition: transform 0.15s, box-shadow 0.15s;
}

.bc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: 0 0 0 5px rgba(168,85,247,0.2), 0 0 20px rgba(168,85,247,0.7);
}

.bc-slider::-moz-range-thumb {
    width: 24px; height: 24px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(168,85,247,0.55);
}

.bc-minmax {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.2rem;
}

/* Preset buttons */
.bc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.bc-preset {
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(147, 51, 234, 0.28);
    color: rgba(255,255,255,0.65);
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.bc-preset:hover {
    background: rgba(147, 51, 234, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    color: #fff;
    transform: translateY(-1px);
}

.bc-preset.bc-preset--active {
    background: linear-gradient(135deg, rgba(147,51,234,0.45), rgba(124,58,237,0.35));
    border-color: #a855f7;
    color: #fff;
}

.bc-preset--max {
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(236,72,153,0.15));
    border-color: rgba(168,85,247,0.4);
    color: #e9d5ff;
}

.bc-preset--max.bc-preset--active,
.bc-preset--max:hover {
    background: linear-gradient(135deg, rgba(168,85,247,0.45), rgba(236,72,153,0.3));
    border-color: #a855f7;
    color: #fff;
}

/* ---- RIGHT ---- */
.bc-right {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.bc-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(90deg,
        rgba(168,85,247,0.22) 0%,
        rgba(124,58,237,0.18) 100%);
    border: 1px solid rgba(168,85,247,0.38);
    border-radius: 30px;
    padding: 0.3rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d8b4fe;
    width: fit-content;
    transition: all 0.3s;
}

.bc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    flex: 1;
}

.bc-cell {
    background: rgba(30, 15, 65, 0.6);
    border: 1px solid rgba(147, 51, 234, 0.18);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    transition: background 0.3s, border-color 0.3s;
}

.bc-cell--accent {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(168, 85, 247, 0.35);
}

.bc-cell--total {
    grid-column: 1 / -1;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.22) 0%,
        rgba(147, 51, 234, 0.14) 100%);
    border-color: rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc-cell-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.bc-cell--total .bc-cell-label {
    margin-bottom: 0;
    font-size: 0.72rem;
}

.bc-cell-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.bc-cell--total .bc-cell-val {
    font-size: 1.25rem;
    color: #c084fc;
}

.bc-cell-pct {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.15rem;
}

/* CTA button — mirrors existing .promo-btn style */
.bc-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.35);
    letter-spacing: 0.01em;
}

.bc-cta:hover {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(147, 51, 234, 0.55);
    color: #fff;
}

/* value pop animation */
@keyframes bcPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.14); }
    100% { transform: scale(1); }
}
.bc-pop {
    animation: bcPop 0.22s ease-out;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .bc-wrap {
        grid-template-columns: 1fr;
    }
    .bc-left {
        border-right: none;
        border-bottom: 1px solid rgba(147, 51, 234, 0.2);
        padding: 1.25rem;
    }
    .bc-right {
        padding: 1.25rem;
    }
    .bc-amount-num {
        font-size: 2rem;
    }
}

/* Legal text in footer */
.footer-legal {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1.6;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Footer badges: DMCA + 18+ */
.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-badge--dmca {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: rgba(252, 165, 165, 0.8);
}

.footer-badge--age {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: rgba(192, 132, 252, 0.9);
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
}

/* ============================================================
   MIRROR COMPARISON TABLE
   ============================================================ */
.mirror-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.mirror-table {
    display: table;
    width: 100%;
    overflow-x: unset;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 420px;
}

.mirror-table thead tr {
    background: linear-gradient(90deg,
        rgba(124, 58, 237, 0.35) 0%,
        rgba(147, 51, 234, 0.25) 100%);
    border-bottom: 1px solid rgba(147, 51, 234, 0.4);
}

.mirror-table th {
    padding: 0.8rem 1.1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(216, 180, 254, 0.85);
    white-space: nowrap;
}

.mirror-table tbody tr {
    border-bottom: 1px solid rgba(147, 51, 234, 0.12);
    transition: background 0.2s;
}

.mirror-table tbody tr:last-child {
    border-bottom: none;
}

.mirror-table tbody tr:nth-child(odd) {
    background: rgba(30, 15, 65, 0.45);
}

.mirror-table tbody tr:nth-child(even) {
    background: rgba(22, 10, 50, 0.4);
}

.mirror-table tbody tr:hover {
    background: rgba(147, 51, 234, 0.15);
}

.mirror-table td {
    padding: 0.75rem 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    vertical-align: middle;
}

.mirror-link {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.mirror-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* Status badges */
.mirror-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.mirror-status--ok {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.mirror-status--slow {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #fde047;
}

.mirror-status--off {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* ============================================================
   EXPERT SECTION
   ============================================================ */


.expert-section {
    max-width: 100%;
    margin: 0 0 40px;
    padding: clamp(16px, 3vw, 28px);
    background: #120a24;
    border: 1px dashed rgba(147, 51, 234, 0.65);
    border-radius: 14px;
    box-sizing: border-box;
    /* убираем overflow:hidden и position:relative — они создавали
       новый stacking context и секция уходила под сайдбар */
}

.expert-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.expert-avatar {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    border: 2px solid #9333ea;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(147, 51, 234, 0.45);
}

.expert-body {
    flex: 1;
    min-width: 0;
}

.expert-meta {
    margin-bottom: 0.6rem;
}

.expert-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    border-radius: 20px;
    padding: 0.15rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.expert-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.15rem;
}

.expert-role {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.expert-quote {
    font-size: 0.875rem;
    color: #a78bfa;
    line-height: 1.65;
    margin: 0;
    border-left: 2px solid rgba(147, 51, 234, 0.5);
    padding-left: 0.85rem;
    font-style: italic;
}

@media (max-width: 520px) {
    .expert-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .expert-quote {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(147, 51, 234, 0.3);
        padding-top: 0.75rem;
    }
    .expert-verified {
        margin: 0 auto 0.45rem;
    }
}

/* ============================================================
   E-E-A-T: мета-строка (дата + онлайн + рейтинг)
   ============================================================ */
.eeat-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
}

.eeat-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255,255,255,0.45);
}

.eeat-online {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
}

.eeat-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.eeat-rating {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
}

.eeat-rating strong {
    color: #fde047;
}

/* star colour */
.eeat-rating {
    color: rgba(255,255,255,0.5);
}
.eeat-rating::first-letter,
.eeat-meta-row .eeat-rating {
    color: rgba(255,255,255,0.5);
}
/* just colour the stars gold via a wrapper trick */
.eeat-rating {
    background: none;
}

/* ============================================================
   E-E-A-T: trust bar (оплата + бейджи)
   ============================================================ */
.trust-bar {
    background: rgba(15, 7, 40, 0.6);
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    padding: 0.85rem 0.7rem;
    margin-bottom: 0;
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.trust-payments {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.trust-pay-icons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pay-icon {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.pay-icon--sbp {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.trust-badge--ssl {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #86efac;
}

.trust-badge--lic {
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(147, 51, 234, 0.35);
    color: #c084fc;
    transition: background 0.2s;
}

.trust-badge--lic:hover {
    background: rgba(147, 51, 234, 0.25);
}

/* SSL icon on register button */
.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 640px) {
    .trust-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .eeat-meta-row {
        gap: 0.5rem 0.9rem;
    }
}

/* ============================================================
   LIVE WINS FEED
   ============================================================ */
.live-wins {
    background: rgba(15, 7, 40, 0.7);
    border: 1px solid rgba(147, 51, 234, 0.28);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.live-wins-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(147, 51, 234, 0.18);
    background: rgba(124, 58, 237, 0.1);
}

.live-wins-dot {
    width: 8px;
    height: 8px;
    background: #f43f5e;
    border-radius: 50%;
    box-shadow: 0 0 7px #f43f5e;
    animation: dotPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.live-wins-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.8);
    flex: 1;
}

.live-wins-count {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
}

.live-wins-count strong {
    color: #a78bfa;
}

/* Feed rows */
.live-wins-feed {
    padding: 0.4rem 0;
    min-height: 44px;
    position: relative;
}

.lw-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(-8px);
    animation: lwSlideIn 0.45s ease forwards;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.lw-row:last-child {
    border-bottom: none;
}

.lw-row:hover {
    background: rgba(147, 51, 234, 0.08);
}

@keyframes lwSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lwFadeOut {
    to { opacity: 0; transform: translateY(8px); }
}

.lw-row.removing {
    animation: lwFadeOut 0.35s ease forwards;
}

.lw-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--av-a), var(--av-b));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.lw-user {
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}

.lw-text {
    color: rgba(255,255,255,0.45);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lw-game {
    color: #c084fc;
    font-style: italic;
}

.lw-amount {
    font-weight: 800;
    color: #4ade80;
    white-space: nowrap;
    font-size: 0.82rem;
}

.lw-time {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
}
