/* Wave Dham — modern gradient hero, wave divider, soft cards. */

:root {
    --o1: #ffb020;
    --o2: #ff6a3d;
    --o3: #f7466f;
    --ink: #16181d;
    --muted: #6b7280;
    --line: #e7e9ee;
    --page: #ffffff;
    --soft: #f7f8fb;
    --green: #16a34a;
    --wa: #25d366;
}

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

body {
    padding-bottom: 24px;
    background: var(--page);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

a { color: #1d4ed8; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.logo-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--o1), var(--o3)); }

.topbar nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.topbar nav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.topbar nav a:hover { background: var(--soft); color: var(--ink); }
.topbar nav a.active { background: var(--ink); color: #ffffff; }

.btn-join { padding: 8px 16px; background: var(--green); border-radius: 999px; color: #ffffff; font-size: 14px; font-weight: 700; text-decoration: none; }

/* hero */
.hero {
    position: relative;
    padding: 46px 16px 96px;
    background: linear-gradient(135deg, var(--o1) 0%, var(--o2) 55%, var(--o3) 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* soft light blooms behind the headline */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.hero::before { top: -70px; left: -50px; width: 240px; height: 240px; }
.hero::after { right: -60px; bottom: 20px; width: 300px; height: 300px; }

.hero-inner { position: relative; z-index: 2; }

.hero-chip {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
}

.hero-date { margin-bottom: 6px; font-size: 14px; opacity: .92; }
.hero-hindi { margin-bottom: 22px; font-size: 15px; font-weight: 600; opacity: .95; }

.hero-game { font-size: 30px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

.hero-number {
    margin: 2px 0 18px;
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.hero-number.is-wait { font-size: 44px; letter-spacing: 2px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .5; } }

.hero-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--green);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; display: block; width: 100%; height: 70px; }




/* section heads */
.section-heading { margin-bottom: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.4px; text-align: center; }
.section-sub { margin-bottom: 18px; color: var(--muted); font-size: 14px; text-align: center; }

/* result table */
/* overflow-x (not hidden) so the 5th column stays reachable on narrow phones */
.result-card { margin-bottom: 34px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(20, 24, 35, .05); overflow-x: auto; }

.result-table { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 14px; }
.result-table th { padding: 13px 10px; background: var(--ink); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.result-table td { padding: 13px 10px; border-top: 1px solid var(--line); text-align: center; }
.result-table tbody tr:nth-child(even) { background: var(--soft); }

.g-name { font-size: 18px; font-weight: 800; }
.g-chart { font-size: 12px; }
.g-time { color: var(--muted); font-size: 13px; }
.cell-prev { font-size: 20px; font-weight: 800; color: #1d4ed8; }
.cell-today .today-num { font-size: 20px; font-weight: 800; color: var(--o3); }

/* Rows show a ticking clock; the hero still spells out WAIT. */
.wait-ico { display: inline-flex; color: #b91c1c; animation: tickTock 2s ease-in-out infinite; }
@keyframes tickTock { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }

.wait-chip { display: inline-block; padding: 4px 12px; background: #fee2e2; border-radius: 999px; color: #b91c1c; font-size: 12px; font-weight: 800; letter-spacing: .6px; }

/* khaiwal panel */
.panel { margin-bottom: 34px; padding: 22px 18px; background: linear-gradient(160deg, #2b1055, #4b1a63); border-radius: 18px; color: #ffffff; text-align: center; }
.panel h3 { margin-bottom: 4px; font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.panel .rate { margin-bottom: 14px; color: #ffd166; font-size: 13px; font-weight: 700; }

.panel-list { list-style: none; max-width: 340px; margin: 0 auto; }
.panel-list li { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-size: 14px; font-weight: 600; }
.panel-list li i { flex: 1; border-bottom: 1px dashed rgba(255, 255, 255, .35); }

.panel .note { margin-top: 14px; font-size: 12px; opacity: .8; }
.panel-btn { display: inline-block; margin-top: 16px; padding: 11px 26px; background: var(--wa); border-radius: 999px; color: #ffffff; font-size: 15px; font-weight: 700; text-decoration: none; }
.panel-btn.tg { background: #29a9eb; margin-left: 8px; }

/* faq + about */
.faq-section, .about-section { margin-bottom: 34px; }
.faq-item { margin-bottom: 8px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 13px 16px; background: #ffffff; border: 0; font-family: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.faq-icon { font-style: normal; font-size: 18px; color: var(--muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-answer { display: block; }

.about-section p { margin-bottom: 12px; color: #3b4252; }

/* footer */
.site-footer { padding: 30px 16px; background: var(--ink); color: #ffffff; text-align: center; }
.footer-name { margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.footer-desc, .footer-text { max-width: 760px; margin: 0 auto 8px; color: #b6bcc8; font-size: 13px; word-break: break-word; }
.footer-legal { max-width: 760px; margin: 16px auto 0; padding-top: 14px; border-top: 1px solid #2c3038; color: #8b93a1; font-size: 12px; }

/* floating bar */




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

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

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

@media (max-width: 640px) {
    .hero { padding: 34px 16px 84px; }
    .hero-number { font-size: 60px; }
    .hero-game { font-size: 23px; }
    .topbar { flex-wrap: wrap; }
    .topbar nav { width: 100%; margin-left: 0; }
    .result-table th, .result-table td { padding: 10px 6px; }
    .g-name { font-size: 16px; }
}

/* Floating WhatsApp button (replaces the old bottom action bar). */
.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: #25d366;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    color: #ffffff;
}

/* Hindi content sections */
.info-wrap { max-width: 960px; margin: 34px auto; padding: 0 16px; }
.info-h { margin-bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.4px; text-align: center; }

.recent-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(20,24,35,.05); }
.recent-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.recent-table th, .recent-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.recent-table thead th { background: var(--ink); color: #ffffff; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.recent-table tbody tr:nth-child(even) { background: var(--soft); }
.rt-date { font-weight: 800; color: var(--o3); }
.rt-dash { color: #c3c8d2; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 20px 0; }
.step { padding: 18px; background: #ffffff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(20,24,35,.05); text-align: center; }
.step-ico { display: block; font-size: 26px; }
.step b { display: block; margin: 6px 0 3px; font-size: 15px; }
.step span { color: var(--muted); font-size: 13px; }

.info-block { margin-bottom: 14px; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.info-block h3 { margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.info-block p { margin-bottom: 10px; color: #3b4252; font-size: 14px; }
.info-block p:last-child { margin-bottom: 0; }
