/* ===================================================
   Reset & Core Setup
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0b1118;
    color: #ffffff;
    padding-bottom: 75px;
    user-select: none;
    line-height: 1.3;
}

/* Global Link Resets */
a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===================================================
   Header Navbar with Logo Icon + Image + Dual Text
   =================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 8px 12px;
    border-bottom: 2px solid #ffcc00;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
    color: #ffcc00;
    filter: drop-shadow(0 0 4px rgba(255, 204, 0, 0.6));
    display: inline-block;
}

.brand-img-logo {
    height: 34px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-top {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-bottom {
    font-size: 0.9rem;
    font-weight: 900;
    color: #ffcc00;
    letter-spacing: 0.5px;
}

/* Header Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 6px;
}

.btn {
    padding: 7px 10px;
    font-weight: 900;
    font-size: 0.72rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.btn:active {
    transform: scale(0.96);
}

.btn-signup {
    background-color: #ffcc00;
    color: #000000;
}

.btn-login {
    background-color: #e60000;
    color: #ffffff;
}

/* ===================================================
   News Marquee Bar
   =================================================== */
.news-bar-link {
    width: 100%;
}

.news-bar {
    display: flex;
    background-color: #0b1526;
    padding: 6px 10px;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #1a2638;
}

.news-tag {
    background-color: #0077cc;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 10px;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    z-index: 2;
}

.news-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.news-marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollNews 16s linear infinite;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

@keyframes scrollNews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===================================================
   Continuous Left-Sliding Clean Hero Banner
   =================================================== */
.banner-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #ffcc00;
    background-color: #0a0026;
    height: 145px;
}

.banner-track {
    display: flex !important;
    flex-direction: row !important;
    width: 300% !important;
    height: 100%;
    animation: slideBannerSmooth 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes slideBannerSmooth {
    0%, 28% { transform: translateX(0%); }
    33.33%, 61% { transform: translateX(-33.333%); }
    66.66%, 95% { transform: translateX(-66.666%); }
    100% { transform: translateX(0%); }
}

.banner-slide {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    height: 100% !important;
    box-sizing: border-box;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block;
}

/* ===================================================
   Grid Container & Cards with Yellow Bottom Borders
   =================================================== */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background-color: #ffffff;
}

.card-link {
    width: 100%;
}

.card-link.full-width {
    grid-column: span 2;
}

.card {
    background-color: #171d29;
    border-radius: 4px;
    height: 130px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-bottom: 3px solid #ffcc00 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Featured Large Cards */
.sports-card {
    height: 170px !important;
}

.live-casino-card, 
.horse-racing-card {
    height: 140px !important;
}

/* Card Title */
.card-title {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000;
    z-index: 2;
}

/* Tags */
.card-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: #e60000;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 2px;
    z-index: 2;
}

.live-badge-tag {
    background-color: rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Yellow Play Now Button */
.play-btn {
    background-color: #ffcc00;
    color: #000000;
    padding: 5px 12px;
    font-weight: 900;
    font-size: 0.7rem;
    border-top-left-radius: 6px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

/* Live Score Overlay Box */
.live-score-overlay {
    position: absolute;
    right: 8px;
    top: 8px;
    background: rgba(10, 14, 22, 0.9);
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-header {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.red-dot {
    color: #ff3333;
    font-size: 0.7rem;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.score-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #d1d5db;
    margin-top: 1px;
}

.badge {
    background: #ffffff;
    color: #000000;
    padding: 0 4px;
    border-radius: 2px;
    font-weight: 900;
    font-size: 0.62rem;
}

.close-icon {
    position: absolute;
    bottom: 8px;
    right: 82px;
    color: #94a3b8;
    font-size: 0.9rem;
    z-index: 2;
}

/* ===================================================
   SEO Ranking Content Section & Keyword Cloud
   =================================================== */
.seo-content-section {
    background-color: #0d1522;
    padding: 24px 14px;
    border-top: 2px solid #ffcc00;
    border-bottom: 1px solid #1f2b3e;
    color: #cbd5e1;
}

.seo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-title {
    font-size: 1.15rem;
    color: #ffcc00;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.3;
}

.seo-subtitle {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 800;
    margin: 16px 0 6px;
}

.seo-desc {
    font-size: 0.76rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #94a3b8;
}

.seo-desc strong {
    color: #ffffff;
}

.seo-features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0;
}

.seo-feature-box {
    background-color: #121c2c;
    border: 1px solid #1e2d42;
    border-radius: 6px;
    padding: 10px;
}

.seo-feature-box h3 {
    font-size: 0.85rem;
    color: #ffcc00;
    margin-bottom: 4px;
    font-weight: 800;
}

.seo-feature-box p {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.seo-keywords-wrapper {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #1a273b;
}

.seo-keywords-wrapper h3 {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.keyword-tags span {
    background-color: #162234;
    color: #94a3b8;
    border: 1px solid #23344d;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 600;
}

/* ===================================================
   Footer Area Section
   =================================================== */
.site-footer {
    background-color: #192738;
    color: #ffffff;
    padding: 20px 14px 28px;
    border-top: 1px solid #26364d;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.legal-badge {
    border: 2px solid #82bc00;
    color: #82bc00;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    line-height: 1;
}

.legal-badge span { font-size: 0.75rem; }
.legal-badge small { font-size: 0.5rem; }

.support-btn {
    background-color: #0077b6;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.join-title {
    text-align: center;
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    margin-bottom: 22px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.feature-icon {
    font-size: 1.7rem;
    color: #ffcc00;
}

.feature-item p {
    font-size: 0.65rem;
    color: #9cb1c9;
    line-height: 1.2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    border-top: 1px solid #25394f;
    padding-top: 14px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.72rem;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    transition: transform 0.15s ease;
}

.social-circle:active {
    transform: scale(0.92);
}

.social-circle.telegram { background-color: #24a1de; }
.social-circle.whatsapp { background-color: #25d366; }
.social-circle.facebook { background-color: #1877f2; }
.social-circle.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-top: 8px;
}

.payment-card {
    background-color: #0b1526;
    border-radius: 4px;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #22344a;
    font-size: 0.7rem;
    font-weight: 800;
}

.payment-card.yesbank .yes-text { color: #e60000; font-weight: 900; }
.payment-card.yesbank .bank-text { color: #004b93; font-weight: 900; }
.payment-card.visa { font-size: 1.8rem; color: #ffffff; }
.payment-card.upi .upi-text { color: #00aa6c; font-size: 0.85rem; font-weight: 900; }
.payment-card.upi small { font-size: 0.35rem; color: #94a3b8; text-align: center; }
.payment-card.skrill .skrill-text { color: #811e51; font-size: 1rem; font-weight: 900; }

/* ===================================================
   Floating Telegram Chat & Bottom Sticky Navigation
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 70px;
    right: 12px;
    background-color: #24a1de;
    color: #ffffff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:active {
    transform: scale(0.92);
}

.chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: #e60000;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0d1117;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    border-top: 1px solid #222938;
    z-index: 1000;
}

.nav-item {
    color: #8fa0b5;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 20%;
}

.nav-item i { font-size: 1.1rem; }
.nav-item.active {
    color: #ffcc00;
    background: radial-gradient(circle, rgba(255,204,0,0.2) 0%, transparent 70%);
}

/* ===================================================
   Responsive Tablet & Desktop Media Queries
   =================================================== */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1100px;
        margin: 0 auto;
    }

    .card-link.full-width {
        grid-column: span 4;
    }

    .banner-slider-container {
        height: 220px;
    }

    .seo-features-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid, .footer-links, .payment-methods-grid {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}