* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: #172033;
    background: #eef7f8;
}

a {
    color: inherit;
    text-decoration: none;
}

.matka-wrap,
.site-wrap {
    width: min(1140px, calc(100% - 28px));
    margin: 0 auto;
}

.matka-home {
    min-height: 100vh;
    color: #182232;
    background: #eef7f8;
}

.matka-nav,
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: #0b8f9f;
    color: #fff;
    box-shadow: 0 4px 18px rgba(6, 50, 56, .2);
    transition: top .25s ease;
}

.nav-inner,
.nav-row {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.matka-logo,
.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
    text-transform: uppercase;
}

.matka-logo img,
.brand-lockup img {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 58px;
    object-fit: contain;
}

.matka-logo strong {
    display: none;
}

.matka-menu,
.desktop-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    font-size: 16px;
    font-weight: 800;
}

.matka-menu a,
.desktop-menu a {
    color: #fff;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    min-width: 44px;
    min-height: 38px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-weight: 900;
}

.social-icons {
    position: fixed;
    top: 132px;
    right: 12px;
    z-index: 950;
    display: grid;
    gap: 8px;
}

.social-icons a {
    width: 62px;
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 8px 6px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(10, 44, 49, .18);
}

.social-icons span {
    font-size: 13px;
}

.social-icons small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-icons .whatsapp {
    background: #19b65f;
}

.social-icons .phone {
    background: #0b8f9f;
}

.social-icons .reload {
    background: #1565c0;
}

.hero-slider {
    margin-top: 70px;
    background: #dceff2;
}

.hero-slide {
    min-height: clamp(130px, 27vw, 330px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(28px, 5vw, 70px) max(28px, calc((100vw - 1140px) / 2));
    background:
        linear-gradient(90deg, rgba(4, 35, 41, .18), rgba(11, 143, 159, .03)),
        var(--landing-banner) center / cover no-repeat;
}

.hero-copy {
    display: grid;
    gap: 8px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(4, 25, 31, .42);
}

.hero-copy span,
.hero-copy em {
    font-style: normal;
    font-size: clamp(15px, 2.2vw, 28px);
    font-weight: 900;
    letter-spacing: 1px;
}

.hero-copy strong {
    font-size: clamp(42px, 8vw, 100px);
    line-height: .95;
    font-weight: 950;
}

.ticker {
    min-height: 42px;
    display: flex;
    align-items: center;
    background: #1565c0;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.intro {
    padding: 36px 0 32px;
    text-align: center;
}

.intro h1,
.intro h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.12;
}

.call-card {
    width: min(360px, 100%);
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px auto;
    padding: 18px 22px;
    border-radius: 8px;
    background: #0b8f9f;
    color: #fff;
    box-shadow: 0 16px 28px rgba(11, 143, 159, .25);
}

.call-card span {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.call-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
}

.intro hr {
    width: min(100%, 920px);
    margin: 26px auto;
    border: 0;
    border-top: 1px solid #c9d9dd;
}

.download-title {
    margin: 0 0 8px;
    color: #d51e28;
    font-weight: 900;
    text-transform: uppercase;
}

.intro p {
    margin: 0 auto 12px;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.5;
}

.download-button {
    min-width: 250px;
    min-height: 62px;
    display: inline-grid;
    place-items: center;
    margin-top: 8px;
    padding: 10px 30px;
    border-radius: 6px;
    background: #172033;
    color: #fff;
    box-shadow: 0 14px 26px rgba(23, 32, 51, .2);
}

.download-button small,
.download-button b {
    display: block;
    line-height: 1.05;
}

.notice-band {
    padding: 28px 0;
    background:
        linear-gradient(rgba(238, 247, 248, .88), rgba(238, 247, 248, .88)),
        var(--landing-banner) center / cover fixed;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.notice-card {
    min-height: 360px;
    padding: 28px 30px;
    border-radius: 0 26px 26px 26px;
    background: #fff;
    color: #172033;
    box-shadow: 0 18px 38px rgba(10, 44, 49, .14);
    border-left: 8px solid #0b8f9f;
}

.notice-card h2 {
    margin: 0;
    color: #0b8f9f;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

.notice-card hr {
    width: 84px;
    height: 3px;
    margin: 14px auto 22px;
    border: 0;
    background: #d51e28;
}

.notice-card p {
    margin: 14px 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.notice-card span {
    float: right;
    color: #d51e28;
}

.section-strip {
    padding: 14px;
    background: #0b8f9f;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.section-strip.secondary {
    background: #1565c0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 26px 0;
}

.game-card,
.empty-state {
    position: relative;
    min-height: 230px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px 20px;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    text-align: center;
    box-shadow: 0 14px 28px rgba(10, 44, 49, .12);
    overflow: hidden;
}

.game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0b8f9f, #1565c0);
}

.game-card h3 {
    margin: 0;
    color: #0b8f9f;
    font-size: 24px;
    text-transform: uppercase;
}

.result-number {
    color: #d51e28;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 1px;
}

.game-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.game-status {
    color: #1565c0;
    font-weight: 900;
    text-transform: uppercase;
}

.game-status.result-done {
    color: #159447;
}

.card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.card-actions a,
.chart-grid a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 4px;
    background: #0b8f9f;
    color: #fff;
    font-weight: 900;
}

.card-actions a + a {
    background: #1565c0;
}

.chart-links {
    padding: 22px 0;
    background: #e3f3f5;
}

.chart-links h2,
.content-copy h2,
.section-title h2 {
    margin: 18px 0;
    padding: 14px;
    background: #0b8f9f;
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.chart-grid a {
    justify-content: space-between;
    background: #fff;
    color: #172033;
    box-shadow: 0 10px 22px rgba(10, 44, 49, .1);
}

.chart-grid span {
    color: #d51e28;
    font-size: 24px;
}

.content-copy {
    padding-bottom: 38px;
}

.content-copy p {
    margin: 12px 0;
    font-size: 17px;
    line-height: 1.55;
}

.matka-footer {
    display: grid;
    place-items: center;
    gap: 16px;
    padding: 28px 16px;
    background: #172033;
    color: #fff;
    text-align: center;
}

.footer-access {
    width: min(720px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.footer-access-card {
    min-height: 72px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: #0b8f9f;
    color: #fff;
    box-shadow: 0 14px 28px rgba(4, 35, 41, .22);
}

.footer-access-card + .footer-access-card {
    background: #1565c0;
}

.footer-access-card span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-access-card strong {
    font-size: 18px;
}

.matka-footer p {
    margin: 0;
}

.chart-page {
    padding-top: 96px;
    min-height: 100vh;
}

.results-section {
    padding: 24px 0 44px;
}

.section-title {
    text-align: center;
}

.section-title span {
    color: #0b8f9f;
    font-weight: 900;
    text-transform: uppercase;
}

.section-title p {
    margin: 0 0 18px;
}

.chart-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(10, 44, 49, .12);
}

.chart-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.chart-table th,
.chart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #d9e8eb;
    text-align: center;
}

.chart-table th {
    background: #0b8f9f;
    color: #fff;
    text-transform: uppercase;
}

.chart-table td {
    font-weight: 800;
}

@media (max-width: 1100px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .matka-wrap,
    .site-wrap {
        width: min(100% - 24px, 640px);
    }

    .nav-inner,
    .nav-row {
        min-height: 66px;
    }

    .matka-logo img,
    .brand-lockup img {
        max-width: 190px;
        max-height: 52px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .matka-menu,
    .desktop-menu {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #0b8f9f;
    }

    .matka-menu.is-open {
        display: flex;
    }

    .matka-menu a,
    .desktop-menu a {
        padding: 14px 18px;
        border-top: 1px solid rgba(255,255,255,.18);
    }

    .hero-slider {
        margin-top: 66px;
    }

    .info-grid,
    .games-grid,
    .chart-grid,
    .footer-access {
        grid-template-columns: 1fr;
    }

    .notice-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .notice-card span {
        float: none;
        display: block;
        margin-top: 2px;
    }

    .social-icons {
        top: 124px;
        right: 8px;
        gap: 5px;
    }

    .social-icons a {
        width: 44px;
        min-height: 36px;
        padding: 6px 4px;
        font-size: 9px;
    }

    .social-icons .reload {
        display: none;
    }

    .hero-slide {
        min-height: 126px;
        padding: 0;
        background:
            linear-gradient(90deg, rgba(4, 35, 41, .04), rgba(11, 143, 159, .02)),
            var(--landing-banner) center / contain no-repeat;
        background-color: #1565c0;
    }

    .result-number {
        font-size: 30px;
    }
}
