
:root {
    --bg-main: #0f0d0e;        
    --bg-header: #161314;      
    --text-white: #ffffff;     
    --text-muted: #a3a3a3;     
    --color-primary: #e50914;  
    
    --header-border-color: #161314; 
    --mobile-border-muted: rgba(229, 9, 20, 0.25);

    --logo-width-desktop: 300px; 
    --logo-width-mobile: 200px;  

    --btn-auth-padding: 14px 36px;  
    --btn-auth-font-size: 17px;     
    --btn-auth-radius: 50px;        
    --btn-auth-hover-scale: 1.07;   

    --btn-hero-padding: 18px 46px;
    --btn-hero-font-size: 20px;
    --btn-hero-radius: 50px;       
    --btn-hero-hover-scale: 1.08;

    --ticker-bg: #121011;
    --ticker-height: 52px;
    --ticker-speed: 75s;           
    --color-win: #ff5252;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent-text {
    color: var(--color-primary);
}


.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--bg-header);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.header-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px; 
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 40px; 
}

.logo-img {
    width: var(--logo-width-desktop);
    height: auto;
    display: block;
    object-fit: contain;
}

.mobile-auth {
    display: none !important;
}

.auth-block {
    display: flex;
    gap: 20px; 
    align-items: center;
}

.btn {
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn-login {
    padding: var(--btn-auth-padding);
    font-size: var(--btn-auth-font-size);
    border-radius: var(--btn-auth-radius);
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}
.btn-login:hover {
    transform: scale(var(--btn-auth-hover-scale));
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.btn-reg {
    padding: var(--btn-auth-padding);
    font-size: var(--btn-auth-font-size);
    border-radius: var(--btn-auth-radius);
    background: var(--color-primary);
    color: var(--text-white);
}
.btn-reg:hover {
    transform: scale(var(--btn-auth-hover-scale));
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
}

.header-bottom {
    background-color: #121011;
    border-bottom: 2px solid var(--header-border-color); 
}
.header-bottom-wrap {
    display: flex;
    justify-content: center; 
    height: 50px;
    align-items: center;
}
.nav-links-wrap {
    display: flex;
    gap: 45px;
}

.nav-link {
    font-weight: 700;
    font-size: 14px;
    color: #e0e0e0;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.burger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
}
.burger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }


.live-wins-ticker {
    background-color: var(--ticker-bg);
    height: 65px !important; 
    margin-top: 147px; 
    border-bottom: 1px solid #1c181a;
    overflow: hidden;
    display: flex;
    align-items: center; 
    position: relative;
    z-index: 90;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center; 
}

.ticker-track {
    display: inline-flex;
    align-items: center; 
    gap: 55px;
    animation: tickerLoop var(--ticker-speed) linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center; 
    gap: 12px;
}


.ticker-game-img {
    width: 46px !important;  
    height: 46px !important; 
    border-radius: 50%;
    border: 2px solid #2d2528;
    object-fit: cover;
    flex-shrink: 0;
}


.ticker-info { display: flex; flex-direction: column; }
.ticker-amount { font-size: 13px; font-weight: 700; color: var(--color-win); }
.ticker-user { font-size: 11px; color: var(--text-muted); }

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}


.hero {
    padding: 30px 0 20px;
    background: linear-gradient(180deg, rgba(22,19,20,0.8) 0%, rgba(15,13,14,1) 100%), radial-gradient(circle at center, rgba(229,9,20,0.15) 0%, transparent 70%);
    text-align: center;
}
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 24px; text-transform: uppercase; }
.hero-desc { font-size: 20px; color: var(--text-muted); margin-bottom: 35px; }
.btn-hero {
    padding: var(--btn-hero-padding);
    font-size: var(--btn-hero-font-size);
    border-radius: var(--btn-hero-radius);
    background: var(--color-primary);
    color: var(--text-white);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}
.btn-hero:hover {
    transform: scale(var(--btn-hero-hover-scale));
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.7);
}


.seo-section { padding: 60px 0; background-color: var(--bg-main); }
.seo-article { max-width: 1200px; margin: 0 auto; }
.seo-h2 { font-size: 36px; font-weight: 800; margin-bottom: 30px; line-height: 1.3; text-transform: uppercase; letter-spacing: -0.5px; }
.seo-h3 { font-size: 26px; font-weight: 700; margin: 45px 0 20px; color: var(--text-white); }
.seo-text { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 25px; }

.seo-img-link {
    display: block; width: 100%; margin-bottom: 30px; border-radius: 12px; overflow: hidden;
    border: 1px solid #221c1e; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.seo-img-link:hover { transform: scale(1.02); box-shadow: 0 0 25px rgba(229, 9, 20, 0.3); }
.seo-content-img { width: 100%; height: auto; display: block; object-fit: cover; }

.seo-images-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 35px 0; }
.seo-images-grid .seo-img-link { margin-bottom: 0; }

.seo-inline-link { color: var(--color-primary); font-weight: 600; border-bottom: 1px dashed var(--color-primary); transition: color 0.2s; padding: 0 2px; }
.seo-inline-link:hover { color: var(--text-white); border-bottom-style: solid; }

.table-responsive { width: 100%; overflow-x: auto; margin: 35px 0; border-radius: 12px; border: 1px solid #221c1e; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); background-color: #141112; }
.brand-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; min-width: 600px; }
.brand-table th, .brand-table td { padding: 18px 24px; border-bottom: 1px solid #221c1e; }
.brand-table th { background-color: #1a1617; color: var(--text-white); font-weight: 700; text-transform: uppercase; font-size: 14px; }
.brand-table tbody tr:nth-child(even) { background-color: #161314; }
.table-accent { color: #ffbc00; font-weight: 700; }

.seo-btn-wrapper { display: flex; justify-content: center; margin: 40px 0; }
.btn-seo-action { background: linear-gradient(90deg, var(--color-primary), #ff2e37); box-shadow: 0 6px 25px rgba(229, 9, 20, 0.4); text-transform: uppercase; font-size: 16px; }


.faq-item { transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.faq-open { border-color: var(--color-primary) !important; box-shadow: 0 0 15px rgba(229, 9, 20, 0.2); }
.faq-icon { transition: transform 0.3s ease, color 0.3s; }


@media (max-width: 768px) {
    .desktop-auth { display: none !important; }
    .header-top-wrap { justify-content: center; position: relative; height: 75px; padding: 0 20px; }
    .logo-img { width: var(--logo-width-mobile); }
    .burger { display: flex; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }

    .header-bottom {
        display: none; position: absolute; top: 75px; left: 0; width: 100%;
        background-color: var(--bg-header); border-bottom: 3px solid var(--mobile-border-muted); 
        box-shadow: 0 15px 25px rgba(0,0,0,0.9); padding: 30px 20px; z-index: 999;
    }
    .header-bottom.active { display: block; }
    .header-bottom-wrap { flex-direction: column; height: auto; gap: 30px; justify-content: flex-start; }

    .mobile-auth { display: flex !important; flex-direction: column; width: 100%; gap: 15px; }
    .mobile-auth .btn { width: 100%; padding: 14px 0; }
    .nav-links-wrap { flex-direction: column; align-items: center; width: 100%; gap: 22px; }
    
    
    .live-wins-ticker { margin-top: 75px; height: 60px; }
    .ticker-amount { font-size: 15px; }
    .ticker-user { font-size: 12px; }

    .hero { padding: 30px 0 50px; }
    .hero-title { font-size: 24px; margin-bottom: 15px; }
    .hero-desc { font-size: 14px; }

    .seo-section { padding: 40px 0; }
    .seo-h2 { font-size: 24px; margin-bottom: 20px; }
    .seo-h3 { font-size: 20px; margin: 30px 0 15px; }
    .seo-text { font-size: 15px; line-height: 1.6; }
    .seo-images-grid { grid-template-columns: 1fr; gap: 15px; margin: 25px 0; }
    .brand-table th, .brand-table td { padding: 14px 16px; font-size: 14px; }
    .btn-seo-action { width: 100%; }

    
    .reviews-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; text-align: center; }
    .footer-info-col .license-block { justify-content: center; text-align: left; }
    .footer-payments { flex-direction: column !important; text-align: center; }
    .payments-logos { justify-content: center; }
}

.faq-holder {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0 50px;
}

.faq-box {
    background-color: #141112;
    border-radius: 8px;
    border: 1px solid #221c1e;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}


.faq-box.faq-active {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
}

.faq-trigger {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-title {
    padding-right: 15px;
    line-height: 1.4;
}

.faq-status {
    font-size: 22px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #110e0f;
}

.faq-panel-text {
    padding: 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}



.license-block img {
    width: 85px !important;
    height: auto !important;
    object-fit: contain;
}


.payments-logos img {
    height: 32px !important;
    width: auto !important;
    object-fit: contain;
}


.footer-payments {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payments-logos {
    display: flex;
    align-items: center;
    gap: 25px; 
}

.footer-nav-link {
    transition: color 0.2s ease; 
}

.footer-nav-link:hover {
    color: var(--color-primary) !important; 
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%; 
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999; 
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px); 
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}


.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}


.scroll-to-top:hover {
    background-color: #ff2e37;
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}


@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
        
    .contacts-wrapper {
        grid-template-columns: 1fr !important; 
        gap: 20px !important;
    }
    .app-download-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.footer-nav-link.active,
.nav-link.active {
    color: var(--color-primary) !important; 
    pointer-events: none; 
    cursor: default; 
    opacity: 1 !important; 
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background-color: #141112;
    border: 1px solid #221c1e;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-box {
    transform: scale(1);
}
.modal-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #221c1e;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: modalSpin 0.8s linear infinite;
}
.modal-check-icon {
    width: 60px;
    height: 60px;
    background-color: #10b981;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
@keyframes modalSpin {
    to { transform: rotate(360deg); }
}
#ios-setup {
    scroll-margin-top: 170px;
}
@media (max-width: 768px) {
    #ios-setup {
        scroll-margin-top: 95px;
    }
}

