/* ============================================================
   SAWAR-CHART.CSS — dedicated stylesheet for sawar-chart.php
   Poori tarah independent hai — is file ko shared style.css se
   koi lena-dena nahi. Har section apne comment block ke andar
   hai taaki jo bhi edit karna ho, seedha us section mein jaaye.
   ============================================================ */


/* =========================
   RESET / BASE
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #030506;
    color: #e9e9e9;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.wrap {
    width: min(1080px, 92%);
    margin: auto;
}


/* =========================
   TOP WARNING
========================= */

.top-warning {
    background: #F1B417;
    border-bottom: 1px solid #4c4a25;
    color: #000000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 7px 12px;
}


/* =========================
   HEADER / NAVBAR
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(3, 5, 6, 0.95);
    border-bottom: 1px solid #263136;
    backdrop-filter: blur(10px);
}

.nav-wrap {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c99c2a;
    border-radius: 7px;
    background: #17130b;
    color: #e4b93c;
    font-weight: 900;
    font-size: 16px;
}

.brand b {
    display: block;
    font-size: 21px;
}

.brand small {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    color: #8a8d88;
}

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-btn {
    background: #e3af28;
    color: #0a0a08;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 800;
    border: 1px solid #f2cf63;
}

.nav-btn:hover,
.nav-btn.active {
    background: #f2cf63;
}


/* =========================
   SITE MARQUEE
========================= */

.site-marquee {
    background: #000000;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 1px solid #263136;
}

.marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: gnp-marquee-scroll 32s linear infinite;
    color: #e3af28;
    font-weight: 600;
    font-size: 14px;
}

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


/* =========================
   HERO SECTION (H1 + intro)
========================= */

.hero {
    padding: 36px 0 18px;
}

.hero-inner {
    max-width: 760px;
    margin: auto;
    text-align: center;
    padding: 40px 24px 30px;
    background: radial-gradient(circle at 50% 20%, #1c2828, #0b1011 62%, #050606);
    border: 1px solid #1f3b3d;
    border-radius: 8px;
    box-shadow: 0 0 35px #000;
}

.eyebrow {
    color: #d6b33d;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 10px 0 12px;
    color: #fff;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 20px;
    color: #aab0ad;
    font-size: 19px;
}

.hero-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
}


/* =========================
   BUTTONS
========================= */

.gold-btn,
.dark-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 17px;
}

.gold-btn {
    background: #e3af28;
    color: #080909;
    border: 1px solid #f2cf63;
}

.dark-btn {
    border: 1px solid #45504e;
    color: #eee;
    background: #0d1314;
}


/* =========================
   WHATSAPP BUTTONS
========================= */

.whatsapp-box {
    display: flex;
    justify-content: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
}

.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 500;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 6px 18px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 6px 18px rgba(37, 211, 102, 0.5);
    }
}


/* =========================
   SECTION WRAPPER
========================= */

.section {
    margin-top: 40px;
}

.section-title {
    margin-bottom: 12px;
}

.section-title h2 {
    margin: 2px 0;
    font-size: 28px;
}

.section-title p {
    font-size: 16px;
    color: #8f9896;
    margin: 3px 0;
}


/* =========================
   TABLE WRAPPER (white background,
   same convention as the rest of the site)
========================= */

.table-scroll {
    overflow: auto;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
}


/* =========================
   DISCLAIMER CARD
========================= */

.contact-card {
    margin-top: 22px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(160deg, #14171a, #05070a);
    border: 2px solid #e3af28;
    border-radius: 10px;
    padding: 26px;
    text-align: center;
}

.contact-card-pill {
    display: inline-block;
    background: linear-gradient(90deg, #f4c93c, #e3af28);
    color: #1a1300;
    font-weight: 900;
    font-size: 15px;
    padding: 7px 20px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.contact-card-line {
    background: #0b0d10;
    border: 1px solid #3a3120;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.contact-card-line p {
    color: #dcdcdc;
    font-size: 17px;
    margin: 4px 0 0;
}

.contact-card-line p.left {
    text-align: left;
    margin: 0;
    font-size: 16px;
}


/* =========================
   MARKET HERO BOX (Disawar spotlight)
========================= */

.market-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 760px) {
    .market-layout {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

.market-hero {
    background: linear-gradient(160deg, #14171a, #05070a);
    border: 2px solid #e3af28;
    border-radius: 12px;
    padding: 30px 26px;
    text-align: center;
}

.market-side {
    background: #0e1214;
    border: 1px solid #2c3a3a;
    border-radius: 12px;
    padding: 20px;
}

.market-side h4 {
    margin: 0 0 10px;
    color: #eee0a1;
    font-size: 16px;
}

.market-side a {
    display: block;
    color: #8dd2d0;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #1c2426;
}

.market-side a:last-child {
    border-bottom: none;
}

.market-side a:hover {
    color: #f4c93c;
}

.market-hero h2 {
    font-size: 28px;
    color: #f4c93c;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}

.market-hero .market-number {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin: 10px 0;
    line-height: 1;
}

.market-hero .market-number small {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #9aa39e;
    margin-bottom: 6px;
}

.market-hero .market-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 10px 0 18px;
}

.market-hero .market-meta span {
    background: #101414;
    border: 1px solid #2c3a3a;
    color: #8dd2d0;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
}


/* =========================
   RATE CARDS (Jodi / Haruf)
========================= */

.rate-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.rate-card {
    background: #0e1214;
    border: 1px solid #2c3a3a;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.rate-card b {
    display: block;
    color: #8dd2d0;
    font-size: 16px;
    margin-bottom: 6px;
}

.rate-card strong {
    font-size: 26px;
    color: #f4c93c;
}


/* =========================
   GLOW PROMO (glowing WhatsApp CTA)
========================= */

.glow-promo {
    max-width: 820px;
    margin: 22px auto 0;
    background: linear-gradient(160deg, #1a1206, #06070a);
    border: 2px solid #f4c93c;
    border-radius: 12px;
    padding: 26px;
    text-align: center;
}

.glow-promo p {
    color: #f1f1e8;
    font-size: 19px;
    font-weight: 800;
    margin: 6px 0;
}

.glow-promo .rate-line {
    color: #ffd23f;
    font-size: 20px;
    font-weight: 900;
    margin: 10px 0;
}

.glow-promo .whatsapp-btn {
    margin-top: 10px;
    animation: gnp-glow 1.6s ease-in-out infinite;
}

@keyframes gnp-glow {
    0%,
    100% {
        box-shadow: 0 0 8px 0 rgba(37, 211, 102, 0.55);
    }
    50% {
        box-shadow: 0 0 22px 6px rgba(37, 211, 102, 0.85);
    }
}


/* =========================
   DISAWAR YEARLY CHART
   (one wide table per year — Date rows × Jan–Dec columns —
   with a year dropdown to switch between 2024 / 2025 / 2026)
========================= */

.year-select-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 4px 0 20px;
}

.year-select-form label {
    color: #cfd6d3;
    font-weight: 700;
    font-size: 16px;
}

.year-select-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0e1214;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3af28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    color: #e9e9e9;
    border: 1px solid #3a4646;
    border-radius: 8px;
    padding: 9px 38px 9px 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
}

.year-select-form select:focus {
    outline: none;
    border-color: #e3af28;
}

.year-select-form select option {
    background: #0e1214;
    color: #e9e9e9;
}

.year-select-form button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #e3af28;
    color: #0a0a08;
    border: 1px solid #f2cf63;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
}

.year-select-form button:hover {
    background-color: #f2cf63;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b3b;
    display: inline-block;
    animation: gnp-live-pulse 1.1s infinite;
}

@keyframes gnp-live-pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.6);
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 0 5px rgba(255, 59, 59, 0);
    }
}


/* Wider than the normal .wrap so a 13-column table has room to breathe */

.year-chart-full {
    width: 97%;
    max-width: 1400px;
    margin: 0 auto;
    background: #0e1214;
    border: 1px solid #2c3a3a;
    border-radius: 10px;
    overflow: hidden;
}

.year-chart-title {
    background: #000000;
    color: #f1f1e8;
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    padding: 16px 12px;
}

.year-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 900px;
}

.year-table th {
    background: #12a893;
    color: #ffffff;
    font-size: 15px;
    padding: 12px 8px;
    text-align: center;
}

.year-table td {
    padding: 10px 8px;
    font-size: 15px;
    color: #17181a;
    border-top: 1px solid #ececec;
    text-align: center;
}

.year-table td.year-date {
    font-weight: 800;
    color: #444;
    background: #f2f2f2;
}

.year-table td.na {
    color: #d7d7d7;
}

.year-table tr:nth-child(even) td {
    background: #f7f8f9;
}

.year-table tr:nth-child(even) td.year-date {
    background: #eceded;
}

.year-table td.chart-today {
    background: #fff3d0;
    font-weight: 800;
}


/* Highlights the whole column for the current month, so it's
   easy to spot at a glance even without checking the header text */

.year-table th.current-month {
    background: #e3af28;
    color: #0a0a08;
}

.year-table td.current-month {
    background: #fff8e6;
}

.year-table tr:nth-child(even) td.current-month {
    background: #fdefc9;
}

.year-table td.current-month.chart-today {
    background: #ffe08a;
}


/* =========================
   CONTENT INTRO
========================= */

.content-intro {
    max-width: 900px;
    margin: 0 auto 22px;
    text-align: center;
}

.content-intro h2 {
    font-size: 30px;
    color: #f1f1e8;
    margin: 0 0 10px;
}

.content-intro p {
    font-size: 18px;
    color: #b7bdb9;
    line-height: 1.7;
    margin: 0;
}

.gnp-subnote {
    text-align: center;
    color: #8b9490;
    margin-top: 16px;
    font-size: 15px;
}


/* =========================
   FULL SEO ARTICLE (guide sections)
========================= */

.full-article {
    margin-top: 34px;
    background: #0a1112;
    border: 1px solid #1c2b2c;
    border-radius: 6px;
    padding: 20px 20px 8px;
}

.article-item {
    border-top: 1px solid #182122;
    padding: 16px 0;
}

.article-item:first-of-type {
    border-top: none;
}

.article-item h3 {
    font-size: 20px;
    color: #e9c542;
    margin: 0 0 6px;
}

.article-item p {
    font-size: 18px;
    color: #a9b1ad;
    margin: 0 0 6px;
}

.article-item p b,
.article-item p strong {
    color: #f1f1e8;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 45px;
    border-top: 1px solid #20292a;
    background: #050707;
    padding-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-grid p,
.footer-grid a {
    font-size: 16px;
    color: #777;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-grid h4 {
    font-size: 16px;
    color: #dcb63a;
    margin: 0 0 8px;
}

.footer-bottom {
    width: min(1080px, 92%);
    margin: 25px auto 0;
    padding: 12px 0;
    border-top: 1px solid #151c1d;
    display: flex;
    justify-content: space-between;
    color: #5c6462;
    font-size: 14px;
}


/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 800px) {
    .nav-wrap {
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }
    nav {
        width: 100%;
        justify-content: center;
    }
    .nav-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {
    .wrap {
        width: 94%;
    }
    .hero-inner {
        padding: 28px 14px;
    }
    .market-hero .market-number {
        font-size: 42px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        display: block;
    }
    .footer-bottom span {
        display: block;
        margin: 4px 0;
    }
}