
:root {
    --bg-main: #0b0e17;
    --bg-card: #151b2b;
    --bg-card-hover: #1c2438;
    --primary: #ffffff;
    --primary-hover: #e2e8f0;
    --primary-glow: rgba(255, 255, 255, 0.28);
    --secondary: #232d45;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius: 14px;
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e63900);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2e3b59;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(255, 85, 0, 0.1);
}


.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 14, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px; 
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    height: 58px; 
    width: auto;
    
    filter: drop-shadow(0 0 10px var(--primary)) drop-shadow(0 0 24px var(--primary-glow));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 14px var(--primary)) drop-shadow(0 0 32px var(--primary));
}


.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.nav a:hover, .nav a.active {
    color: #fff;
}




.nav a[href="/"]:hover,
.nav a[href="/"].active,
.nav a[href="/kz/"]:hover,
.nav a[href="/kz/"].active,
.footer-links a[href="/"]:hover,
.footer-links a[href="/"].active,
.footer-links a[href="/kz/"]:hover,
.footer-links a[href="/kz/"].active {
    color: #ff5500;
    text-shadow: 0 0 12px rgba(255, 85, 0, 0.5);
}


.nav a[href*="chicken-road"]:hover,
.nav a[href*="chicken-road"].active,
.footer-links a[href*="chicken-road"]:hover,
.footer-links a[href*="chicken-road"].active {
    color: #facc15;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.45);
}


.nav a[href*="aviator"]:hover,
.nav a[href*="aviator"].active,
.footer-links a[href*="aviator"]:hover,
.footer-links a[href*="aviator"].active {
    color: #ef4444;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}


.nav a[href*="lucky-jet"]:hover,
.nav a[href*="lucky-jet"].active,
.footer-links a[href*="lucky-jet"]:hover,
.footer-links a[href*="lucky-jet"].active {
    color: #a855f7;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
}


.nav a[href*="mines"]:hover,
.nav a[href*="mines"].active,
.footer-links a[href*="mines"]:hover,
.footer-links a[href*="mines"].active {
    color: #0ea5e9;
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.45);
}



.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 20, 34, 0.95);
    padding: 4px;
    border-radius: 999px; 
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px; 
    padding: 6px 13px; 
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px; 
    color: var(--text-muted);
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.lang-btn::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 11px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); 
}

.lang-btn:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px var(--primary-glow);
}



.lang-btn[href="/"]::before,
.lang-btn[href="/chicken-road/"]::before,
.lang-btn[href="/aviator/"]::before,
.lang-btn[href="/lucky-jet/"]::before,
.lang-btn[href="/mines/"]::before,
.lang-btn[href="/tolovlar/"]::before,
.lang-btn[href="/about/"]::before,
.lang-btn[href="/responsible-gaming/"]::before,
.lang-btn[href="/privacy-policy/"]::before,
.lang-btn[href="/contacts/"]::before {
    background: linear-gradient(
        to bottom,
        #0099b5 0%,
        #0099b5 30%,
        #ce1126 30%,
        #ce1126 34%,
        #ffffff 34%,
        #ffffff 66%,
        #ce1126 66%,
        #ce1126 70%,
        #1eb53a 70%,
        #1eb53a 100%
    );
}


.lang-btn[href^="/kz/"]::before {
    background: radial-gradient(circle at center, #fec50c 0%, #fec50c 26%, #00afca 28%, #00afca 100%);
}




.lang-btn:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}



.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(21, 27, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.burger:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.25s ease;
}


.burger.open {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary);
}


.scroll-top-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 95;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(21, 27, 43, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 22px var(--primary-glow);
}

body.theme-chicken .scroll-top-btn:hover,
body.theme-mines .scroll-top-btn:hover {
    color: #0b0e17;
}


.hero {
    padding: 60px 0 40px;
    
    background: radial-gradient(ellipse 75% 85% at top center, var(--primary-glow) 0%, rgba(11, 14, 23, 0) 75%);
    text-align: center;
}

.hero.hero-compact {
    padding: 50px 0 30px;
}

.hero-with-chars {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px; 
}

.hero-center-text {
    max-width: 680px; 
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

.hero-char {
    position: absolute;
    top: 50%;
    width: 260px; 
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 10px 25px var(--primary-glow));
}

.hero-char img {
    width: 100%; 
    height: auto;
}


.hero-char-left {
    left: 0px; 
    animation: floatChar 4s ease-in-out infinite;
}


.hero-char-right {
    right: 0px; 
    animation: floatCharRight 4s ease-in-out infinite;
}


@keyframes floatChar {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

@keyframes floatCharRight {
    0%, 100% { transform: translateY(-50%) scaleX(-1); }
    50% { transform: translateY(calc(-50% - 10px)) scaleX(-1); }
}


@media (max-width: 1150px) {
    .hero-char {
        width: 180px;
    }
    .hero-char-left { left: 0; }
    .hero-char-right { right: 0; }
}


@media (max-width: 850px) {
    .hero-char {
        display: none;
    }
    .hero-with-chars {
        min-height: auto;
    }
}


.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-hover);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    max-width: 850px;
    margin: 0 auto 16px;
}

.hero p {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.game-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0f1422;
}

.game-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-hot { background: #ef4444; color: #fff; }
.badge-top { background: #f59e0b; color: #000; }
.badge-purple { background: var(--accent-purple); color: #fff; }
.badge-green { background: var(--accent-green); color: #000; }

.game-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.rtp {
    color: var(--accent-green);
    font-weight: 600;
}

.game-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.game-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.card-buttons .btn {
    padding: 10px 12px;
    font-size: 0.85rem;
}


.table-responsive {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.payments-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    text-align: left;
}

.payments-table th, .payments-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.payments-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
}

.payments-table tr:last-child td {
    border-bottom: none;
}


body.theme-chicken {
    --primary: #eab308;
    --primary-hover: #facc15;
    --primary-glow: rgba(234, 179, 8, 0.45);
}

body.theme-aviator {
    --primary: #ef4444;
    --primary-hover: #f87171;
    --primary-glow: rgba(239, 68, 68, 0.45);
}


body.theme-lucky {
    --primary: #a855f7;
    --primary-hover: #9333ea;
    --primary-glow: rgba(168, 85, 247, 0.45);
}


body.theme-mines {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-glow: rgba(14, 165, 233, 0.45);
}


body[class*="theme-"] .btn-primary {
    background: var(--primary);
    color: #0b0e17;
    font-weight: 700;
    box-shadow: 0 4px 18px var(--primary-glow);
}

body.theme-aviator .btn-primary,
body.theme-lucky .btn-primary {
    color: #ffffff;
}

body[class*="theme-"] .btn-primary:hover {
    background: var(--primary-hover);
}

.demo-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 24px auto 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.demo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 8px 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.demo-frame-wrap {
    position: relative;
    width: 100%;
    height: 540px; 
    background: #07090f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-frame-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.demo-placeholder {
    text-align: center;
    padding: 24px;
    max-width: 480px;
}

.demo-placeholder h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.demo-placeholder p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.demo-bottom-bar {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}


.game-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 12px 0 40px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.spec-card strong {
    font-size: 1.2rem;
    color: var(--primary);
}

.seo-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 40px;
}

.seo-article h2 {
    font-size: 1.5rem;
    margin: 24px 0 12px;
    color: #fff;
}

.seo-article h2:first-child {
    margin-top: 0;
}

.seo-article p, .seo-article li {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.98rem;
}

.seo-article ul {
    padding-left: 20px;
    margin-bottom: 16px;
}


.author-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.author-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.author-info h3 {
    font-size: 1.35rem;
    margin: 4px 0 8px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.author-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.author-meta a {
    color: var(--primary);
    font-weight: 600;
}


.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 18px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
}


.footer {
    background: #07090f;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
    margin-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 14px;
    max-width: 340px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}
.footer-links a.active {
    color: var(--primary);
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    text-shadow: 0 0 10px var(--primary-glow);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.85rem;
}


@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 68px;
    }

    .logo img {
        height: 38px;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: #0f1422;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav a {
        font-size: 1.15rem;
        padding: 4px 0;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .game-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-frame-wrap {
        height: 480px; 
    }

    .seo-article {
        padding: 20px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-meta {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }
    .demo-frame-wrap {
        height: 480px; 
    }
}

.hero-flex-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left-content {
    flex: 1;
    max-width: 720px;
    text-align: left;
}

.hero-left-content h1,
.hero-left-content p {
    margin-left: 0;
    margin-right: 0;
}

.hero-left-content .hero-actions,
.hero-left-content .hero-features {
    justify-content: flex-start;
}


.hero-crash-widget {
    width: 280px;
    flex-shrink: 0;
    background: rgba(21, 27, 43, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 85, 0, 0.35);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.12);
}

.widget-top {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ff884d;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 1.2s infinite alternate;
}

@keyframes pulseDot {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.15); }
}

.roulette-display {
    background: rgba(11, 14, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 12px;
    margin: 12px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 94px;
    transition: all 0.25s ease;
}

.roulette-icon {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.15s ease;
}

.roulette-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.roulette-display.spinning .roulette-icon {
    transform: scale(1.15);
}

.roulette-display.winner {
    border-color: var(--win-color, #ff5500);
    box-shadow: 0 0 22px var(--win-glow, rgba(255, 85, 0, 0.45));
}

.roulette-btn {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 85, 0, 0.18);
    border: 1px solid rgba(255, 85, 0, 0.4);
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.roulette-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.roulette-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}


@media (max-width: 960px) {
    .hero-flex-wrap {
        flex-direction: column;
        gap: 28px;
    }

    .hero-left-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-left-content .hero-actions,
    .hero-left-content .hero-features {
        justify-content: center;
    }

    .hero-crash-widget {
        width: 100%;
        max-width: 340px;
    }
}

.demo-overlay-card {
    position: absolute;
    inset: 0;
    background: rgba(11, 14, 23, 0.86);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.demo-overlay-card.visible {
    opacity: 1;
    visibility: visible;
}

.demo-overlay-inner {
    max-width: 440px;
    background: rgba(21, 27, 43, 0.95);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px var(--primary-glow);
    transform: translateY(15px);
    transition: transform 0.45s ease;
}

.demo-overlay-card.visible .demo-overlay-inner {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .game-img-wrap {
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .game-img-wrap img {
        width: 100%;
        height: auto !important;
        display: block;
        object-fit: cover;
    }

    
    .game-body {
        padding: 12px;
    }

    .game-meta {
        font-size: 0.72rem;
        flex-wrap: wrap;
        gap: 4px;
    }

    .game-body h3 {
        font-size: 1.05rem;
    }

    .game-body p {
        font-size: 0.8rem;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .card-buttons {
        gap: 6px;
    }

    .card-buttons .btn {
        padding: 8px 6px;
        font-size: 0.78rem;
    }
}

.demo-box,
#demo-container {
    scroll-margin-top: 115px; 
}

body.theme-chicken .demo-frame-wrap {
    background: linear-gradient(rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.86)), url('/img/chicken-road.webp') center/cover no-repeat;
}

body.theme-aviator .demo-frame-wrap {
    background: linear-gradient(rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.86)), url('/img/aviator.webp') center/cover no-repeat;
}

body.theme-lucky .demo-frame-wrap {
    background: linear-gradient(rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.86)), url('/img/lucky-jet.webp') center/cover no-repeat;
}

body.theme-mines .demo-frame-wrap {
    background: linear-gradient(rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.86)), url('/img/mines.webp') center/cover no-repeat;
}

.brand-logo-svg {
    display: block;
    overflow: visible;
}

.brand-logo-svg .logo-char {
    opacity: 0;
    transform: translateY(10px);
    animation: logoCharIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.brand-logo-svg .c-1 { animation-delay: 0.1s; }
.brand-logo-svg .c-2 { animation-delay: 0.2s; }
.brand-logo-svg .c-3 { animation-delay: 0.3s; }
.brand-logo-svg .c-4 { animation-delay: 0.4s; }
.brand-logo-svg .c-5 { animation-delay: 0.5s; }

@keyframes logoCharIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo-svg .logo-badge {
    opacity: 0;
    transform: scale(0.7);
    transform-origin: 143px 27.5px;
    animation: logoBadgeIn 0.4s ease-out 0.65s forwards;
}

@keyframes logoBadgeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.brand-logo-svg .logo-trail {
    stroke-dasharray: 162;
    stroke-dashoffset: 162;
    animation:
        logoTrailDraw 1.1s ease-out 0.1s forwards,
        logoTrailFade 0.4s ease-out 1.0s forwards;
}

@keyframes logoTrailDraw {
    0% {
        stroke-dashoffset: 162;
        opacity: 0.95;
    }
    55% {
        stroke-dashoffset: 55;
        opacity: 0.95;
    }
    82% {
        stroke-dashoffset: 10;
        opacity: 0.95;
    }
    100% {
        stroke-dashoffset: 8;
        opacity: 0.95;
    }
}

@keyframes logoTrailFade {
    to {
        opacity: 0;
    }
}


.brand-logo-svg .logo-rocket {
    opacity: 0;
    transform-origin: 170px 17px;
    animation: logoRocketGlide 1.1s ease-out 0.1s forwards;
}

@keyframes logoRocketGlide {
    0% {
        opacity: 0;
        transform: translate(-158px, -4px) rotate(88deg) scale(0.85);
    }
    12% {
        opacity: 1;
    }
    55% {
        opacity: 1;
        transform: translate(-45px, -3px) rotate(85deg) scale(1);
    }
    82% {
        opacity: 1;
        transform: translate(14px, -5px) rotate(56deg) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(52deg) scale(1);
    }
}
@media (max-width: 768px) {
    
    .header .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-controls {
        gap: 8px;
    }

    
    .brand-logo-svg {
        width: 175px;
        height: 45px;
        margin-left: -8px; 
    }
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pay-badge {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pay-badge:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}
.pay-title {
    color: var(--text-muted); text-decoration: underline;
}

body:not([class*="theme-"]) .btn-primary,
body:not([class*="theme-"]) .roulette-btn:hover:not(:disabled) {
    color: #0b0e17;
}


.hero-crash-widget {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
}

.widget-top {
    color: #e2e8f0;
}

.roulette-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}
body:not([class*="theme-"]) .btn-primary {
    background-color: #2563eb;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12));
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
    transition: background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.35s ease,
                box-shadow 0.38s ease,
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not([class*="theme-"]) .btn-primary:hover {
    background-color: #ffffff;
    color: #0b0e17;
    box-shadow: 0 8px 26px rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}



body:not([class*="theme-"]) .btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}


.nav a[href="/"],
.nav a[href="/kz/"],
.footer-links a[href="/"],
.footer-links a[href="/kz/"] {
    transition: all 0.25s ease;
}

.nav a[href="/"]:hover,
.nav a[href="/"].active,
.nav a[href="/kz/"]:hover,
.nav a[href="/kz/"].active,
.footer-links a[href="/"]:hover,
.footer-links a[href="/"].active,
.footer-links a[href="/kz/"]:hover,
.footer-links a[href="/kz/"].active {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.65);
}

.footer-brand img {
    width: 200px; 
    height: auto;
    max-width: 100%;
    display: block;
}

.article-banner {
    margin: 28px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #151b2b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.article-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.article-banner figcaption {
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    background: rgba(11, 14, 23, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.roulette-display {
    position: relative !important;
    overflow: hidden !important;
    background: rgba(11, 14, 23, 0.35) !important;
    z-index: 1;
}

.roulette-display::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2.5px) brightness(0.45);
    z-index: -1;
    animation: rouletteBgCycle 16s infinite ease-in-out;
}

.roulette-display > * {
    position: relative;
    z-index: 2;
}

@keyframes rouletteBgCycle {
    0%, 20% {
        background-image: url('/img/chicken-road.webp');
        transform: scale(0.95);
    }
    25%, 45% {
        background-image: url('/img/aviator.webp');
        transform: scale(1);
    }
    50%, 70% {
        background-image: url('/img/lucky-jet.webp');
        transform: scale(0.95);
    }
    75%, 95% {
        background-image: url('/img/mines.webp');
        transform: scale(1);
    }
    100% {
        background-image: url('/img/chicken-road.webp');
        transform: scale(0.95);
    }
}

.games-section,
.seo-article {
    position: relative;
}


.games-section::before,
.seo-article::before {
    content: "";
    position: absolute;
    bottom: 100%; 
    left: 0;
    width: 100%;
    height: 160px;
    background: radial-gradient(50% 100% at 50% 100%, var(--primary-glow) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}


.games-section::after,
.seo-article::after {
    content: "";
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    height: 160px;
    background: radial-gradient(50% 100% at 50% 0%, var(--primary-glow) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}


.games-section > *,
.seo-article > * {
    position: relative;
    z-index: 1;
}

body:not([class*="theme-"]) .hero {
    border-bottom: none !important;
    overflow: visible !important;
}

body:not([class*="theme-"]) .games-section {
    border-top: none !important;
    overflow: visible !important;
}

body:not([class*="theme-"]) .games-section::before {
    content: "";
    position: absolute;
    top: -10px; 
    left: 0;
    width: 100%;
    height: 300px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

body:not([class*="theme-"]) .games-section {
    border-bottom: none !important;
}

body:not([class*="theme-"]) .games-section::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: -200px;
    left: 0;
    width: 100%;
    height: 280px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

body:not([class*="theme-"]) .seo-article::before {
    bottom: auto;
    top: -65px; 
    height: 100px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
}

#roulette-screen.spinning::before,
#roulette-screen.winner::before {
    opacity: 0 !important;
    animation: none !important;
    transition: opacity 0.2s ease;
}



#roulette-screen.spinning,
#roulette-screen.winner {
    padding: 10px 10px 12px !important;
}


.roulette-full-cover {
    width: 100%;
    max-width: 100%;
    height: 165px; 
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65);
}

#roulette-screen.winner .roulette-full-cover {
    box-shadow: 0 0 24px var(--win-glow);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.roulette-tick-anim {
    animation: rouletteSmoothTick 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rouletteSmoothTick {
    0% {
        opacity: 0.25;
        transform: translateY(10px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-badges,
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px !important; 
    width: 100%;
}

@media (max-width: 768px) {
    .hero-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 12px 8px;
        font-size: 0.85rem;
        white-space: nowrap;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .hero .container,
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    
    .hero-left-content {
        display: contents !important;
    }

    
    .hero-left-content .hero-tag { order: 1; }
    .hero-left-content h1 { order: 2; }
    .hero-left-content p { order: 3; }
    .hero-left-content .hero-buttons {
        order: 4;
        margin-bottom:12px;
    }

    
    .hero-crash-widget {
        order: 5;
        margin: 0 auto 22px !important;
        width: 100%;
    }

    
    .hero-left-content .hero-features {
        order: 6;
        margin-top: 4px !important;
    }
}

@media (max-width: 991px) {
    .hero {
        padding-top: 22px !important;
        padding-bottom: 24px !important;
    }

    .hero .container,
    .hero-grid {
        gap: 0 !important;
    }

    .hero-left-content .hero-tag {
        margin-bottom: 12px !important;
    }

    .hero-left-content h1 {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        line-height: 1.22;
    }

    .hero-left-content p {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .hero-left-content .hero-buttons {
        margin-bottom: 18px !important;
    }

    .hero-crash-widget {
        margin: 0 auto 16px !important;
    }

    .hero-left-content .hero-features {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    
    .games-section {
        padding-top: 24px !important;
    }

    .games-section h2,
    .section-header {
        margin-top: 0 !important;
    }
}

.brand-logo-svg .logo-subtext {
    opacity: 0;
    transform: translateY(6px);
    animation: logoSubIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

@keyframes logoSubIn {
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.article-brand-link {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
    transition: text-shadow 0.3s ease, transform 0.25s ease;
}

.article-brand-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-brand-link:hover {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 28px rgba(255, 255, 255, 0.55);
}

.article-brand-link:hover::after {
    transform: scaleX(1);
}

@media (min-width: 1360px) {
    body {
        background-color: #0b0e17;
        background-image: 
            linear-gradient(rgba(11, 14, 23, 0.35), rgba(11, 14, 23, 0.35)),
            url('/img/bg-side-pattern.webp');
        background-repeat: repeat-y;
        background-position: top center;
        background-size: 1760px auto;
    }
}

@media (max-width: 991px) {
    #nav-menu {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-16px) !important;
        background: rgba(11, 14, 23, 0.96) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
        transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0.35s ease !important;
        z-index: 999;
    }

    
    #nav-menu.active,
    #nav-menu.open,
    #nav-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    
    #nav-menu a {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s !important;
    }

    #nav-menu.active a,
    #nav-menu.open a,
    #nav-menu.show a {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    body:has(#nav-menu.active),
    body:has(#nav-menu.open),
    body:has(#nav-menu.show) {
        overflow: hidden !important;
        touch-action: none;
    }
}









