html,
body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: center;
    margin: 0;
}

.gr-marquee {
    border: 1px solid #ff0;
    background-color: #a80000;
    padding: 3px;
    color: #fff;
}

.gr-marquee h1 {
    font-size: 16px;
}

.gr-top-nav {
    display: flex;
    background-color: #000;
    padding: 1px;
    justify-content: space-evenly;
    align-items: center;
}

.gr-top-nav a {
    border-radius: 10px;
    background-color: #25579d;
    color: #fff;
    display: flex;
    justify-content: center;
    border: 4px solid #000;
    padding: 2px 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.gr-top-nav a:hover {
    color: #fff;
}

.gr-top-nav a p {
    margin: 0;
}

.gr-logo {
    border: 4px dotted blue;
    display: flex;
    justify-content: center;
    background-color: #000;
    padding-bottom: 5px;
    padding-left: 15px;
    margin-bottom: 2px;
}

.gr-sixth a,
p {
    text-align: center;
}

.gr-eight {
    background: linear-gradient(to right, #22c1c3, #093028);
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 2px;
}

.gr-eight div .one {
    font-size: 28px;
    -webkit-text-stroke: 0.5px #fff;
    text-shadow: 2px 2px 2px #000;
    color: red;
    margin: auto;
}

.gr-eight div .two {
    color: #fff;
    margin: auto;
}

.gr-eight div .three {
    color: #e6df3c;
    font-size: 28px;
    margin: 5px;
}

.satta-king-box {
    border: 3px solid #000;
    background: #c4dfed;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    margin-bottom: 5px;
}

/* ===================================
   MOBILE RESPONSIVE - GLOBAL STYLES
   =================================== */

/* Base responsive settings */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   TABLET STYLES (768px and below)
   =================================== */
@media (max-width: 768px) {

    /* Navigation */
    .gr-top-nav {
        flex-wrap: wrap;
        padding: 5px;
        gap: 5px;
    }

    .gr-top-nav a {
        padding: 5px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 80px;
    }

    /* Logo */
    .gr-logo {
        padding: 10px;
    }

    .gr-logo img {
        max-width: 200px;
        height: auto;
    }

    /* Marquee */
    .gr-marquee {
        padding: 5px;
    }

    .gr-marquee span,
    .gr-marquee h1 {
        font-size: 14px;
    }

    /* Result boxes */
    .gr-eight {
        padding: 10px 5px;
    }

    .gr-eight div .one {
        font-size: 25px;
    }

    .gr-eight div .two {
        font-size: 16px;
    }

    .gr-eight div .three {
        font-size: 24px;
    }

    /* General text */
    h1 {
        font-size: 22px !important;
        line-height: 1.3;
        padding: 0 10px;
    }

    h2 {
        font-size: 18px !important;
        padding: 0 10px;
    }

    h3 {
        font-size: 16px !important;
    }

    p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 5px;
    }

    /* Satta king boxes */
    .satta-king-box {
        padding: 10px;
        margin: 5px;
    }
}

/* ===================================
   MOBILE STYLES (480px and below)
   =================================== */
@media (max-width: 480px) {

    /* Navigation */
    .gr-top-nav {
        padding: 3px;
        gap: 3px;
    }

    .gr-top-nav a {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 5px;
        border-width: 2px;
    }

    .gr-top-nav a p {
        font-size: 11px;
    }

    /* Logo */
    .gr-logo {
        padding: 8px 5px;
        border-width: 2px;
    }

    .gr-logo img {
        max-width: 180px;
    }

    /* Marquee */
    .gr-marquee {
        padding: 3px;
    }

    .gr-marquee span,
    .gr-marquee h1 {
        font-size: 12px;
    }

    /* Result boxes */
    .gr-eight div .one {
        font-size: 25px;
    }

    .gr-eight div .two {
        font-size: 16px;
    }

    .gr-eight div .three {
        font-size: 24px;
    }

    /* Headings */
    h1 {
        font-size: 18px !important;
        word-wrap: break-word;
    }

    h2 {
        font-size: 16px !important;
    }

    h3 {
        font-size: 14px !important;
    }

    /* Tables */
    table {
        font-size: 11px;
    }

    table td,
    table th {
        padding: 5px 3px;
    }

    /* Buttons */
    .satta-king-box-button,
    .contactus {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* ===================================
   SMALL MOBILE (360px and below)
   =================================== */
@media (max-width: 360px) {
    .gr-top-nav a {
        padding: 3px 5px;
        font-size: 10px;
    }

    .gr-logo img {
        max-width: 150px;
    }

    h1 {
        font-size: 16px !important;
    }

    h2 {
        font-size: 14px !important;
    }

    .gr-eight div .one {
        font-size: 16px;
    }

    .gr-eight div .three {
        font-size: 18px;
    }
}

/* ===================================
   LANDSCAPE MOBILE
   =================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .gr-top-nav {
        flex-wrap: nowrap;
    }

    .gr-top-nav a {
        flex: 1;
    }
}

/* ===================================
   FOOTER RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    footer nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    footer nav ul li {
        margin: 0;
    }

    /* Fixed buttons */
    .online-satta-play-btn {
        padding: 10px 14px;
        font-size: 12px;
        bottom: 10px;
        left: 10px;
    }

    .whatsapp-icon,
    .chatbox-open {
        width: 55px !important;
        height: 55px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .gr-top-nav,
    .gr-marquee,
    .online-satta-play-btn,
    .chatbox-widget,
    .whatsapp-icon {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }
}

/* ===================================
   FOOTER COMPONENT STYLES
   =================================== */
.gr-twenty-sixth {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 10px 10px;
    margin-top: 20px;
    color: #fff;
    clear: both;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    color: #888;
    font-size: 11px;
    margin: 0;
}

/* Mobile Footer Compact */
@media (max-width: 480px) {
    .gr-twenty-sixth {
        padding: 10px 5px 8px;
    }

    .footer-nav {
        gap: 5px;
    }

    .footer-nav a {
        font-size: 10px;
        padding: 5px 8px;
    }

    .footer-copyright {
        font-size: 10px;
    }
}

/* ===================================
   PLAY ONLINE BUTTON COMPONENT
   =================================== */
.online-satta-play-btn {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    animation: pulse-btn 2s infinite;
}

.online-satta-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.online-satta-play-btn span {
    white-space: nowrap;
}

@keyframes pulse-btn {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.7);
    }
}

@media (max-width: 480px) {
    .online-satta-play-btn {
        padding: 8px 12px;
        font-size: 11px;
        bottom: 10px;
        left: 10px;
    }
}

/* ===================================
   HEADER COMPONENT STYLES
   =================================== */
.skip-link:focus {
    position: fixed !important;
    left: 10px !important;
    top: 10px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: #25579d;
    color: #fff;
    padding: 10px 20px;
    z-index: 99999;
    border-radius: 5px;
}

.whatsapp-icon {
    position: fixed;
    bottom: 7px;
    right: 5px;
    width: 70px !important;
    height: 70px;
}

/* Marquee Animation - Right to Left */
.gr-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.gr-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover for accessibility */
.gr-marquee:hover span {
    animation-play-state: paused;
}