@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700;900&display=swap');

:root {
    --matka-gold: #F5AF19;
    --matka-gold-light: #FFE066;
    --matka-gold-dark: #B27A00;
    --matka-dark-bg: #0A0500;
    --matka-card-bg: #12131C;
    --matka-font: 'Chakra Petch', sans-serif;
}

* {
    font-family: var(--matka-font) !important;
}

body {
    font-family: Nippo, sans-serif !important;
    background-color: #0A0500 !important;
    color: #FFFFFF !important;
    /* background-image: url('../img/home-2/popular-game/bgline.png') !important; */
    background-repeat: repeat;
    background-size: cover;
    /* animation: 15s linear infinite scrollBgVertical; */
}

body::before {
    content: '';
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url('../img/home-2/popular-game/bgline.png') !important;
    background-repeat: repeat;
    background-size: contain;
    animation: scrollBgVertical 3s linear infinite;
    z-index: 0;
    opacity: 0.5;
}

body {
    position: relative;
}

/* Custom Web3 Skewed Buttons */
.matka-btn-solid {
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    color: #000000 !important;
    font-size: 17px;
    font-weight: 700;
    font-family: "Chakra Petch";
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gt-white);
    display: inline-block;
    text-align: center;
    min-width: 200px;
    overflow: hidden;
    border-radius: 0;
    padding: 18px 30px;
    background-size: 200% auto;

    transition: 0.5s;
    clip-path: polygon(24% 0, 88% 0, 100% 0, 100% 77%, 100% 100%, 0 100%, 0 80%, 0 30%, 7% 0) !important;
}

.matka-btn-solid:hover {
    background: linear-gradient(90deg, var(--matka-gold-light) 0%, var(--matka-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 175, 25, 0.4);
}

.footer_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.matka-btn-primary {
    color: #1a1a1a !important;
    font-family: var(--matka-font);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 13px 31px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFE066 0%, #F5B800 50%, #E8A400 100%);
    border: none;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 184, 0, 0.4);
}

.matka-btn-primary:hover {
    border-color: var(--matka-gold-light);
    background: rgba(245, 175, 25, 0.1);
    color: var(--matka-gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 175, 25, 0.15);
}

/* Custom Background Video */
/* .matka-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: url(../img/home-1/hero/hero_shape.png);
  mask-image: url(../img/home-1/hero/hero_shape.png);
  mask-repeat: no-repeat;
} */
.gt-hero-section-2 {
    /* height: 700px; */
    width: 100%;
}

.line_shape {
    bottom: 0px;
    width: 100%;
    height: 96.5%;
    object-fit: contain;
}

.hero_padd {
    padding-bottom: 80px;
}


.video_mask video {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    isolation: isolate;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-mask-image: url('../img/home-2/hero/shape2.svg');
    mask-image: url('../img/home-2/hero/shape2.svg');
    -webkit-mask-size: contain;
    mask-size: contain;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;
}

/* Hero Section Styling */
.gt-hero-2 {
    position: relative;
    background: transparent !important;
    padding: 180px 0 160px 0;
    overflow: hidden;
    /* background: #0A0500 !important; */
}

/* .video_mask {
    height: 100%;
    width: 100%;
} */

@media (min-width: 992px) {
    .gt-hero-2 {
        /* padding: 0 !important; */
        aspect-ratio: 16 / 9;
        display: flex;
        align-items: center;
    }
}

@media(max-width:992px) {
    .gt-hero-2 {
        padding-bottom: 0px;
        padding-top: 0px !important;
    }

    .video_mask video {
        height: auto;
        position: relative;
        width: 100%;
        margin-bottom: 20px;
    }

    .line_shape {
        top: auto;
        bottom: 20px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}


@media(max-width:769px) {
    .gt-hero-2 {
        padding-bottom: 70px;
    }

    .video_mask video {
        height: auto;
        position: relative;
        margin-bottom: 20px;
    }

    .gt-hero-2 {
        padding-top: 70px !important;
        display: flex;
        flex-direction: column;
    }

    .gt-hero-2>.video_mask {
        order: 1;
    }

    .gt-hero-2>.line_shape {
        order: 2;
        position: relative !important;
        display: block;
        width: 100%;
        height: 25px;
        /* Crops the image to only show the bottom line */
        object-fit: cover;
        object-position: bottom;
        margin-top: -38px;
    }

    .gt-hero-2>.container {
        order: 3;
        margin-top: 20px;
        /* Reduced gap since there's no overlap */
        position: relative;
        z-index: 3;
    }

    .hero_padd {
        padding-bottom: 0px;
    }

    .gt-hero-2 .gt-hero-content p {
        text-align: left;
    }
}

/* .gt-hero-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.15) 0%, rgba(11, 12, 16, 0.4) 100%);
    z-index: 0;
} */

.gt-hero-2 .container {
    position: relative;
    z-index: 1;
}

.gt-hero-content {
    padding-left: 20px;
    text-align: left;
}

.gt-hero-content .subtitle.tx-subTitle {
    color: white;
    font-family: "Chakra Petch";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -0.32px;
    text-transform: uppercase;
}

.gt-hero-content h1.tx-title {
    font-family: Nippo;
    font-weight: 900;
    font-size: 64px;
    line-height: 1.15;
    color: #FFFFFF;
    text-transform: none !important;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.gt-hero-content p {
    font-family: var(--matka-font);
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 600px;
    margin-bottom: 35px;
}

/* Custom 3D Pot animation/glow shadow */
.gt-hero-image {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(245, 175, 25, 0.15));
    animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.gt-hero-image img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

/* Custom Bottom Divider */
.matka-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 3;
    pointer-events: none;
}

.matka-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .gt-hero-content h1.tx-title {
        font-size: 48px;
    }

    .gt-hero-2 {
        padding: 140px 0 100px 0;
    }
}

@media (max-width:1024px) {


    .gt-hero-2 {
        padding: 180px 0 100px 0;
    }
}

@media(max-width:992px) {
    .gt-hero-2 {
        padding: 180px 0 40px 0;
    }

    .gt-hero-content h1.tx-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .gt-hero-content h1.tx-title {
        font-size: 34px;
    }

    .gt-hero-2 {
        padding: 80px 0 40px 0;
    }

    .gt-hero-content {
        text-align: center;
        padding-left: 0;
    }

    .gt-hero-content p {
        margin: 0 auto 25px auto;
    }

    .gt-hero-2 .gt-hero-content .gt-hero-button {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .gt-hero-2 .gt-hero-content .gt-hero-button a {
        flex: 1 1 50% !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 12px 5px !important;
        font-size: 12px !important;
        margin: 0 !important;
        text-align: center;
    }
}

.matka-btn-outline {
    color: #FFF !important;
    font-size: 17px;
    font-weight: 700;
    font-family: "Chakra Petch", sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    padding: 18px 30px;
    transition: 0.3s;
    cursor: pointer;
    border: none !important;
    background-image:
        linear-gradient(to bottom, #fff, #fff),
        linear-gradient(to right, #fff, #fff),
        linear-gradient(to right, #fff, #fff),
        linear-gradient(to bottom, #fff, #fff),
        linear-gradient(to bottom right, transparent 50%, #fff 50%, #fff calc(50% + 1.5px), transparent calc(50% + 1.5px));
    background-position:
        right top,
        left bottom,
        right top,
        left bottom,
        left top;
    background-size:
        1px 100%,
        100% 1px,
        calc(100% - 14px) 1px,
        1px calc(100% - 14px),
        15px 15px;
    background-repeat: no-repeat;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
    background-color: transparent;
}

.matka-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Header/Navbar Override Matching Mockup (Image 1) */
.header-2 {
    background: #0A0500 !important;
    /* solid dark background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
}

.header-2 .main-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-2 .main-menu ul li {
    position: relative;
    padding: 0;
    margin: 0;
}

.header-2 .main-menu ul li a {
    color: #FFF;
    font-family: "Chakra Petch";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    /* 164.706% */
    letter-spacing: -0.34px;
    text-transform: uppercase;
}

.header-2 .main-menu ul li a:hover {
    color: var(--matka-gold) !important;
}

/* Hide standard dropdown elements for desktop */
.header-2 .main-menu ul li .submenu {
    display: none !important;
}

.header-2 .header-right-icon {
    display: none !important;
}

.header-2 .header-button .gt-theme-btn {
    display: none !important;
}

/* Custom Animated Stats Section */
.login_auth {
    min-height: 130vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #0A0500 !important; */
    overflow: hidden;
}

/* 
.bg_body {
    background-image: url('../img/home-2/popular-game/bgline.png') !important;
    background-repeat: repeat;
    background-size: auto;
    animation: scrollBgVertical 3s linear infinite;
    z-index: 2;
} */

@keyframes scrollBgVertical {
    from {
        background-position-y: 0;
    }

    to {
        background-position-y: 1200px;
    }
}

.gt-popular-game-section .bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.gt-popular-game-section .bg-shape img {
    position: absolute !important;
    top: 50 !important;
    left: 0 !important;
    /* width: 100% !important; */
    /* height: 100% !important;
    object-fit: fill !important; */
}

/* Stats grid layout */
.gt-popular-stats-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 4px;
    padding: 0 200px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}


.gt-stats-col {
    flex: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
}

.gt-stats-title {
    /* color: var(--Neutral-Foreground, #EFF2FA); */
    /* text-align: center; */
    font-family: Nippo;
    font-size: 16px;
    padding-bottom: 50px;
    font-style: normal;
    font-weight: 378;
    /* line-height: 100%;  */
    letter-spacing: -0.48px;
}

.gt-stats-value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    font-family: Nippo;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gt-stats-desc {
    font-size: 13px;
    color: #808080;
    line-height: 1.6;
    font-family: Nippo;
    margin: 0;
    font-family: var(--matka-font) !important;
}

.gt-stats-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-stats-divider img {
    height: 100%;
    object-fit: contain;
    width: auto;
}

@media (max-width: 991px) {
    .gt-popular-stats-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        padding: 0 15px;
    }

    .gt-stats-divider {
        display: none;
    }

    .gt-stats-col {
        width: 100%;
        padding: 0;
    }

    .gt-stats-title {
        font-size: 13px;
        padding-bottom: 10px;
    }

    .gt-stats-value {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .gt-stats-desc {
        font-size: 11px;
    }

    .gt-popular-stats-wrapper br {
        display: none;
    }

    .bg-shape {
        display: none;
    }

    #how-to-play {
        background-color: #140f0d !important;
    }

    .gt-popular-game-section {
        min-height: 100%;
    }
}

@media (min-width: 992px) {
    .gt-popular-slider .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        transform: none !important;
    }

    .gt-popular-slider .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* Steps section styling matching Figma */
.matka-step-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    /* Clip the card to match the slanted gold frame exactly, removing any black corners */
    /* clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 40px) !important; */
}

.matka-step-card .gt-thumb {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    background: transparent !important;
    background-color: transparent !important;
}

.matka-step-card .gt-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    display: block !important;
    transition: transform 0.5s ease;
    clip-path: none !important;
}

.matka-step-card:hover .gt-thumb img {
    transform: scale(1.05);
}

.matka-step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    /* background: linear-gradient(180deg, rgba(11, 12, 16, 0.1) 0%, rgba(11, 12, 16, 0.75) 100%); */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    box-sizing: border-box;
}

.matka-step-number {
    color: var(--Neutral-Foreground, #EFF2FA) !important;
    text-align: left;
    font-family: Nippo, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 378;
    line-height: 140%;
    letter-spacing: -0.48px;
    text-transform: uppercase !important;
    align-self: flex-start;
    opacity: 0.8;
    margin-left: -20px;
}

.matka-step-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.matka-step-title {
    font-family: Nippo, sans-serif;
    font-size: 26px;
    font-weight: 700;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%)) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase !important;
    max-width: 255px;
    /* Force text to wrap like mockup */
}

.matka-step-desc {
    font-family: var(--matka-font), sans-serif !important;
    font-size: 13px;
    font-weight: 400;
    color: #808080 !important;
    margin: 0;
    line-height: 1.6;
    text-transform: uppercase !important;
}


/* Ensure no default template overlay styling hides our steps content */
.matka-step-card .app-store {
    display: none !important;
}

@media (max-width: 991px) {
    .matka-step-overlay {
        padding: 0px 20px 20px;
    }

    .matka-step-title {
        font-size: 20px;
    }

    .matka-step-desc {
        font-size: 13px;
    }
}

/* Custom Section Title Styles to match design */
.gt-section-title-2 {
    text-align: center;
    align-self: stretch;
    margin-bottom: 50px !important;
}

.tx-subTitle {
    font-family: Nippo, sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--Neutral-Foreground, #EFF2FA) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em;
    opacity: 0.4 !important;
    margin-bottom: 12px;
}

.gt-section-title-2 .tx-title {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF !important;
    text-transform: capitalize !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

@media(max-width:992px) {
    .gt-section-title-2 .tx-title {
        font-size: 32px;
    }

}

@media (max-width: 767px) {
    .gt-section-title-2 .tx-title {
        font-size: 26px;
    }

    .gt-section-title-2 {
        margin-bottom: 30px !important;
        text-align: center;
    }
}

.matka-origins-title {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 15px;
    margin-bottom: 25px;
    text-transform: capitalize !important;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%)) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}


.matka-origins-desc {
    font-family: Nippo;
    font-size: 16px;
    line-height: 140%;
    color: var(--Bg-Light, #FEFEFE);
    opacity: 0.6;
    font-style: normal;
    margin-bottom: 40px;
    max-width: 700px;
    text-transform: none !important;
}

.matka-feature-item .feature-title {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: capitalize !important;
}

.matka-feature-item .star-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.matka-feature-item .star-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.matka-feature-item .feature-text {
    font-family: Nippo;
    font-size: 16px;
    line-height: 140%;
    color: var(--Bg-Light, #FEFEFE);
    opacity: 0.6;
    font-style: normal;
    margin-bottom: 40px;
    max-width: 650px;
    text-transform: none !important;
}

/* 3D Floating Pot Visual */
.matka-origins-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.matka-origins-visual .visual-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
}

.matka-origins-visual .origins-bg-stage {
    /* width: 100%;
    height: 100%; */
    object-fit: contain;
    align-self: stretch;
    z-index: 1;
    position: relative;
}

.matka-origins-visual .origins-yellow-bg {
    position: absolute;
    width: 100%;
    height: 37%;
    left: 25%;
    bottom: -39%;
    z-index: 1;
    object-fit: cover;
}

.matka-origins-visual .origins-pot-gold {
    position: absolute;
    width: 90%;
    top: 80%;
    left: 80%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

@keyframes floatpot {
    0% {
        transform: translate(-50%, -52%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -52%) translateY(-15px);
    }

    100% {
        transform: translate(-50%, -52%) translateY(0px);
    }
}

.animate-float {
    animation: floatpot 6s ease-in-out infinite;
}

@media (max-width: 991px) {
    .matka-origins-title {
        font-size: 32px;
    }


    .matka-origins-visual {
        padding: 20px 0 200px 0;
    }

    .matka-origins-visual .visual-container {
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: auto;
        /* Remove square ratio to eliminate the gap */
    }

    .matka-origins-visual .origins-bg-stage {
        width: 100%;
        display: block;
    }

    .matka-origins-visual .origins-yellow-bg {
        left: 5%;
        bottom: -75%;
        width: 95%;
        height: 80px;
    }

    .matka-origins-visual .origins-pot-gold {
        left: 55%;
        top: 85%;
        /* Center of pot is lower, making top overlap stage */
        width: 95%;
    }

    @keyframes floatpot_mobile {
        0% {
            transform: translate(-50%, -50%) translateY(0px);
        }

        50% {
            transform: translate(-50%, -50%) translateY(-10px);
        }

        100% {
            transform: translate(-50%, -50%) translateY(0px);
        }
    }

    .matka-origins-visual .origins-pot-gold.animate-float {
        animation: floatpot_mobile 6s ease-in-out infinite;
    }
}


.matka-hr {
    border: none !important;
    height: 1px !important;
    /* background-color: #FFB820 !important; */
    background: #FFB820 !important;
    margin: 10px;
    opacity: 0.2 !important;
    width: 100% !important;
    display: block !important;
}

/* Matka Rewards Section with Video Background */
.matka-rewards-section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.matka-rewards-section .bg-animated-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}


.z-index-2 {
    z-index: 2 !important;
}



.matka-stats-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}



.z-index-2 {
    z-index: 2 !important;
}

/* Reward Card Styling */
.matka-reward-card {
    background: rgba(10, 10, 10, 0.85) !important;
    border: none !important;
    border-radius: 4px;
    padding: 40px 30px;
    height: 100%;
    min-height: 380px;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.matka-reward-card:hover {
    border: none !important;
    background: rgba(255, 184, 32, 0.05) !important;
    transform: translateY(-5px);
}

.matka-reward-card .reward-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
}

.matka-reward-card .reward-icon img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.matka-reward-card .reward-title {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    margin: auto 0 0 0 !important;
    text-transform: capitalize !important;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%)) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.matka-reward-card .reward-desc {
    font-family: Nippo, sans-serif !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0;
    text-transform: none !important;
}

@media (max-width: 767px) {
    .matka-reward-card {
        padding: 20px 15px;
        gap: 12px;
        min-height: 240px;
    }

    .matka-reward-card .reward-icon {
        height: 32px;
    }

    .matka-reward-card .reward-icon img {
        height: 28px;
    }

    .matka-reward-card .reward-title {
        font-size: 16px !important;
    }

    .matka-reward-card .reward-desc {
        font-size: 12px !important;
        line-height: 1.4;
    }
}

/* Draw Intelligence Custom Headers */
.draw-intel-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    color: #FFB820 !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    opacity: 1 !important;
}

.draw-intel-header::before,
.draw-intel-header::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFB820);
}

.draw-intel-header::after {
    background: linear-gradient(90deg, #FFB820, transparent);
}

.stats-subtitle-desc {
    font-family: Nippo, sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 15px auto 0 auto;
}

/* 5-Column Responsive Grid with Line Dividers */
.digits-grid {
    display: grid;
    margin-top: 50px;
}

.network_sec {
    margin-bottom: -100px;
}

@media (min-width: 1200px) {
    .digits-grid {
        grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr !important;
        align-items: center !important;
        gap: 30px 0 !important;
    }

    .grid-line {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        pointer-events: none !important;
    }

    .grid-line img {
        height: 300px !important;
        width: auto !important;
        object-fit: contain !important;
        opacity: 0.9 !important;
    }
}

@media (max-width: 1199px) {
    .digits-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
    }

    .grid-line {
        display: none !important;
    }



}

@media(max-width:992px) {
    .network_sec {
        margin-bottom: 0px;
    }
}

@media (max-width: 767px) {
    .digits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .grid-line {
        display: none !important;
    }


}

@media (max-width: 480px) {
    .digits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-line {
        display: none !important;
    }
}

/* Digit Card Styling */
.digit-card {
    background: transparent !important;
    border: none !important;
    justify-content: space-between;
    border-radius: 8px;
    min-height: 230px;
    height: 284px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start !important;
    flex: 1 0 0;
    position: relative;
    overflow: visible;
    /* Let badge image pop out if needed, only hot/hottest need hidden overflow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center !important;
}

.digit-card:hover {
    transform: translateY(-4px);
}

.digit-card-hot-card {
    background: #140F0D !important;
    min-height: 230px;
    height: 284px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start !important;
    flex: 1 0 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left !important;
    box-shadow: inset 0 0 20px rgba(255, 184, 32, 0.05), 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Style for the hottest card (which contains the glow-text) */
/* .digit-card-hot-card:has(.glow-text) {
    border: 1px solid rgba(255, 184, 32, 0.6) !important;
    box-shadow: inset 0 0 25px rgba(255, 184, 32, 0.08), 0 4px 25px rgba(255, 184, 32, 0.2) !important;
} */

.digit-card-hot-card:hover {
    background: #1A1310 !important;
    transform: translateY(-4px);
}

.digit-card-header {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
}

.digit-rank {
    display: flex;
    padding: 5px 0;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
}

.digit-badge-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    animation: hotBadgePulse 1.5s infinite alternate ease-in-out;
}

@keyframes hotBadgePulse {
    0% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }
}

.digit-value {
    color: var(--Bg-Light, #FFF);
    text-align: center;
    font-family: Nippo;
    font-size: 100px;
    font-style: bold;
    font-weight: 900;
    line-height: 100%;
    /* 84px */
    letter-spacing: -2.52px;
}

.digit-value.gold-text {
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.digit-value.glow-text {
    filter: drop-shadow(0 0 8px rgba(255, 184, 32, 0.6));
    font-size: 72px;
}

.digit-frequency {
    display: flex;
    align-items: baseline;
    justify-content: flex-start !important;
    gap: 6px;
    font-size: 50px;
    width: 100%;
    font: bold;
}

.freq-num {
    color: var(--Bg-Light, #FEFEFE);
    font-family: Nippo;
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    /* 34px */
    letter-spacing: -1.02px;
}

.freq-label {
    color: var(--Bg-Light, #FEFEFE);
    font-family: Nippo;
    font-size: 14px;
    font-style: normal;
    font-weight: 378;
    line-height: 140%;
    /* 22.4px */
    letter-spacing: -0.48px;
    opacity: 0.5;
    display: flex;
    align-items: flex-end;
    align-self: stretch;
}

/* Hot and Hottest Special Card Styling (With Boxes) */
.digit-card.hot-card {
    flex: 1 0 0;
    background: #140F0D;
}

.digit-card.hottest-card {
    display: flex;
    height: 284px;
    padding: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    background: #140F0D;
}

.grid-horizontal-divider {
    height: 3px !important;
    background-image: url('../img/home-2/frenquently/linegold.png') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    opacity: 0.1 !important;
    margin: 20px 0 !important;
}

@media (min-width: 1200px) {
    .grid-horizontal-divider {
        grid-column: span 9 !important;
        margin: 30px 0 !important;
    }
}

@media (max-width: 1199px) {
    .grid-horizontal-divider {
        grid-column: span 3 !important;
    }

    .matka-origins-visual .origins-pot-gold {
        left: 55%;
        top: 55%;

    }

    .matka-origins-visual .origins-yellow-bg {
        bottom: -10%;
    }

}

@media (max-width: 767px) {
    .grid-horizontal-divider {
        grid-column: span 2 !important;
    }
}

@media (max-width: 480px) {
    .grid-horizontal-divider {
        grid-column: span 1 !important;
    }
}

/* Platform Integrity Section Styling */
.matka-integrity-section {
    position: relative;
    /* background-image: url('../img/home-2/popular-game/bg-shape.png') !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important; */
    padding: 0px 0 !important;
    z-index: 2 !important;

}

.integrity_shape {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill;
    top: 0px;
    left: 0px;
    z-index: -1;
    object-position: center;
}

.matka-integrity-section .container {
    padding: 200px 0px;
}

.integrity-card {
    text-align: center !important;
    /* padding: 20px 10px !important; */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

.integrity-icon-wrapper {
    width: 90px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    transition: transform 0.3s ease !important;
}

.integrity-card:hover .integrity-icon-wrapper {
    transform: scale(1.1) translateY(-5px) !important;
}

.integrity-icon-img {
    height: 80px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(138, 103, 28, 0.25)) !important;
}

.integrity-title {
    font-family: Nippo;
    font-size: 30px !important;
    font-weight: 700 !important;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px !important;
    text-transform: capitalize !important;
    transition: color 0.3s ease !important;
}

.integrity-card:hover .integrity-title {
    color: #FEFEB5 !important;
}

.integrity-desc {
    font-family: var(--matka-font), sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    max-width: 280px !important;
}

@media (max-width: 1199px) {
    .matka-integrity-section {
        background-size: cover !important;
        padding: 80px 0 !important;
    }
}

/* FAQ Section Styling */
.matka-faq-section {
    position: relative;
    z-index: 2;
    padding: 0px 0 120px !important;
}

.faq-wrapper {
    max-width: 100% !important;
    margin: 50px auto 0 auto !important;
    padding: 0 15px !important;
}

.faq-item {
    position: relative !important;
    padding: 24px 0 !important;

}

.faq-item .faq-question.active {
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    background-clip: text;
    -webkit-background-clip: text;
    gap: 10px;
    -webkit-text-fill-color: transparent;

}

/* Use linegold.png as bottom divider line */
.faq-item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-image: url('../img/home-2/frenquently/linegold.png') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    opacity: 0.1 !important;
    transition: opacity 0.3s ease !important;
}

.faq-item:has(.faq-question.active)::after {
    opacity: 0.85 !important;
}

.faq-question {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
}

.faq-question h4 {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    text-transform: none !important;
    transition: color 0.3s ease !important;
}

.faq-question.active h4 {
    color: #FFB820 !important;
}

.faq-question.active {
    font-family: Nippo;
    font-size: 18px;
    font-style: normal;
    text-transform: capitalize;
    font-weight: 500;
    line-height: 90%;
    /* 16.2px */
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-icon {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    background: linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
    opacity: 0.5 !important;
    transition: opacity 0.3s ease !important;
}

.faq-question.active .faq-icon {
    opacity: 1 !important;
}

.faq-content {
    display: none;
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

.faq-content p {
    font-family: Nippo;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #FFF;
    margin: 0 !important;
    text-transform: none !important;
}

@media (max-width: 767px) {
    .matka-faq-section {
        padding: 80px 0 !important;
    }

    .faq-question h4 {
        font-size: 16px !important;
        max-width: 90% !important;
    }

    .faq-icon {
        font-size: 20px !important;
    }
}

/* Social Community Section Styling */
.matka-social-section {
    position: relative;
    z-index: 2;
    padding: 65px 0px !important;
    text-align: center !important;
    margin-bottom: -100px;
}

.social-subtitle {
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #00E8C6 !important;
    /* Glowing Teal */
    text-shadow: 0 0 10px rgba(0, 232, 198, 0.4) !important;
    margin-bottom: 15px !important;
    letter-spacing: 0.1em !important;
}

.social-desc {
    font-family: var(--matka-font), sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 650px !important;
    margin: 20px auto 40px auto !important;
    text-transform: none !important;
}

.social-icons-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.social-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%) !important;
    cursor: pointer !important;
}

.social-box img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
}


@media (max-width: 767px) {
    .matka-social-section {
        padding: 60px 0 !important;
    }

    .social-box {
        width: 50px !important;
        height: 50px !important;
    }

    .social-box img {
        height: 30px !important;
    }
}

/* Footer Background Image override */
.gt-footer-section {
    background-image: url('../img/home-2/bgvector.png') !important;
    background-repeat: no-repeat !important;
    /* width: 1920px; */
    /* height: 800px; */
    background-size: cover !important;
    background-position: center top !important;
    padding: 150px 5px 0px;
    /* background-color: #0d0905 !important; */
    position: relative !important;
}

.gt-footer-section::before,
.gt-footer-section::after {
    display: none !important;
}

/* Footer Bottom Gold Divider Line */
.footer-bottom {
    border-top: none !important;
    position: relative !important;
    padding-top: 30px !important;
    margin-top: 50px !important;
}

.footer-bottom::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    height: 3px !important;
    /* Slightly thicker gold line */
    background-image: url('../img/home-2/frenquently/linegold.png') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    opacity: 0.85 !important;
}

.hero_title .split-line,
.hero_subtitle .split-line {
    text-align: start !important;
    display: inline-block;
}

@media(max-width:1024px) {
    .matka-integrity-section {
        background-image: none;
        background-color: #140f0d;
    }

    .matka-reward-card {
        min-height: 100%;
    }

    .header-logo img {
        width: 130px !important;
    }

    .header-2 {
        padding: 20px 0px;
    }

    .matka-rewards-section {
        padding: 80px 0px;
    }

    .matka-feature-item .feature-text {
        margin-bottom: 20px;
    }
}

@media(max-width:992px) {


    .gt-footer-section {
        background-color: #140f0d;
        padding-top: 50px;
    }

    .header-logo img {
        width: 100px !important;
    }

    .header-2 {
        padding: 20px 0px;
    }

    .digit-value {
        font-size: 60px;
    }

    .integrity-title {
        font-size: 20px !important;
    }
}

.matka-rewards-section::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.459);
    z-index: 1;
}

/* --- Desktop & Mobile Header Improvements --- */

/* Active link highlight color */
.header-2 .main-menu ul li.active a {
    color: var(--matka-gold) !important;
}

/* Sticky Header Override to match theme background color */
#header-sticky.sticky {
    background-color: #0A0500 !important;
    border-bottom: 1px solid rgba(255, 184, 32, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

/* Ensure mobile menu can drop down without being clipped */
#header-sticky,
.mega-menu-wrapper,
.header-main,
.mean__menu-wrapper {
    overflow: visible !important;
}

/* Mobile Menu Style Overrides for Dark/Gold Theme */
.mean-container .mean-bar {
    background: transparent !important;
    border: none !important;
    position: static !important;
    /* Prevent acts as a positioned container so dropdown positions relative to header */
}

/* Reveal Hamburger Toggle Button */
.mean-container a.meanmenu-reveal {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 184, 32, 0.2) !important;
    border-radius: 4px !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 99999 !important;
}

/* Gold Hamburger Icon Bars */
.mean-container a.meanmenu-reveal span {
    background: #FFB820 !important;
    height: 2px !important;
    width: 22px !important;
    margin-top: 4px !important;
}

.mean-container a.meanmenu-reveal span:first-child {
    margin-top: 0 !important;
}

/* Gold Hamburger Icon Close (X) State */
.mean-container a.meanmenu-reveal.meanclose {
    text-indent: 0 !important;
    font-size: 22px !important;
    color: #FFB820 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

/* Mobile Dropdown Panel */
.mean-container .mean-nav {
    background: #0A0500 !important;
    border-bottom: 2px solid var(--matka-gold) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    padding: 0px 10px 0px !important;
    margin-top: 0 !important;
    /* Fix default top spacing gap */
}

/* Mobile Menu Nav Lists and Items to prevent floating/wrapping bugs */
.mean-container .mean-nav ul {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mean-container .mean-nav ul li {
    float: none !important;
    width: 100% !important;
}

.mean-container .mean-nav ul li a {
    display: block !important;
    float: none !important;
    width: 100% !important;
}

/* Mobile Menu Nav Links */
.mean-container .mean-nav ul li a {
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-family: var(--matka-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 0 !important;
}

.mean-container .mean-nav ul li a:hover {
    color: var(--matka-gold) !important;
}

/* Submenu dropdown expand toggle button */
.mean-container .mean-nav ul li a.mean-expand {
    color: var(--matka-gold) !important;
    border: none !important;
}

.list_legal {
    list-style-position: inside;
    list-style-type: disc;
    padding-bottom: 20px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 400;
}

.policy_sec p {
    color: rgba(255, 255, 255, 0.8);
    /* text-transform: capitalize; */
}

.policy_txt {
    text-transform: uppercase !important;
    background: var(--Golden, linear-gradient(92deg, #FFB820 0.06%, #FEFEB5 48.55%, #FFFD96 99.94%)) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent;
}

.legal_hero {

    position: relative;
}

.legal_hero::before {
    position: absolute;
    content: '';
    bottom: -30%;
    left: 0px;
    text-align: center;
    border-bottom: 2px solid transparent;
    background: linear-gradient(92deg, transparent, transparent, #FFB820, #FEFEB5, #FFFD96, transparent, transparent) !important;
    z-index: 3;
    width: 100%;
    height: 3px;
    border-radius: 0 0 4px 4px;
}

.subtitle.tx-subTitle {
    margin-bottom: 30px;
}

@media (min-width: 1200px) {

    .mobile-menu,
    .mean-container {
        display: none !important;
    }
}

@media(max-width:1550px) {
    .hero_padd {
        padding-bottom: 60px;
    }

    .gt-popular-stats-wrapper {
        padding-inline: 150px;
    }
}

@media(max-width:1380px) {
    .gt-popular-stats-wrapper {
        padding-inline: 100px;
    }

    #how-to-play {
        min-height: 95vh !important;
    }

    .legal_hero::before {
        bottom: 0%;
    }

}

/* --- Mobile Header & Sticky Position Overrides --- */
@media (max-width: 1199px) {

    /* Keep header sticky to the top from the beginning on small screens */
    #header-sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #0A0500 !important;
        border-bottom: 1px solid rgba(255, 184, 32, 0.15) !important;
        z-index: 999999 !important;
        padding: 20px 0 !important;
        /* Sleek padding */
    }

    /* Adjust page body padding to prevent header overlap */
    body {
        padding-top: 80px !important;
        /* Matches mobile header height */
    }

    .header-main {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        position: static !important;
        /* Make static to align absolute positioned dropdown properly to header */
    }

    .header-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-grow: 1 !important;
        margin-top: 0 !important;
        position: static !important;
        /* Avoid creating positioning contexts inside flex layout */
        /* Reset any negative margins */
    }

    .mega-menu-wrapper {
        position: static !important;
        /* Prevent acting as relative context */
    }

    .mean__menu-wrapper {
        display: block !important;
        position: static !important;
    }

    .mobile-menu {
        display: block !important;
        position: static !important;
    }

    .mean-container {
        position: static !important;
    }

    /* Mobile logo sizing */
    .header-logo img {
        width: 120px !important;
        height: auto !important;
    }

    .gt-popular-stats-wrapper {
        padding-inline: 80px;
    }
}

@media(max-width:1192px) {
    .social-box img {
        height: 60px !important;
    }
}

@media(max-width:1199px) {
    .integrity_shape {
        object-fit: cover;
    }

    .matka-integrity-section {
        background-color: #140f0d;
        padding: 80px 0px;
    }

    .matka-integrity-section .container {
        padding: 0px;
    }

    .matka-faq-section {
        padding: 80px 80px !important;
    }

    .gt-popular-stats-wrapper {
        padding-inline: 60px;
    }
}

@media(max-width:1024px) {
    .matka-integrity-section {
        background-image: none;
        background-color: #140f0d;
    }

    .matka-integrity-section .container {
        padding: 0px 0px;
    }



}


@media(max-width:992px) {

    .gt-footer-section {
        background-color: #140f0d;
        padding-top: 0px;
    }

    .matka-social-section {
        margin-bottom: 0px;
    }

    #how-to-play {
        min-height: 100% !important;
    }

    .gt-popular-stats-wrapper {
        padding-inline: 15px !important;
    }

    .digit-value.gold-text {
        font-size: 60px !important;
    }

    .matka-origins-visual .origins-yellow-bg {
        bottom: -30%;
    }

    .matka-origins-visual {
        padding: 20px 0px 150px 0;
    }
}

@media (max-width: 768px) {

    .matka-faq-section {
        padding: 50px 0 0px !important;
    }

    .social-box img {
        height: 40px !important;
    }

    .matka-rewards-section {
        position: relative;
        padding: 60px 0;
        z-index: 1;
    }

    /* Lucky Digits Mobile Sizing */
    .digit-value {
        font-size: 60px !important;
    }

    .digit-value.gold-text {
        font-size: 70px !important;
        /* Slightly larger for hot/hottest */
    }

    .freq-num {
        font-size: 20px !important;
    }

    .freq-label {
        font-size: 10px !important;
    }

    .digit-rank {
        font-size: 12px !important;
    }

    .digit-badge-img {
        height: 30px !important;
    }

    .digit-frequency {
        gap: 4px !important;
    }

    .digit-card,
    .digit-card-hot-card {
        height: auto !important;
        min-height: auto !important;
        padding: 15px 10px !important;
        gap: 15px !important;
    }

    .grid-horizontal-divider {
        display: none !important;
    }

    /* Fix for missing subtitle text on mobile */
    .tx-subTitle * {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Platform Integrity Mobile Slider */
    .matka-integrity-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
        /* overflow-x: auto !important;
        scroll-snap-type: x mandatory; */
        padding-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        scrollbar-width: none;

    }

    .matka-integrity-section .row::-webkit-scrollbar {
        display: none;
    }

    /* .matka-integrity-section .row>div {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: center;
        margin-top: 0 !important;
    } */
}

@media(max-width:560px) {
    .gt-widget-head h5 {
        font-size: 18px;
    }

    .footer-bottom {
        padding-bottom: 30px;

    }

    .gt-hero-2 {
        padding-bottom: 0px;
    }

    .matka-origins-visual {
        padding: 20px 0 60px 0;
    }
}

@media(max-width:320px) {
    .gt-footer-widget-wrapper .col-6 {
        width: 100% !important;
    }
}