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

:root {
    --primary-color: #1a1a2e;       
    --secondary-color: #c70039;    
    --accent-color: #f1c40f;        
    --text-color: #e8e8e8;         
    --background-color: #16213e;    
    --card-bg: #0f3460;             
    --section-bg: #1c1c3a;          
    --footer-bg: #0a0a23;          
    --success-color: #2ecc71;       
    --warning-color: #e67e22;        
    --error-color: #e74c3c;          
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: linear-gradient(45deg, var(--background-color) 0%, var(--primary-color) 100%);
    background-attachment: fixed;
}

/* Reduce rendering work and stabilize layout for offscreen sections */
.about-section, .history-section, .reasons-section, .registration-section,
.bonuses-section, .games-section, .mobile-app-section, .payment-methods-section,
.support-responsible-section, .faq-section, .slot-machines-section,
.table-games-section, .tournaments-section, .software-providers-section,
.license-info-section, .account-security-section, .deposit-options-section,
.withdrawals-section, .crypto-section,
.privacy-policy-section, .terms-conditions-section {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    position: relative;
}

a:not(.btn):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

a:not(.btn):hover:after {
    width: 100%;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
    list-style-type: none;
}

li {
    margin-bottom: 0.5rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

h2 {
    font-size: 2.2rem;
    margin-top: 2.5rem;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.8rem;
    margin-top: 2rem;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.site-header {
    background-color: rgba(10, 10, 35, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 60px;
    filter: drop-shadow(0 0 8px var(--accent-color));
    border-radius: 0;
}

.main-nav {
    display: flex;
    align-items: center;
}
.main-nav ul li::before {content: '' !important; display: none !important;}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 20px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 10px 0;
    display: block;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.burger-line {
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    margin: 5px;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-register {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), #e74c3c);
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    margin-top: 25px;
    border-radius: 50px;
}

.btn-login:hover {
    color: white;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-register:hover, .btn-primary:hover {
    background: linear-gradient(45deg, #e74c3c, var(--secondary-color));
    border-color: #e74c3c;
    color: white;
}

.center-btn {
    display: block;
    max-width: 280px;
    margin: 40px auto;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--card-bg), var(--primary-color));
    color: white;
    text-align: center;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23000000" fill-opacity="0.1"/><circle cx="50" cy="50" r="2" fill="%23ffffff" fill-opacity="0.15"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.testimonials-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, var(--card-bg), var(--primary-color));
    overflow: hidden;
    margin: 60px 0;
    z-index: 1;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23000000" fill-opacity="0.05"/><path d="M50 30L55 40L65 42L58 50L60 60L50 55L40 60L42 50L35 42L45 40Z" fill="%23f1c40f" fill-opacity="0.1"/></svg>');
    opacity: 0.8;
    z-index: -1;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 45px;
    animation: testimonialScroll 30s linear infinite;
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 9 * 7)); 
    }
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: rgba(15, 52, 96, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h3 {
    font-size: 1.2rem;
    margin: 0 0 5px;
    color: var(--accent-color);
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 5px;
}

.testimonial-rating {
    display: flex;
    margin-top: 5px;
}

.testimonial-rating .star {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 2px;
    position: relative;
}

.testimonial-rating .star.half {
    position: relative;
    overflow: hidden;
}

.testimonial-rating .star.half::after {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--accent-color);
}

.testimonial-rating .star.half::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.3);
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 280px;
    }
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
        min-width: 260px;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(85% - 20px);
        min-width: 240px;
    }
    
    .testimonials-section {
        padding: 50px 0;
        margin: 40px 0;
    }
    
    .section-description {
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 30px);
        min-width: 220px;
        padding: 20px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-author h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .testimonials-section {
        padding: 40px 0;
        margin: 30px 0;
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.about-section, .history-section, .reasons-section, .registration-section, 
.bonuses-section, .games-section, .mobile-app-section, .payment-methods-section,
.support-responsible-section, .faq-section, .slot-machines-section, 
.table-games-section, .tournaments-section, .software-providers-section, 
.license-info-section, .account-security-section, .deposit-options-section, 
.withdrawals-section, .crypto-section,
.privacy-policy-section, .terms-conditions-section {
    background-color: var(--section-bg);
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px; 
    padding: 30px; 
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02));
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow: hidden;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: var(--primary-color);
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

tr:nth-child(even) {
    background-color: rgba(15, 52, 96, 0.4);
}

tr:nth-child(odd) {
    background-color: rgba(15, 52, 96, 0.7);
}

.games-prov {
    width: 100%;
    overflow: hidden;
    margin: 50px 0;
    background: linear-gradient(45deg, var(--card-bg), var(--primary-color));
    min-height: 230px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.games-prov::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--secondary-color), transparent, var(--accent-color));
    opacity: 0.1;
    z-index: 0;
}

.games-prov-carousel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: inherit;
    animation: scroll 40s linear infinite;
    gap: 50px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 7 - 50px * 7));
    }
}

.games-prov-carousel img {
    width: 220px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

.anything-img {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.anything-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    width: 85%;
}

.anything-cont img {
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(var(--accent-color-rgb), 0.5);
}

.bonuses-images {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
}

.bonuses-images img {
    width: 240px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(var(--accent-color-rgb), 0.3);
}

.payments-images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    background: linear-gradient(45deg, var(--card-bg), var(--primary-color));
    padding: 30px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.payments-images-container img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(30%);
}

.payments-images-container img:hover {
    filter: grayscale(0%);
}

.preview-images {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.prev-im-nas {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(var(--accent-color-rgb), 0.5);
    background-image: url(/public/cubok-alp.webp);
    background-repeat: no-repeat;
    width: 90%;
    height: 450px;
    background-size: cover;
    animation: backgroundSlide 35s infinite ease-in-out;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Reserve space to avoid CLS while images swap */
.prev-im-nas { aspect-ratio: 18 / 9; }

.prev-im-nas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.3), rgba(var(--secondary-color-rgb), 0.3));
    opacity: 0.7;
}

@keyframes backgroundSlide {
    0%, 100% {
        background-image: url(/public/cubok-alp.webp);
        background-position: 50%;
    }
    
    33% {
        background-image: url(/public/jackpot-alp.webp);
        background-position: 50%;
    }
    
    66% {
        background-image: url(/public/money-alp.webp);
        background-position: 50%;
    }
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(15, 52, 96, 0.4);
}

.faq-item h3 {
    margin: 0;
    padding: 20px 25px;
    background-color: rgba(var(--primary-color-rgb), 0.8);
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.faq-item h3:hover {
    background-color: rgba(var(--card-bg-rgb), 0.9);
    color: var(--accent-color);
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--accent-color);
}

.faq-item.active h3::after {
    content: '−';
}

.faq-item p {
    background-color: rgba(15, 52, 96, 0.2);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0 25px;
    opacity: 0;
}

.faq-item.active p {
    max-height: 500px;
    padding: 25px;
    opacity: 1;
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(var(--accent-color-rgb), 0.5));
    border-radius: 0;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: var(--text-color);
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: var(--accent-color);
}

.footer-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-menu a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-color);
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-social a:hover {
    color: white;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 100;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

:root {
    --primary-color-rgb: 26, 26, 46;
    --secondary-color-rgb: 199, 0, 57;
    --accent-color-rgb: 241, 196, 15;
    --card-bg-rgb: 15, 52, 96;
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 80px 0 70px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .about-section, .history-section, .reasons-section, .registration-section, 
    .bonuses-section, .games-section, .mobile-app-section, .payment-methods-section, 
    .support-responsible-section, .faq-section, .slot-machines-section, 
    .table-games-section, .tournaments-section, .software-providers-section, 
    .license-info-section, .account-security-section, .deposit-options-section, 
    .withdrawals-section, .crypto-section,
    .privacy-policy-section, .terms-conditions-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-menu, .footer-social {
        margin-top: 20px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px 15px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        display: none;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(145deg, var(--primary-color), var(--card-bg));
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 20px;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-list.active {
        right: 0;
        display: flex;
        width: 100%;
        overflow: hidden;
    }
    
    .nav-item {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.2rem;
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent-color);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent-color);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 98;
        backdrop-filter: blur(5px);
    }
    
    .overlay.active {
        visibility: visible;
        opacity: 1;
    }
    
    .games-prov-carousel img {
        width: 180px;
        height: 120px;
    }
    
    .preview-images {
        height: 350px;
    }
    
    .prev-im-nas {
        height: 350px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .about-section, .history-section, .reasons-section, .registration-section, 
    .bonuses-section, .games-section, .mobile-app-section, .payment-methods-section, 
    .support-responsible-section, .faq-section, .slot-machines-section, 
    .table-games-section, .tournaments-section, .software-providers-section, 
    .license-info-section, .account-security-section, .deposit-options-section, 
    .withdrawals-section, .crypto-section,
    .privacy-policy-section, .terms-conditions-section {
        padding: 25px 20px;
        border-radius: 10px;
        margin-bottom: 30px;
    }
    
    .preview-images {
        height: 250px;
        margin: 30px 0;
    }
    
    .prev-im-nas {
        height: 250px;
        width: 95%;
    }
    
    .table-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
    }
    
    .anything-cont {
        width: 100%;
    }
    
    .anything-cont img {
        min-width: 100%;
    }
    
    .games-prov {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
    }
    
    .payments-images-container {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
        padding: 20px;
    }
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.btn:active::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

input, select, textarea {
    background-color: rgba(15, 52, 96, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    color: var(--text-color);
    border-radius: 8px;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.3);
    background-color: rgba(15, 52, 96, 0.5);
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.site-logo img, .footer-logo img {
    filter: brightness(1.1) contrast(1.1);
}

ul li, ol li {
    position: relative;
    padding-left: 5px;
}

ul > li {
    list-style: none;
}

ul > li::marker {
    display: none !important;
    content: none !important;
}

ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

ol {
    counter-reset: item;
    list-style-type: none;
}

ol li {
    counter-increment: item;
}

ol li::before {
    content: counter(item) ".";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

@media print {
    body {
        background: white;
        color: black;
    }
    
    .site-header, .site-footer, .scroll-top-btn {
        display: none;
    }
    
    main {
        padding: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    .about-section, .history-section, .reasons-section, .registration-section, 
    .bonuses-section, .games-section, .mobile-app-section, .payment-methods-section, 
    .support-responsible-section, .faq-section, .slot-machines-section, 
    .table-games-section, .tournaments-section, .software-providers-section, 
    .license-info-section, .account-security-section, .deposit-options-section, 
    .withdrawals-section, .crypto-section,
    .privacy-policy-section, .terms-conditions-section {
        background: none;
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1a1a2e;
        --secondary-color: #c70039;
        --accent-color: #f1c40f;
        --text-color: #e8e8e8;
        --background-color: #16213e;
        --card-bg: #0f3460;
        --section-bg: #1c1c3a;
        --footer-bg: #0a0a23;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        text-rendering: optimizeLegibility;
    }
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.nav-list {
    width: auto;
}

.registration-image, .login-image, .cashback-image, .tournaments-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}