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

:root {
    --color-primary: #2c5da8;
    --color-secondary: #ffcc01;
    --color-white: #ffffff;
    --color-bg: #f8f9fa;
    --color-text: #212529;
    --color-text-light: #6c757d;
    --color-border: #dee2e6;
    --color-success: #28a745;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

.l4m7p2k {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.m2n8q5r {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.t5h8n2q {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 24px;
    position: relative;
}

.header-logo {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

.header-logo img {
    display: block;
    height: 44px;
    width: auto;
}

/* --- Nav --- */
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-nav__list {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.header-nav__list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

.header-nav__list a:hover {
    color: var(--color-primary);
}

.header-nav__list a:hover::after {
    width: 100%;
}

/* --- Right side --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-online {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2c5da8, #1e4278);
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.header-online__label {
    font-size: 13px;
    opacity: 0.9;
}

.header-online__count {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* --- Buttons --- */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-actions--mobile {
    display: none;
}

.btn-login {
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
    white-space: nowrap;
}

.btn-login:hover {
    background: #1e4278;
    border-color: #1e4278;
    transform: translateY(-2px);
}

.btn-signup {
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--color-secondary);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--color-secondary);
    white-space: nowrap;
}

.btn-signup:hover {
    background: #e6b800;
    border-color: #e6b800;
    transform: translateY(-2px);
}

/* --- Burger --- */
.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.header-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-burger.active span:nth-child(2) {
    opacity: 0;
}

.header-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile overlay (closed by default) --- */
body.menu-open {
    overflow: hidden;
}

/* ===== TABLET (<= 992px) ===== */
@media (max-width: 992px) {
    .header-nav__list {
        gap: 16px;
    }

    .header-nav__list a {
        font-size: 14px;
    }

    .header-online {
        display: none;
    }
}

/* ===== MOBILE (<= 768px) ===== */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }

    .header-logo img {
        height: 36px;
    }

    .header-burger {
        display: flex;
    }

    .header-right {
        display: none;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        z-index: 999;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .header-nav__list li {
        border-bottom: 1px solid var(--color-border);
    }

    .header-nav__list a {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
    }

    .header-nav__list a::after {
        display: none;
    }

    .header-nav__list a:hover {
        background: var(--color-bg);
    }

    .header-actions--mobile {
        display: flex;
        flex-direction: column;
        padding: 24px;
        gap: 12px;
    }

    .header-actions--mobile .btn-login,
    .header-actions--mobile .btn-signup {
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
}

.h8n3p6k {
    background: linear-gradient(135deg, rgba(44, 93, 168, 0.9), rgba(30, 66, 120, 0.9)), url('/banner-loto.png') center/cover;
    padding: 100px 20px;
    text-align: center;
    color: var(--color-white);
    position: relative;
}

.h8n3p6k::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 204, 1, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.v9q2w5n {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.x3k7m1p {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.z6n4p8q {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.j2m5n9k {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta {
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 10px;
    background: var(--color-secondary);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    border: 3px solid var(--color-secondary);
    box-shadow: 0 4px 15px rgba(255, 204, 1, 0.4);
}

.hero-cta:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 1, 0.6);
}

.b5n8p3k {
    background: var(--color-white);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.q2m7w4n {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

.q2m7w4n li {
    color: var(--color-text-light);
}

.q2m7w4n li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--color-text-light);
}

.q2m7w4n a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.q2m7w4n a:hover {
    text-decoration: underline;
}

.b4j9m1x {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text);
    text-align: center;
}

.c8p5n2k {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.w6n3p9k {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.t4m8n5q {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.t4m8n5q th,
.t4m8n5q td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.t4m8n5q th {
    background: linear-gradient(135deg, #2c5da8, #1e4278);
    color: var(--color-white);
    font-weight: 600;
}

.t4m8n5q tbody tr:last-child td {
    border-bottom: none;
}

.t4m8n5q tbody tr:hover {
    background: rgba(44, 93, 168, 0.05);
}

.param-cell {
    font-weight: 600;
    color: var(--color-text);
    background: #f8f9fa;
}

.value-cell {
    color: var(--color-text-light);
}

.a7n4p2k {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.d6k2n9p {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}

.d6k2n9p:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(44, 93, 168, 0.15);
}

.icon-wrapper {
    font-size: 48px;
    margin-bottom: 15px;
}

.d6k2n9p h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.d6k2n9p p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.m5n9p3k {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.date-time-block {
    background: linear-gradient(135deg, #ffcc01, #e6b800);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--color-text);
}

.mirrors-table thead {
    background: linear-gradient(135deg, #2c5da8, #1e4278);
    color: var(--color-white);
}

.status-active {
    background: var(--color-success);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.mirror-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.v8p3n6k {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.z6k3p9n {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.z6k3p9n h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text);
}

.z6k3p9n h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.z6k3p9n p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

.z6k3p9n ul,
.z6k3p9n ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.z6k3p9n li {
    margin-bottom: 8px;
}

.z6k3p9n table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 2px solid var(--color-border);
}

.z6k3p9n table th,
.z6k3p9n table td {
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.z6k3p9n table th {
    background: #f8f9fa;
    font-weight: 600;
}

.z6k3p9n a {
    color: var(--color-primary);
    text-decoration: underline;
}

.z6k3p9n a:hover {
    color: #1e4278;
}

.f7n2p5k {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    background: var(--color-bg);
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: var(--color-text);
}

.faq-question:hover {
    background: rgba(44, 93, 168, 0.05);
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer > div {
    padding: 20px;
    background: var(--color-white);
}

.faq-answer p {
    line-height: 1.8;
    color: var(--color-text);
}

.footer-main {
    background: linear-gradient(135deg, #2c5da8, #1e4278);
    color: var(--color-white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

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

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-menu,
.footer-contacts {
    list-style: none;
}

.footer-menu li,
.footer-contacts li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-contacts li {
    font-size: 14px;
    opacity: 0.9;
}

.footer-payments,
.footer-providers {
    margin-bottom: 30px;
}

.footer-payments h3,
.footer-providers h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-logos,
.provider-logos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-logos img,
.provider-logos img {
    background: var(--color-white);
    padding: 8px;
    border-radius: 6px;
    opacity: 0.9;
    transition: var(--transition);
}

.payment-logos img:hover,
.provider-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-legal p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.legal-text {
    font-size: 12px;
    opacity: 0.8;
    max-width: 900px;
    margin: 10px auto;
}

.footer-author {
    margin-top: 20px;
    font-size: 14px;
}

.footer-author a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-author a:hover {
    text-decoration: underline;
}

.author-bio {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.widget-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5da8, #1e4278);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 999;
    padding: 15px 0;
    animation: slideUp 0.5s ease;
}

.widget-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    padding: 4px 8px;
}

.widget-close:hover {
    opacity: 1;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.widget-text {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.widget-btn {
    padding: 12px 36px;
    background: var(--color-secondary);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid var(--color-secondary);
    display: inline-block;
}

.widget-btn:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    transform: scale(1.05);
}

.n7m3k8p {
    display: none;
}

.j9q4w2n {
    opacity: 0;
    visibility: hidden;
}

.x5p8m3k {
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .x3k7m1p {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .b4j9m1x {
        font-size: 28px;
    }
    
    .t5h8n2q,
    .c8p5n2k,
    .a7n4p2k,
    .m5n9p3k,
    .v8p3n6k,
    .z6k3p9n,
    .f7n2p5k {
        padding: 20px;
    }
    
    .g3m8p5n {
        grid-template-columns: 1fr;
    }
    
    .widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .widget-text {
        font-size: 16px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .h8n3p6k {
        padding: 60px 20px;
    }
    
    .x3k7m1p {
        font-size: 24px;
    }
    
    .z6n4p8q {
        font-size: 20px;
    }
    
    .j2m5n9k {
        font-size: 16px;
    }
    
    .hero-cta {
        padding: 12px 32px;
        font-size: 16px;
    }
    
    .r8q3w5h,
    .t2n7m4k {
        padding: 8px 16px;
        font-size: 14px;
    }
}
