/**
 * Satta King Report v2 — Theme CSS
 * Google-inspired dark theme with vibrant accents
 */

/* ===== CSS Variables ===== */
:root {
    --primary-red: #ea4335;
    --primary-blue: #4285f4;
    --primary-yellow: #fbbc05;
    --primary-green: #34a853;
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --bg-section: #0d0d0d;
    --bg-elevated: #111111;
    --bg-input: #1a1a1a;
    --text-white: #eeeeee;
    --text-yellow: #fbbc05;
    --text-muted: #999999;
    --text-dim: #666666;
    --border-color: #222222;
    --border-light: #333333;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: Arial, Tahoma, sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

a {
    color: var(--text-yellow);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #fff;
}

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

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.full-width {
    width: 100%;
}

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

.text-yellow {
    color: var(--primary-yellow);
}

.text-red {
    color: var(--primary-red);
}

.text-green {
    color: var(--primary-green);
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: 10px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-bottom: 2px solid #fff;
}

.logo img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Navigation ===== */
.site-nav {
    background-color: var(--primary-blue);
    width: 100%;
    border-bottom: 2px solid #fff;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 12px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links li {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links li:last-child {
    border-right: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    display: block;
    width: 100%;
    padding: 10px 0;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    outline: 1px solid #fff;
    color: #fff;
    text-decoration: none;
}

/* Nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 8px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Marquee ===== */
.marquee-container {
    background: linear-gradient(to right, #001a00, #003300);
    color: var(--primary-yellow);
    padding: 8px 0;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-yellow);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding-right: 50px;
}

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

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

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs a {
    color: var(--primary-blue);
    text-decoration: none;
}

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

.breadcrumb-sep {
    margin: 0 6px;
    color: #666;
}

/* ===== WhatsApp Banner ===== */
.wa-banner {
    background-color: #25d366;
    color: black;
    font-weight: bold;
    padding: 15px;
    margin: 10px 0;
    border: 3px solid #fff;
    font-size: 18px;
    border-radius: 4px;
}

/* ===== Live Results Grid ===== */
.live-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 10px 0;
}

/* ===== Result Card ===== */
.result-card {
    border: 1px solid var(--primary-red);
    background-color: var(--bg-card);
    padding: 8px;
    border-radius: 2px;
}

.game-title {
    background-color: var(--primary-red);
    color: white;
    padding: 3px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.result-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-yellow);
    padding: 5px 0;
    text-align: center;
}

/* ===== Superfast Results Grid ===== */
.superfast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.sf-box {
    border: 1px solid var(--border-light);
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px var(--shadow-dark);
    border-radius: 2px;
}

.sf-header {
    background: linear-gradient(to right, #cc0000, #880000);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid #444;
}

.sf-body {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.sf-result-group {
    display: flex;
    flex-direction: column;
}

.sf-val {
    font-weight: 900;
    font-size: 18px;
    font-family: 'Arial Black', sans-serif;
}

.sf-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Google Color Variants for sf-box */
.sf-blue .sf-header {
    background: linear-gradient(to right, #4285F4, #1a73e8);
}

.sf-red .sf-header {
    background: linear-gradient(to right, #EA4335, #c5221f);
}

.sf-yellow .sf-header {
    background: linear-gradient(to right, #FBBC05, #f9ab00);
    color: black;
}

.sf-green .sf-header {
    background: linear-gradient(to right, #34A853, #1e8e3e);
}

.sf-blue {
    border-color: rgba(66, 133, 244, 0.5) !important;
}

.sf-red {
    border-color: rgba(234, 67, 53, 0.5) !important;
}

.sf-yellow {
    border-color: rgba(251, 188, 5, 0.5) !important;
}

.sf-green {
    border-color: rgba(52, 168, 83, 0.5) !important;
}

.sf-time {
    float: right;
    font-size: 11px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0;
}

.sf-yellow .sf-time {
    color: rgba(0, 0, 0, 0.6);
}

/* Single result layout (from latest.txt) */
.sf-body-single {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.sf-val-big {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
}

.sf-footer {
    text-align: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid #333;
}

.sf-chart-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 2px 12px;
    font-weight: bold;
    font-size: 11px;
    border: 1px solid #fff;
    text-decoration: none;
}

.sf-chart-btn:hover {
    background-color: #b30000;
    color: #fff;
    text-decoration: none;
}

/* ===== Buttons ===== */
.live-btn {
    background-color: var(--primary-red);
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    border: 2px solid #fff;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
}

.live-btn:hover {
    background-color: #b30000;
    color: #fff;
    text-decoration: none;
}

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--primary-blue);
    background: var(--primary-blue);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.refresh-btn:hover {
    background: #1a73e8;
}

/* ===== Tables ===== */
.main-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.main-table th {
    background-color: var(--primary-red);
    color: white;
    border: 1px solid #444;
    padding: 6px;
    font-size: 14px;
}

.main-table td {
    border: 1px solid var(--border-color);
    padding: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

.main-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.game-name-cell {
    color: var(--primary-yellow);
    text-align: left !important;
}

/* ===== Chart Grid ===== */
.chart-grid {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    color: #000;
    margin-top: 10px;
}

.chart-grid th,
.chart-grid td {
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

.chart-grid th {
    background-color: var(--primary-red);
    color: #fff;
}

.date-col {
    background-color: #eee;
}

/* ===== Scraped Chart Table (sattakingtable-cloud) ===== */
.sattakingtable-cloud {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
    background: #0b0f17;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    table-layout: auto;
    display: table;
    max-width: 100%;
    margin-bottom: 16px;
}

.sattakingtable-cloud thead {
    background: linear-gradient(to right, #1a237e, #0d47a1);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sattakingtable-cloud thead th {
    padding: 10px 6px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 2px solid var(--primary-blue);
    white-space: nowrap;
}

.sattakingtable-cloud tbody td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 14px;
    transition: background .15s;
}

.sattakingtable-cloud tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.sattakingtable-cloud tbody tr:hover {
    background: rgba(66, 133, 244, 0.1);
}

.sattakingtable-cloud-fon,
.sattakingtable-cloud tbody td:first-child {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    min-width: 40px;
}

/* Plain tables from cron-fetched data (no class on <table>) */
.results_padd>table,
.chart-data-section table,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
    background: #0b0f17;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    table-layout: auto;
    display: table;
    max-width: 100%;
    margin-bottom: 16px;
}

.results_padd>table thead,
.chart-data-section table thead,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) thead {
    background: linear-gradient(to right, #1a237e, #0d47a1);
    color: #fff;
}

.results_padd>table thead th,
.chart-data-section table thead th,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) thead th {
    padding: 10px 6px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 2px solid var(--primary-blue);
    white-space: nowrap;
}

.results_padd>table tbody td,
.chart-data-section table tbody td,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) tbody td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 14px;
}

.results_padd>table tbody tr:nth-child(even),
.chart-data-section table tbody tr:nth-child(even),
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.results_padd>table tbody tr:hover,
.chart-data-section table tbody tr:hover,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) tbody tr:hover {
    background: rgba(66, 133, 244, 0.1);
}

.results_padd>table tbody td:first-child,
.chart-data-section table tbody td:first-child,
.satta-container-fluid table:not(.sattakingtable-cloud):not(.main-table):not(.table-result-cont) tbody td:first-child {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Result Table (v1 style, dark-themed) ===== */
.table-result {
    margin: 24px 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.35;
}

.width_table {
    overflow: visible;
    margin: 0 auto;
}

.table-result-cont {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
    background: #0b0f17;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    table-layout: auto;
    display: table;
    max-width: 100%;
    margin-bottom: 16px;
}

.table-result-cont caption {
    caption-side: top;
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-white);
}

.table-result-cont thead {
    background: #0c1322;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-result-cont thead th {
    padding: 12px 10px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    border: 1px solid #0c1322;
    white-space: nowrap;
}

.table-result-cont tbody th,
.table-result-cont tbody td {
    padding: 10px 8px;
    border: 1px solid #1f2937;
    vertical-align: middle;
    color: var(--text-white);
}

.table-result-cont tbody tr:nth-child(even) {
    background: #0e1420;
}

.table-result-cont tbody tr:hover>td:not(.red-bg),
.table-result-cont tbody tr:hover>th[scope="row"]:not(.red-bg) {
    background: #1a2744;
    color: #fff;
}

.table-result-cont td.red-bg,
.table-result-cont th.red-bg {
    background: #e11d48;
    color: #fff;
    font-weight: 700;
}

.table-result-cont td {
    font-variant-numeric: tabular-nums;
}

/* ===== SEO Content Section ===== */
.seo-section {
    background-color: var(--bg-section);
    padding: 20px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    color: #ccc;
    text-align: justify;
    border-radius: 4px;
}

.seo-section h2 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* ===== Article Section ===== */
.article-section {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-light);
    padding: 25px;
    margin-top: 30px;
    line-height: 1.8;
    color: #ccc;
    text-align: justify;
    border-radius: 4px;
}

.article-section h2 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
}

.article-section h3 {
    color: var(--primary-yellow);
    margin: 20px 0 10px;
    font-size: 1.2em;
}

.article-section p {
    margin-bottom: 15px;
}

/* ===== Satta King Info Section ===== */
.satta-king-info {
    background-color: var(--bg-elevated);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--border-light);
}

.satta-king-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.satta-king-info-heading {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-align: center;
}

.satta-king-info-subheading {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin: 20px 0 10px;
}

.satta-king-info-text {
    font-size: 1em;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 15px;
}

.satta-king-info-list {
    list-style: none;
    padding: 0;
}

.satta-king-info-list li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--bg-input);
    border-radius: 5px;
    border-left: 3px solid var(--primary-red);
}

.satta-king-info-list li strong {
    color: var(--primary-yellow);
}

/* ===== Live Importance / Coverage Accordion ===== */
.satta-live-importance,
.satta-live-coverage {
    background-color: var(--bg-elevated);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.satta-live-importance h2,
.satta-live-coverage h2 {
    text-align: center;
    font-size: 20px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.satta-live-importance h2::after,
.satta-live-coverage h2::after {
    content: '▼';
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.satta-live-importance.active h2::after,
.satta-live-coverage.active h2::after {
    transform: translateY(-50%) rotate(180deg);
}

.satta-live-importance-content,
.satta-live-coverage-content {
    display: none;
    margin-top: 15px;
}

.satta-live-importance.active .satta-live-importance-content,
.satta-live-coverage.active .satta-live-coverage-content {
    display: block;
}

.satta-live-importance p,
.satta-live-coverage p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #ccc;
}

.satta-live-importance ul,
.satta-live-coverage ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.satta-live-importance li,
.satta-live-coverage li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: var(--bg-input);
    border-radius: 4px;
}

.satta-live-importance strong,
.satta-live-coverage strong {
    color: var(--primary-yellow);
}

.satta-live-importance a,
.satta-live-coverage a {
    color: var(--primary-blue);
}

/* ===== FAQ Section ===== */
.faq-section {
    background-color: var(--bg-elevated);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--border-light);
}

.faq-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.faq-item {
    margin-bottom: 8px;
}

.faq-question {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s;
    position: relative;
    padding-right: 35px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 18px;
    font-weight: bold;
}

.faq-question.active::after {
    content: '−';
}

.faq-question:hover {
    background-color: #1a73e8;
}

.faq-answer {
    display: none;
    padding: 12px 16px;
    background-color: var(--bg-input);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 0 4px 4px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary-blue);
}

/* ===== Review Section ===== */
.review-section {
    max-width: 100%;
    padding: 20px 15px;
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-top: 20px;
}

.review-title {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-yellow);
}

.review-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.review-card {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    flex: 1 1 300px;
    max-width: 320px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 10px;
}

.review-body {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 12px;
    line-height: 1.6;
}

.review-author {
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1a73e8;
    color: #fff;
    text-decoration: none;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background-color: var(--bg-elevated);
    padding: 25px 15px;
    text-align: center;
    border-top: 2px solid var(--primary-blue);
    margin-top: 30px;
}

.newsletter-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-yellow);
}

.newsletter-section p {
    color: #ccc;
    margin-bottom: 15px;
}

.newsletter-section form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-section input[type="email"] {
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-input);
    color: var(--text-white);
    min-width: 250px;
}

.newsletter-section button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-section button:hover {
    background: #1e8e3e;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--bg-elevated);
    border-top: 2px solid var(--primary-red);
    padding: 30px 10px;
    font-size: 13px;
}

.footer-links a {
    color: #eee;
    margin: 0 10px;
    text-decoration: underline;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-social {
    margin: 15px 0;
    color: #999;
}

.footer-social a {
    color: var(--primary-yellow);
    font-weight: bold;
    margin: 0 5px;
}

.footer-game-links {
    margin: 10px 0;
}

.footer-game-links a {
    color: #ccc;
    margin: 0 8px;
    text-decoration: none;
}

.footer-game-links a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 15px;
    color: #444;
    font-size: 11px;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== Infographic ===== */
.infographic {
    text-align: center;
    margin: 20px 0;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== Page Content Wrappers (About, Contact, Privacy, etc.) ===== */
.page-content {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;
    background: var(--bg-elevated);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    color: #ccc;
    line-height: 1.8;
}

.page-content h1 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.page-content h2 {
    color: var(--primary-red);
    margin: 20px 0 10px;
    font-size: 1.4em;
}

.page-content h3 {
    color: var(--primary-yellow);
    margin: 15px 0 8px;
    font-size: 1.2em;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content a {
    color: var(--primary-blue);
}

.page-content a:hover {
    color: var(--primary-yellow);
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-white);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-white);
}

.contact-form textarea {
    resize: vertical;
    height: 120px;
}

.contact-form button {
    margin-top: 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #1a73e8;
}

/* ===== Review Form (Submit Review) ===== */
.form-wrapper {
    max-width: 500px;
    margin: 20px auto;
    background: var(--bg-elevated);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border-light);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.form-wrapper label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-white);
}

.form-wrapper input[type="text"],
.form-wrapper textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 15px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-white);
}

.form-wrapper textarea {
    resize: vertical;
    height: 120px;
}

.rating-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 10px;
}

.rating-group input {
    display: none;
}

.rating-group label {
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.rating-group input:checked~label,
.rating-group input:checked+label {
    color: gold;
}

.form-wrapper button {
    margin-top: 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.form-wrapper button:hover {
    background: #1a73e8;
}

.message {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-green);
}

.error {
    color: var(--primary-red);
    text-align: center;
}

.honeypot {
    display: none;
}

/* ===== Play Online Button ===== */
.play-online-float {
    position: fixed;
    bottom: 20px;
    left: 16px;
    z-index: 9999;
}

.play-online-float .play-btn {
    background: var(--primary-green);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.play-online-float .play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ===== Sponsored/Ad Board Sections ===== */
.ad-section {
    margin: 15px 0;
}

.satta-king-ad-board-1 {
    width: 100%;
}

.satta-king-ad-board-1-box {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, #FFD700, #FF8C00, #FFD700) 1;
    padding: 24px 20px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sponsored-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 14px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.satta-king-ad-board-1-heading {
    font-size: 22px;
    font-weight: 900;
    color: #FFD700;
    margin: 8px 0 6px;
    line-height: 1.3;
}

.satta-king-ad-mobtext {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    margin: 4px 0 2px;
    letter-spacing: 0.5px;
}

.satta-king-ad-board-1-box>p {
    margin: 2px 0 14px;
}

.satta-king-ad-board-1-box>p a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 600;
}

.satta-king-btn-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.satta-king-btn-click {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
}

.satta-king-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.3);
}

.satta-king-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

.satta-king-btn-callnow {
    background: linear-gradient(135deg, #4285F4, #1a73e8);
    color: white;
    box-shadow: 0 2px 12px rgba(66, 133, 244, 0.3);
}

.satta-king-btn-callnow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.5);
    color: white;
    text-decoration: none;
}

/* Hide Bootstrap grid wrappers from board txt */
.satta-king-container-fluid,
.satta-king-container-fluid>.row,
.satta-king-container-fluid>.row>[class*="col-"] {
    display: contents;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .site-nav {
        background-color: var(--primary-blue);
        /* Keep bg color for when menu opens */
        min-height: 0;
        /* Allow collapse */
    }

    /* Toggle is now in header, position it */
    .nav-toggle {
        display: flex;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .nav-links.show {
        display: flex;
        padding-bottom: 10px;
    }

    .nav-links li {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        padding: 12px 15px;
        font-size: 14px;
        text-align: left;
    }
}

border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a {
    padding: 12px 0;
}
}

@media (max-width: 600px) {

    .container,
    .full-width {
        padding: 5px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 10px 5px;
    }

    .live-results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .superfast-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

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

    .game-title {
        font-size: 13px;
    }

    .main-table th,
    .main-table td {
        padding: 4px;
        font-size: 11px;
    }

    .wa-banner {
        font-size: 14px;
        padding: 10px;
    }

    .chart-grid th,
    .chart-grid td {
        font-size: 10px;
        padding: 3px;
    }

    .sf-header {
        font-size: 11px;
        padding: 2px 5px;
    }

    .sf-body {
        padding: 3px 5px;
    }

    .sf-val {
        font-size: 14px;
    }

    .sf-label {
        font-size: 8px;
    }

    .review-card {
        max-width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
        font-size: 24px;
    }

    .page-content {
        padding: 15px;
        margin: 10px;
    }

    .page-content h1 {
        font-size: 1.5em;
    }

    /* Result table mobile */
    .table-result-cont {
        font-size: 12px;
        table-layout: fixed;
    }

    .table-result-cont thead th,
    .table-result-cont tbody th,
    .table-result-cont tbody td {
        padding: 4px 3px;
        white-space: normal;
        word-break: break-word;
    }

    .table-result-cont thead {
        position: static;
    }
}

/* ===== Internal Links Section ===== */
.internal-links-block {
    margin: 25px auto;
    max-width: 900px;
    padding: 0 15px;
}

.internal-links-section {
    margin: 12px 0;
    text-align: center;
}

.il-heading {
    font-size: 15px;
    color: var(--primary-yellow);
    margin-bottom: 8px;
    font-weight: bold;
}

.il-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.il-links a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    color: #ccc;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.il-links a:hover {
    color: #fff;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.il-links a.il-active {
    color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    font-weight: bold;
}

.il-pillar-link,
.il-charts-link,
.il-back-link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.il-pillar-link:hover,
.il-charts-link:hover,
.il-back-link:hover {
    color: var(--primary-yellow);
}

.footer-year-links {
    margin: 10px 0;
}

.footer-year-links a {
    color: #ccc;
    margin: 0 5px;
    text-decoration: none;
    font-size: 13px;
}

.footer-year-links a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .il-links a {
        padding: 4px 8px;
        font-size: 11px;
    }

    .il-pillar-link,
    .il-charts-link,
    .il-back-link {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ===== Print Styles ===== */
@media print {

    .site-header,
    .site-nav,
    .marquee-container,
    .whatsapp-float,
    .play-online-float,
    .newsletter-section,
    .wa-banner,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .page-content,
    .article-section,
    .seo-section {
        background: #fff;
        color: #000;
        border: none;
    }
}

/* ===== Mobile Responsiveness Fixes ===== */
@media screen and (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container,
    .site-header,
    .site-nav {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Fix Marquee overflow */
    .marquee-container {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Fix Table overflow - make them scroll horizontally within container */
    .table-result-cont,
    .satta-container-fluid table,
    .chart-data-section table,
    .results_padd>table,
    .sattakingtable-cloud {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    /* Fix Superfast Grid items */
    .sf-box {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix nav toggle position if needed */
    .nav-toggle {
        right: 15px;
    }
}

/* ===== Aggressive Table fit for Mobile ===== */
@media screen and (max-width: 450px) {

    .sattakingtable-cloud,
    .table-result-cont,
    .chart-data-section table,
    .results_padd>table {
        display: table !important;
        /* Force table layout */
        table-layout: fixed !important;
        width: 100% !important;
        font-size: 9px !important;
        /* Tiny font to fit */
    }

    .sattakingtable-cloud th,
    .sattakingtable-cloud td,
    .table-result-cont th,
    .table-result-cont td,
    .chart-data-section table th,
    .chart-data-section table td {
        padding: 2px 1px !important;
        /* Minimal padding */
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        /* Allow wrapping */
        letter-spacing: -0.3px;
    }
}

/* ===== Align Floating Buttons ===== */
.whatsapp-float,
.play-online-float {
    bottom: 20px !important;
    /* Force alignment */
    z-index: 9999 !important;
}