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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0e0e0e;
    color: #e4e4e4;
    line-height: 1.6;
    overflow-x: hidden;
}

.v8k2n5d {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.p4m9x7r {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.k9p3w7n {
    background-color: #1b1c1d;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.t5n8m2v {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.w4p9k3n {
    flex-shrink: 0;
}

.v7m2k8p {
    display: inline-block;
}

.n3w8p5k {
    display: block;
    height: 40px;
    width: auto;
}

.m8k4p2v {
    flex: 1;
}

.p2n9w7k {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.k5v8n3m {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e4e4e4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.k5v8n3m:hover {
    color: #e50539;
    background-color: rgba(229, 5, 57, 0.1);
}

.t9m2p6k {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.w3n7k9p {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v5k2m8n {
    display: flex;
    gap: 10px;
}

.p9w4k7t {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background-color: #e50539;
    color: #ffffff;
}

.btn-login:hover {
    background-color: #c20430;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 5, 57, 0.4);
}

.btn-signup {
    background-color: #28a909;
    color: #ffffff;
}

.btn-signup:hover {
    background-color: #1f8507;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 169, 9, 0.4);
}

.n8m3p9k {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.k2v7w4n {
    width: 25px;
    height: 3px;
    background-color: #e4e4e4;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.h6t3w1q {
    background: linear-gradient(135deg, rgba(229, 5, 57, 0.15) 0%, rgba(27, 28, 29, 0.95) 100%), url('/banner-aviator.png') center/cover no-repeat;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.h6t3w1q::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(229, 5, 57, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.j9s4v2n {
    text-align: center;
    position: relative;
    z-index: 1;
}

.l2p8k5m {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.n7q3t9x {
    font-size: 20px;
    color: #d4d4d4;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.w5m2p8k {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.x9n4v7s, .k3t6w2p {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.x9n4v7s {
    background-color: #e50539;
    color: #ffffff;
}

.x9n4v7s:hover {
    background-color: #c20430;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 5, 57, 0.5);
}

.k3t6w2p {
    background-color: #28a909;
    color: #ffffff;
}

.k3t6w2p:hover {
    background-color: #1f8507;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 169, 9, 0.5);
}

.y4r8n3q {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(27, 28, 29, 0.8);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    color: #e4e4e4;
    backdrop-filter: blur(10px);
}

.b2v7k9m {
    font-size: 20px;
}

.d8h3p6n {
    display: flex;
    align-items: center;
    gap: 5px;
}

.m5t2w9k {
    color: #28a909;
    font-weight: 700;
}

.f3p9t6v {
    flex: 1;
    padding: 60px 0;
}

.s9w4v2p {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.r7k2n8q {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.x3n7k5t {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.m8p4w1r {
    background-color: #252627;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.m8p4w1r:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229, 5, 57, 0.2);
}

.t6k9n2v {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e50539 0%, #a00329 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.q2w7m3k {
    color: #ffffff;
}

.v5k8p2n {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.n9w3t7m {
    color: #b4b4b4;
    font-size: 15px;
    line-height: 1.5;
}

.p8m3n7k {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.w4t9p2v {
    overflow-x: auto;
}

.n5k8m3r {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.n5k8m3r thead {
    background-color: #252627;
}

.n5k8m3r th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid #e50539;
}

.n5k8m3r td {
    padding: 15px;
    border-bottom: 1px solid #333;
    color: #d4d4d4;
}

.n5k8m3r tr:hover {
    background-color: #252627;
}

.t6w2n9m {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.k3p7v5n {
    text-align: center;
    color: #b4b4b4;
    margin-bottom: 30px;
    font-size: 16px;
}

.r8n4p2w {
    max-width: 700px;
    margin: 0 auto 40px;
}

.v2k7m9p {
    width: 100%;
    border-collapse: collapse;
    background-color: #252627;
    border-radius: 12px;
    overflow: hidden;
}

.v2k7m9p tr {
    border-bottom: 1px solid #333;
}

.v2k7m9p tr:last-child {
    border-bottom: none;
}

.v2k7m9p td {
    padding: 15px 20px;
    color: #d4d4d4;
}

.v2k7m9p td:first-child {
    font-weight: 600;
    color: #ffffff;
    width: 40%;
}

.x9v3k7n {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.m2p8w5k {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #252627;
    color: #ffffff;
}

.m2p8w5k:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 5, 57, 0.3);
}

.t4n9v2r {
    width: 24px;
    height: 24px;
}

.y7p3n8w {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.k2v9m4p {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.t8n3w7k {
    background-color: #252627;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.t8n3w7k:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229, 5, 57, 0.3);
}

.p5m2v9n {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.p5m2v9n img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.w9k4p7t {
    font-size: 32px;
    font-weight: 700;
    color: #28a909;
    margin-bottom: 15px;
}

.n2v8m3k {
    color: #b4b4b4;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.x7p2n9v {
    background-color: #28a909;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.x7p2n9v:hover {
    background-color: #1f8507;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 169, 9, 0.4);
}

.m4n8p3v {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.k7w2n9p {
    text-align: center;
    color: #b4b4b4;
    margin-bottom: 30px;
    font-size: 16px;
}

.v3p8k2n {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

.t9m4w7k {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.r6k3p9n {
    text-align: center;
}

.w2v7m4k {
    background-color: #28a909;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.w2v7m4k:hover {
    background-color: #1f8507;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 169, 9, 0.5);
}

.x8p2v5n {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.x8p2v5n h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
}

.x8p2v5n h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #ffffff;
}

.x8p2v5n p {
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 15px;
}

.x8p2v5n ul, .x8p2v5n ol {
    margin: 15px 0;
    padding-left: 30px;
}

.x8p2v5n li {
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 10px;
}

.x8p2v5n table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #252627;
    border-radius: 8px;
    overflow: hidden;
}

.x8p2v5n table th {
    padding: 15px;
    background-color: #2d2e2f;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #e50539;
}

.x8p2v5n table td {
    padding: 15px;
    color: #d4d4d4;
    border-bottom: 1px solid #333;
}

.x8p2v5n strong {
    color: #ffffff;
}

.x8p2v5n a {
    color: #e50539;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.x8p2v5n a:hover {
    border-bottom-color: #e50539;
}

.n5w9k3t {
    margin-bottom: 60px;
    background-color: #1b1c1d;
    padding: 50px 30px;
    border-radius: 16px;
}

.p7m2k9v {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.t4n8w3k {
    flex-shrink: 0;
}

.t4n8w3k img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.v9k2p7m {
    flex: 1;
}

.w5n8t3k {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.m3p7v2n {
    color: #b4b4b4;
    line-height: 1.6;
    margin-bottom: 15px;
}

.k8n4w9p {
    display: flex;
    gap: 15px;
}

.t2v9m5k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0077b5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.t2v9m5k:hover {
    background-color: #005885;
    transform: translateY(-2px);
}

.m9k3p7w {
    background-color: #1b1c1d;
    padding: 50px 0 30px;
    margin-top: auto;
}

.t6n2w9k {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.p8v4m2n {
    display: flex;
    flex-direction: column;
}

.k3w9p5m {
    display: inline-block;
    margin-bottom: 15px;
}

.v2n8k7m {
    color: #b4b4b4;
    font-size: 14px;
    line-height: 1.6;
}

.w9k2p7n {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.n4m8v3k {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t7p2w9k {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.t7p2w9k:hover {
    color: #e50539;
}

.v7m3k9p {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.k9n4p8m {
    margin-bottom: 40px;
    text-align: center;
}

.t3v8n5k {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.m5w8n2p {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.p9k3v7n {
    color: #b4b4b4;
    font-size: 14px;
}

.v4n9k2w {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.k8m3p9v {
    color: #b4b4b4;
    font-size: 14px;
    margin-bottom: 10px;
}

.t2w7n5k {
    color: #888;
    font-size: 12px;
    line-height: 1.5;
}

.n9w3p7k {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #e50539 0%, #a00329 100%);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.m2k8v5t {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.p9n4w2k {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3m7k2n {
    font-size: 24px;
}

.k8p3w9m {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.t7n2v8k {
    background-color: #28a909;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}

.t7n2v8k:hover {
    background-color: #1f8507;
    transform: scale(1.05);
}

.k7s9d2x, .m3h8f1p, .q5t2n9r, .w8p4v6k, .b9n2k7m, .x3v8t2n, .f7h3p9s {
    background-color: #1b1c1d;
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.k7s9d2x p, .m3h8f1p p, .q5t2n9r p, .w8p4v6k p, .b9n2k7m p, .x3v8t2n p, .f7h3p9s p {
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 15px;
}

.k7s9d2x h2, .m3h8f1p h2, .q5t2n9r h2, .w8p4v6k h2, .b9n2k7m h2, .x3v8t2n h2, .f7h3p9s h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
}

.f7h3p9s h3 {
    font-size: 20px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 12px;
}

.q5t2n9r ul {
    list-style-position: inside;
    margin: 15px 0;
}

.q5t2n9r li {
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 10px;
}

.z9k3m7p {
    display: none;
}

@media (max-width: 968px) {
    .m8k4p2v {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #1b1c1d;
        padding: 30px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .m8k4p2v.active {
        left: 0;
    }
    
    .p2n9w7k {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .n8m3p9k {
        display: flex;
    }
    
    .n8m3p9k.active .k2v7w4n:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .n8m3p9k.active .k2v7w4n:nth-child(2) {
        opacity: 0;
    }
    
    .n8m3p9k.active .k2v7w4n:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    .l2p8k5m {
        font-size: 32px;
    }
    
    .n7q3t9x {
        font-size: 16px;
    }
    
    .x3n7k5t {
        grid-template-columns: 1fr;
    }
    
    .k2v9m4p {
        grid-template-columns: 1fr;
    }
    
    .p7m2k9v {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .m2k8v5t {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .t6n2w9k {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .l2p8k5m {
        font-size: 26px;
    }
    
    .s9w4v2p {
        font-size: 28px;
    }
    
    .v5k2m8n {
        width: 100%;
        flex-direction: column;
    }
    
    .p9w4k7t {
        width: 100%;
    }
    
    .w5m2p8k {
        flex-direction: column;
        width: 100%;
    }
    
    .x9n4v7s, .k3t6w2p {
        width: 100%;
    }
}
/* Мобільна адаптація: демо-гра на всю висоту екрана */
@media (max-width: 768px) {
    /* Прибираємо зайві відступи в секції з грою */
    .m4n8p3v.demo-block {
        padding-top: 0;
        padding-bottom: 0;
    }

    .m4n8p3v.demo-block .k7w2n9p.demo-description {
        margin-bottom: 0;
    }

    /* Обгортка iframe — фуллскрін по висоті і ширині */
    .m4n8p3v .v3p8k2n.demo-iframe-wrapper {
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        height: 100dvh;      /* сучасні браузери */
        max-height: 100vh;   /* fallback */

        padding: 0;
        border-radius: 0;
        overflow: hidden;
        background: #000;    /* щоб не було "щілин" навколо гри */
    }

    /* Сам iframe заповнює весь екран */
    .m4n8p3v .t9m4w7k.demo-iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    /* Щоб нижній фиксований віджет не перекривав гру (опціонально) */
    .n9w3p7k.widget-fixed,
    .n9w3p7k.js-widget-fixed {
        display: none;
    }
}
/* Десктоп — як було, меню показуємо звичайно */
.p2n9w7k.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Мобільна версія */
@media (max-width: 992px) {

    /* Ховаємо меню за екран + робимо його офф-канвасом */
    .p2n9w7k.nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        left: auto;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 80px 24px 24px;
        background: #1b1c1d;
        width: 260px;
        max-width: 80%;

        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    }

    /* Коли бургер натиснули — меню виїжджає */
    .p2n9w7k.nav-menu.active {
        right: 0;
    }

    /* Кнопка-бургер показується тільки на мобільному */
    .n8m3p9k.burger-menu {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001; /* щоб була поверх меню */
    }

    .k2v7w4n.burger-line {
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Анімація іконки при відкритті */
    .n8m3p9k.burger-menu.active .k2v7w4n.burger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .n8m3p9k.burger-menu.active .k2v7w4n.burger-line:nth-child(2) {
        opacity: 0;
    }
    .n8m3p9k.burger-menu.active .k2v7w4n.burger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Фіксуємо скрол, коли меню відкрите */
    body.menu-open {
        overflow: hidden;
    }

    /* Центр/правий блоки — в один рядок */
    .t5n8m2v.header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .m8k4p2v.header-center {
        flex: 0 0 auto;
    }

    .w3n7k9p.header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}
