/* Green Badshah — green/black theme, two-column layout on desktop. */

:root {
    --g1: #0b7a3b;
    --g2: #0f9d4f;
    --gold: #ffd400;
    --ink: #0a0a0a;
    --pink: #ff2d95;
    --lime: #35d07f;
    --wa: #25d366;
    --panel: #121212;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    padding-bottom: 24px;
    background: var(--ink);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

a { color: var(--gold); }

/* nav */
.topnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: var(--ink); }
.nav-pill { flex: 1 1 130px; padding: 8px 10px; background: var(--g1); border: 1px solid var(--g2); border-radius: 999px; color: #ffffff; font-size: 13px; font-weight: bold; letter-spacing: .5px; text-align: center; text-decoration: none; }
.nav-pill.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* banner */
.banner { padding: 40px 16px; background: linear-gradient(135deg, #06301c, var(--g1) 45%, #0b6b8a); text-align: center; }
.banner .chip { display: inline-block; margin-bottom: 10px; padding: 5px 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: 12px; font-weight: bold; letter-spacing: .6px; }
.banner h1 { font-size: 34px; font-weight: bold; letter-spacing: 1px; text-shadow: 0 3px 12px rgba(0, 0, 0, .45); word-break: break-word; }

.brand-strip { padding: 12px; background: var(--gold); color: var(--ink); font-size: 20px; font-weight: bold; letter-spacing: 1px; text-align: center; }
.notice-strip { padding: 9px 12px; background: var(--g2); font-size: 13px; font-weight: bold; text-align: center; }
.notice-strip a { color: #ffffff; text-decoration: underline; }

/* two-column shell */
.shell { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1080px; margin: 20px auto; padding: 0 14px; }

@media (min-width: 900px) {
    .shell { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
    .side { position: sticky; top: 16px; }
}

/* live block */
.live { margin-bottom: 18px; padding: 18px 14px; background: var(--panel); border: 1px solid #262626; border-radius: 12px; text-align: center; }
.live-date { margin-bottom: 6px; color: var(--gold); font-size: 14px; font-weight: bold; }
.live-hindi { margin-bottom: 16px; color: var(--lime); font-size: 16px; font-weight: bold; }
.live-name { font-size: 25px; font-weight: bold; color: var(--pink); letter-spacing: 1px; }
.live-num { font-size: 34px; font-weight: bold; color: var(--lime); }
.live-num.is-wait { font-size: 22px; color: #ff6b6b; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .4; } }

/* result rows */
.result-head { margin-bottom: 10px; padding: 10px; background: var(--g1); border-radius: 8px; font-size: 15px; font-weight: bold; letter-spacing: .5px; text-align: center; }

.rows { display: flex; flex-direction: column; gap: 8px; }

.row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--panel);
    border: 1px solid #262626;
    border-left: 4px solid var(--g2);
    border-radius: 10px;
}

.row .name { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.row .time { display: block; color: #9aa0a6; font-size: 12px; font-weight: normal; }
.row .prev { font-size: 20px; font-weight: bold; color: var(--gold); }
.row .arrow { color: #5f6368; }
.row .today { font-size: 20px; font-weight: bold; color: var(--lime); }

.wait-badge { display: inline-block; padding: 4px 12px; background: #b3261e; border-radius: 999px; color: #ffffff; font-size: 12px; font-weight: bold; letter-spacing: .6px; animation: blink 1.2s ease-in-out infinite; }
/* Result rows use an hourglass; the live block above keeps the word. */
.wait-ico { display: inline-flex; color: #ff8a5b; animation: flipGlass 2.4s ease-in-out infinite; }
@keyframes flipGlass { 0%, 45% { transform: rotate(0deg); } 55%, 100% { transform: rotate(180deg); } }

@media (prefers-reduced-motion: reduce) { .wait-badge, .live-num.is-wait, .wait-ico { animation: none; } }

.btn-block { display: block; margin-top: 14px; padding: 12px; background: var(--gold); border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: bold; text-align: center; text-decoration: none; }

/* side panels */
.card { margin-bottom: 16px; padding: 18px 16px; border-radius: 12px; text-align: center; }
.card-khaiwal { background: linear-gradient(160deg, #5b1024, #7a1f3d); border: 1px solid var(--gold); }
.card-contact { background: linear-gradient(160deg, #0d3b2e, #10603f); border: 1px solid var(--lime); }

.card h3 { margin-bottom: 4px; font-size: 17px; font-weight: bold; color: var(--gold); letter-spacing: .5px; }
.card .rate { margin-bottom: 12px; font-size: 13px; font-weight: bold; }
.card-list { list-style: none; }
.card-list li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; font-size: 13px; font-weight: bold; }
.card-list li i { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .35); }
.card .note { margin-top: 12px; font-size: 11px; color: #e6cfd8; }

.card-btn { display: inline-block; margin-top: 12px; padding: 10px 22px; background: var(--wa); border-radius: 999px; color: #ffffff; font-size: 14px; font-weight: bold; text-decoration: none; }
.card-btn.tg { background: #29a9eb; margin-left: 6px; }

/* faq + about */
.section-heading { margin-bottom: 12px; font-size: 19px; font-weight: bold; color: var(--gold); text-align: center; }
.faq-section, .about-section { max-width: 1080px; margin: 0 auto 26px; padding: 0 14px; }
.faq-item { margin-bottom: 8px; background: var(--panel); border: 1px solid #262626; border-radius: 8px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; background: transparent; border: 0; color: #ffffff; font-family: inherit; font-size: 14px; font-weight: bold; text-align: left; cursor: pointer; }
.faq-icon { font-style: normal; font-size: 18px; color: var(--gold); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 14px 12px; color: #c2c6cc; font-size: 14px; }
.faq-item.open .faq-answer { display: block; }
.about-section p { margin-bottom: 10px; color: #c2c6cc; font-size: 14px; }

/* footer */
.site-footer { padding: 24px 16px; background: #060606; border-top: 2px solid var(--g2); text-align: center; }
.footer-name { margin-bottom: 8px; font-size: 19px; font-weight: bold; color: var(--gold); }
.footer-desc, .footer-text { max-width: 780px; margin: 0 auto 8px; color: #b9bec4; font-size: 13px; word-break: break-word; }
.footer-legal { max-width: 780px; margin: 14px auto 0; padding-top: 12px; border-top: 1px solid #222222; color: #8a8f95; font-size: 12px; }

/* floating whatsapp */
.float-wa { position: fixed; right: 16px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--wa); border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); color: #ffffff; }

/* chart */
.chart-wrap { max-width: 1100px; margin: 20px auto; padding: 0 14px; }
.back-link { display: inline-block; margin-bottom: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; padding: 12px; background: var(--panel); border: 1px solid #262626; border-radius: 10px; }
.filter-bar select, .filter-bar input { padding: 8px 10px; background: #ffffff; border: 0; border-radius: 6px; color: var(--ink); font-family: inherit; font-size: 14px; }
.btn-chart { display: inline-block; padding: 9px 18px; background: var(--g2); border: 0; border-radius: 6px; color: #ffffff; font-family: inherit; font-size: 14px; font-weight: bold; text-decoration: none; cursor: pointer; }

.table-scroll { overflow-x: auto; border: 1px solid #262626; border-radius: 10px; }
.chart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.chart-table th, .chart-table td { padding: 9px 10px; border-bottom: 1px solid #262626; text-align: center; white-space: nowrap; }
.chart-table thead th { background: var(--g1); color: #ffffff; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.chart-table .date-col { color: var(--gold); font-weight: bold; }
.chart-table tbody tr:nth-child(even) { background: #101010; }

@media (max-width: 640px) {
    .banner h1 { font-size: 24px; }
    .live-name { font-size: 20px; }
    .live-num { font-size: 28px; }
    .row { grid-template-columns: 1fr auto; gap: 8px; }
    .row .arrow { display: none; }
    .row .name { font-size: 17px; }
}

/* Hindi content sections */
.info-wrap { max-width: 1080px; margin: 26px auto; padding: 0 14px; }
.info-h { margin-bottom: 14px; font-size: 19px; font-weight: bold; color: var(--gold); text-align: center; }

.recent-scroll { overflow-x: auto; border: 1px solid #262626; border-radius: 10px; }
.recent-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.recent-table th, .recent-table td { padding: 9px 10px; border-bottom: 1px solid #262626; text-align: center; white-space: nowrap; }
.recent-table thead th { background: var(--g1); color: #ffffff; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.recent-table tbody tr:nth-child(even) { background: #101010; }
.rt-date { color: var(--gold); font-weight: bold; }
.rt-dash { color: #666666; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0; }
.step { padding: 16px; background: var(--panel); border: 1px solid #262626; border-left: 4px solid var(--g2); border-radius: 10px; text-align: center; }
.step-ico { display: block; font-size: 24px; }
.step b { display: block; margin: 5px 0 2px; font-size: 14px; color: var(--gold); }
.step span { color: #9aa0a6; font-size: 12px; }

.info-block { margin-bottom: 12px; padding: 18px; background: var(--panel); border: 1px solid #262626; border-radius: 10px; }
.info-block h3 { margin-bottom: 8px; font-size: 16px; color: var(--gold); }
.info-block p { margin-bottom: 9px; color: #c2c6cc; font-size: 14px; }
.info-block p:last-child { margin-bottom: 0; }
