/* ============================================================
   DREAM KHELA — WEBSITE STYLES
   Full-width website layout | Mobile + Desktop responsive
   ============================================================ */

:root {
  --red: #e8003d; --blue: #1565C0; --teal: #00897B;
  --purple: #6a00b8; --gold: #FFD700; --gold2: #ffa500;
  --border: #e8e0f0; --text: #1a0035; --muted: #7a6090;
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(160deg, #0a0018 0%, #120025 50%, #0a0018 100%);
  min-height: 100vh;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== PARTICLES ===== */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: particleFloat 8s infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .6; }
  90%  { opacity: .2; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

/* ===== HEADER ===== */
.hdr {
  background: linear-gradient(135deg, #150030 0%, #2d0065 40%, #1a0045 100%);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 40px rgba(0,0,0,.7);
  border-bottom: 2px solid rgba(255,215,0,.3);
}
.hdr::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,255,255,.018) 15px, rgba(255,255,255,.018) 30px);
  pointer-events: none;
}
.hdr::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,.7), transparent);
  animation: headerGlow 3s ease-in-out infinite;
}
@keyframes headerGlow { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.hdr-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}

/* LOGO */
.logo-row { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img-wrap { position: relative; }
.logo-glow {
  position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.35), transparent 70%);
  animation: logoGlowPulse 2s ease-in-out infinite;
}
@keyframes logoGlowPulse { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }
.logo-svg {
  height: 54px; width: 54px;
  position: relative; z-index: 1;
  animation: logoBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(255,215,0,.6)) drop-shadow(0 0 8px rgba(106,0,184,.5));
}
@keyframes logoBounce {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-2deg); }
  75% { transform: translateY(-2px) rotate(2deg); }
}
.logo-txt .brand { color: rgba(255,255,255,.5); font-size: 8px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.logo-txt .title {
  font-size: 19px; font-weight: 900; line-height: 1.1;
  background: linear-gradient(135deg, #FFD700 0%, #ffa500 50%, #fff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: .5px;
}

/* DESKTOP NAV — hidden on mobile */
.desktop-nav { display: none; }

/* HEADER RIGHT */
.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.live-pill {
  display: flex; align-items: center; gap: 5px;
  background: rgba(232,0,61,.2); border: 1px solid rgba(232,0,61,.7);
  border-radius: 20px; padding: 5px 11px; color: #ff6b8a; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  animation: livePulse 2s infinite; box-shadow: 0 0 12px rgba(232,0,61,.3);
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,0,61,.4), 0 0 12px rgba(232,0,61,.3); }
  50%      { box-shadow: 0 0 0 6px rgba(232,0,61,0), 0 0 20px rgba(232,0,61,.5); }
}
.live-dot { width: 7px; height: 7px; background: #ff1a54; border-radius: 50%; animation: blink .8s infinite; box-shadow: 0 0 8px rgba(255,26,84,.8); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .1; } }
.clock {
  font-family: 'Orbitron', monospace; font-size: 11px; color: var(--gold); letter-spacing: 1px;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,215,0,.4);
  padding: 5px 10px; border-radius: 12px;
  box-shadow: 0 0 12px rgba(255,215,0,.15); text-shadow: 0 0 10px rgba(255,215,0,.5);
}

/* ===== CONTENT ===== */
.content { flex: 1; background: #fff; position: relative; z-index: 1; padding-bottom: 65px; overflow-y: auto; }
.tab-pg { display: none; }
.tab-pg.active { display: block; animation: fadeSlide .3s cubic-bezier(.34,1.56,.64,1); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* DATE BAR */
.date-bar {
  background: linear-gradient(90deg, #1a1a2e, #16213e, #0f0f2e);
  color: var(--gold); padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,215,0,.2); text-shadow: 0 0 8px rgba(255,215,0,.4);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.date-bar-lbl { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.date-today-tag {
  background: rgba(232,0,61,.2); border: 1px solid rgba(232,0,61,.5);
  color: #ff6b8a; border-radius: 8px; padding: 2px 8px; font-size: 9px; font-weight: 800; letter-spacing: 1px;
}
.view-date-inp {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,215,0,.3);
  color: var(--gold); border-radius: 6px; padding: 4px 8px;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  outline: none; cursor: pointer;
}
.view-date-inp::-webkit-calendar-picker-indicator { filter: invert(1) sepia(1) saturate(3) hue-rotate(10deg); cursor: pointer; }
.view-load-btn {
  background: rgba(255,215,0,.12); border: 1px solid rgba(255,215,0,.35);
  color: var(--gold); border-radius: 6px; padding: 4px 12px;
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 800;
  cursor: pointer; letter-spacing: .5px; transition: .2s;
}
.view-load-btn:hover { background: rgba(255,215,0,.25); }

/* MARQUEE */
.marquee-bar {
  background: linear-gradient(90deg, #0d0d1a, #150a28, #0d0d1a);
  color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 1px;
  overflow: hidden; white-space: nowrap; padding: 7px 0;
  border-bottom: 2px solid rgba(255,215,0,.3);
}
.marquee-inner { display: inline-block; animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* RESULTS GRID (block on mobile, grid on desktop) */
.results-grid { display: block; }

/* PANEL HEADER */
.panel-hdr {
  background: linear-gradient(90deg, #fdf8ff, #f5f0ff, #fdf8ff);
  border-bottom: 2px solid rgba(106,0,184,.12);
  padding: 10px 14px;
}
.panel-title-row { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.panel-icon { font-size: 16px; }
.panel-title { font-size: 13px; font-weight: 800; color: var(--purple); letter-spacing: .5px; text-transform: uppercase; }

/* LEGEND BARS */
.legend-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jodi-legend-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.leg-item { display: flex; align-items: center; gap: 4px; }
.leg-badge { color: #fff; border-radius: 5px; padding: 2px 9px; font-size: 10px; font-weight: 900; letter-spacing: 1px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.leg-ba { background: linear-gradient(135deg, #e8003d, #b5002f); }
.leg-bb { background: linear-gradient(135deg, #1565C0, #003d8f); }
.leg-bc { background: linear-gradient(135deg, #00897B, #00574f); }
.leg-text { color: var(--muted); font-size: 11px; font-weight: 600; }

/* ===== RESULT ROWS ===== */
.res-row {
  display: flex; align-items: center; padding: 11px 14px;
  border-bottom: 1px solid var(--border); background: #fff;
  transition: all .25s; position: relative; overflow: hidden;
}
.res-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: transparent; transition: background .25s; }
.res-row:hover { background: #fdf4ff; }
.res-row:hover::before { background: linear-gradient(180deg, var(--purple), var(--gold)); }
.res-row:first-child { border-top: 1px solid var(--border); }

.res-row.published-shine::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,.1), transparent);
  animation: shineSlide .6s ease forwards;
}
@keyframes shineSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.res-row.new-result { animation: newResult 1s ease; }
@keyframes newResult {
  0%   { background: #fffbe6; transform: scale(1.01); }
  50%  { background: #fff8cc; }
  100% { background: #fff; transform: scale(1); }
}

.r-time    { font-size: 13px; font-weight: 700; color: var(--text); min-width: 82px; flex-shrink: 0; }
.r-divider { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--border), transparent); margin: 0 12px; flex-shrink: 0; }
.r-nums    { display: flex; align-items: center; flex: 1; }

.abc-wrap   { display: flex; gap: 10px; align-items: flex-end; }
.digit-col  { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.abc-lbl    { font-size: 10px; font-weight: 900; color: #fff; border-radius: 5px; padding: 2px 7px; line-height: 1.5; letter-spacing: .5px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lbl-a { background: linear-gradient(135deg, #e8003d, #b5002f); }
.lbl-b { background: linear-gradient(135deg, #1565C0, #003d8f); }
.lbl-c { background: linear-gradient(135deg, #00897B, #005c52); }
.dbox   { font-size: 28px; font-weight: 900; font-family: 'Poppins', sans-serif; min-width: 28px; text-align: center; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.15); }

.jodi-wrap { display: flex; gap: 14px; align-items: center; }
.jodi-pair { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.jlbl      { font-size: 9px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6a00b8, #4a0080); border-radius: 5px; padding: 2px 6px; letter-spacing: 1px; box-shadow: 0 2px 6px rgba(106,0,184,.3); }
.jn        { font-size: 25px; font-weight: 900; font-family: 'Poppins', sans-serif; text-shadow: 0 2px 8px rgba(0,0,0,.15); }

.pdash { font-size: 18px; font-weight: 900; color: #ccc; letter-spacing: 6px; }
.ldot  { display: inline-block; width: 9px; height: 9px; background: var(--red); border-radius: 50%; animation: blink .8s infinite; margin-left: 7px; vertical-align: middle; box-shadow: 0 0 8px rgba(232,0,61,.7); }
.empty { text-align: center; padding: 55px 20px; color: var(--muted); font-size: 13px; line-height: 2.5; }

/* Row colors */
.rc0 { color: #e8003d !important; } .rc1 { color: #1565C0 !important; }
.rc2 { color: #00897B !important; } .rc3 { color: #E65100 !important; }
.rc4 { color: #6a00b8 !important; } .rc5 { color: #c62828 !important; }
.rc6 { color: #0277bd !important; } .rc7 { color: #00695c !important; }

/* ===== CHART ===== */
.chart-pg { padding: 14px; }
.chart-type-tabs { display: flex; border: 2px solid rgba(106,0,184,.25); border-radius: 12px; overflow: hidden; margin-bottom: 14px; box-shadow: 0 2px 16px rgba(106,0,184,.12); }
.ctt { flex: 1; padding: 12px; background: #fff; border: none; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .3s; border-right: 1px solid rgba(106,0,184,.12); }
.ctt:last-child { border-right: none; }
.ctt.active { background: linear-gradient(135deg, #6a00b8, #4a0080); color: #fff; box-shadow: inset 0 2px 10px rgba(0,0,0,.25); }

.chart-filter { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chart-filter::-webkit-scrollbar { display: none; }
.cf-btn { flex-shrink: 0; padding: 7px 15px; border-radius: 20px; border: 2px solid var(--border); background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .25s; }
.cf-btn.active { border-color: #6a00b8; background: linear-gradient(135deg, #6a00b8, #4a0080); color: #fff; box-shadow: 0 4px 14px rgba(106,0,184,.35); }

.chart-wrap  { border: 1px solid rgba(106,0,184,.2); border-radius: 14px; overflow: hidden; overflow-x: auto; box-shadow: 0 4px 20px rgba(106,0,184,.1); }
.chart-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 280px; }
.chart-table th { padding: 11px 10px; background: linear-gradient(135deg, #6a00b8, #4a0080); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-align: center; white-space: nowrap; }
.chart-table th:first-child { text-align: left; }
.chart-table td { padding: 10px; border-bottom: 1px solid #f0e8ff; text-align: center; vertical-align: middle; white-space: nowrap; }
.chart-table td:first-child { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; }
.chart-table tr:nth-child(even) td { background: #fdf8ff; }
.chart-table tr:hover td { background: #f3e8ff; transition: background .2s; }
.ct-a    { color: #e8003d; font-size: 17px; font-weight: 900; }
.ct-b    { color: #1565C0; font-size: 17px; font-weight: 900; }
.ct-c    { color: #00897B; font-size: 17px; font-weight: 900; }
.ct-jodi { color: #6a00b8; font-size: 14px; font-weight: 700; }
.chart-empty { text-align: center; padding: 50px; color: var(--muted); font-size: 13px; line-height: 2.5; }

/* ===== NOTIFICATION ===== */
.notif-pg { padding: 16px; }
.notif-header-card {
  background: linear-gradient(135deg, #3a006a, #5a0096, #7a00c0);
  border-radius: 16px; padding: 20px 16px; margin-bottom: 16px;
  box-shadow: 0 6px 28px rgba(106,0,184,.5);
  display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
}
.notif-header-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255,255,255,.02) 15px, rgba(255,255,255,.02) 30px); }
.notif-header-card .bell-ico  { font-size: 36px; filter: drop-shadow(0 2px 8px rgba(255,215,0,.6)); animation: bellShake 4s ease-in-out infinite; position: relative; z-index: 1; }
@keyframes bellShake { 0%,100% { transform: rotate(0); } 5%,15% { transform: rotate(-12deg); } 10%,20% { transform: rotate(12deg); } 25% { transform: rotate(0); } }
.notif-header-card .notif-title { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 3px; position: relative; z-index: 1; }
.notif-header-card .notif-sub  { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 500; position: relative; z-index: 1; }

.notif-toggle-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 2px solid rgba(106,0,184,.2); border-radius: 14px; padding: 15px 16px; margin-bottom: 12px; box-shadow: 0 3px 16px rgba(106,0,184,.1); }
.notif-toggle-label { display: flex; flex-direction: column; gap: 2px; }
.notif-toggle-label strong { font-size: 13px; font-weight: 800; color: var(--text); }
.notif-toggle-label span   { font-size: 11px; color: var(--muted); }

.switch { position: relative; display: inline-block; width: 54px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: #ddd; border-radius: 30px; transition: .35s; }
.slider:before { position: absolute; content: ''; height: 24px; width: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .35s; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
input:checked + .slider { background: linear-gradient(135deg, #6a00b8, #4a0080); box-shadow: 0 0 12px rgba(106,0,184,.4); }
input:checked + .slider:before { transform: translateX(24px); }

.notif-status-card { background: linear-gradient(135deg, #fdf8ff, #f8f0ff); border: 2px solid rgba(106,0,184,.18); border-radius: 14px; padding: 15px 16px; margin-bottom: 12px; }
.notif-status-card .ns-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.notif-status-card .ns-row:last-child { margin-bottom: 0; }
.ns-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; transition: all .3s; }
.ns-dot.on  { background: #4caf50; box-shadow: 0 0 8px rgba(76,175,80,.6); }
.ns-dot.off { background: #f44336; box-shadow: 0 0 6px rgba(244,67,54,.4); }
.ns-text { font-size: 12px; font-weight: 600; color: var(--text); }
.ns-text small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }

.notif-test-btn { width: 100%; padding: 15px; background: linear-gradient(135deg, #e8003d, #b5002f); color: #fff; border: none; border-radius: 14px; font-size: 13px; font-weight: 800; font-family: 'Poppins', sans-serif; cursor: pointer; letter-spacing: .5px; box-shadow: 0 5px 20px rgba(232,0,61,.4); transition: all .25s; margin-bottom: 12px; position: relative; overflow: hidden; }
.notif-test-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); transform: translateX(-100%); transition: transform .3s; }
.notif-test-btn:hover::after { transform: translateX(100%); }
.notif-test-btn:active { transform: scale(.97); }

.notif-info-box { background: #fff8e1; border: 2px solid #ffe082; border-radius: 14px; padding: 13px 15px; }
.notif-info-box p { font-size: 11px; color: #6d4c00; font-weight: 600; line-height: 1.9; margin: 0; }

.notif-log-section { margin-top: 18px; }
.notif-log-header { font-size: 11px; font-weight: 800; color: #6a00b8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.notif-log-header::before { content: ''; width: 4px; height: 14px; background: linear-gradient(180deg, #6a00b8, var(--gold)); border-radius: 2px; }
.notif-log-list { display: flex; flex-direction: column; gap: 8px; }
.notif-log-item { background: #fff; border: 1px solid rgba(106,0,184,.15); border-radius: 12px; padding: 11px 13px; display: flex; align-items: flex-start; gap: 10px; animation: fadeSlide .3s ease; box-shadow: 0 2px 8px rgba(106,0,184,.06); }
.nli-icon  { font-size: 18px; flex-shrink: 0; }
.nli-body  { flex: 1; }
.nli-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.nli-time  { font-size: 10px; color: var(--muted); }
.notif-log-empty { text-align: center; padding: 35px 20px; color: var(--muted); font-size: 12px; line-height: 2.2; }

/* ===== LOADING OVERLAY ===== */
#loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #0a0018, #180038, #0a0018);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  animation: fadeOutOverlay .5s ease 2s forwards;
}
@keyframes fadeOutOverlay { to { opacity: 0; pointer-events: none; } }
.loading-logo-wrap { animation: popIn .6s cubic-bezier(.34,1.56,.64,1); }
.loading-logo-img  { width: 130px; height: 130px; filter: drop-shadow(0 0 24px rgba(106,0,184,.8)); }
@keyframes popIn { from { transform: scale(0) rotate(-10deg); } to { transform: scale(1) rotate(0); } }
.loading-title {
  font-family: 'Orbitron', monospace; font-size: 20px; font-weight: 900;
  background: linear-gradient(135deg, #FFD700, #ffa500);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 3px;
}
.loading-bar      { width: 180px; height: 4px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; }
.loading-bar-fill { height: 100%; background: linear-gradient(90deg, #FFD700, #ffa500); border-radius: 4px; animation: loadFill 2s ease forwards; }
@keyframes loadFill { from { width: 0; } to { width: 100%; } }

/* ===== NOTIFICATION BANNER ===== */
.notif-banner { background: linear-gradient(135deg, #3a006a, #6a00b8); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all .2s; }
.notif-banner:hover { background: linear-gradient(135deg, #4a0090, #7a00d0); }
.notif-banner-text { flex: 1; font-size: 11px; font-weight: 600; }
.notif-banner-btn  { background: rgba(255,215,0,.2); border: 1px solid rgba(255,215,0,.5); color: var(--gold); padding: 5px 12px; border-radius: 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }

/* ===== BADGE ===== */
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; margin-left: 4px; padding: 0 4px; animation: badgePop .3s cubic-bezier(.34,1.56,.64,1); }
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* ===== RESULT PUSH TOAST ===== */
#result-push-toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-120px);
  width: calc(100% - 28px); max-width: 440px;
  background: linear-gradient(135deg, #3a006a, #6a00b8);
  border: 2px solid rgba(255,215,0,.6); border-radius: 18px;
  padding: 16px 18px; z-index: 9999;
  box-shadow: 0 12px 48px rgba(106,0,184,.7), 0 0 0 3px rgba(255,215,0,.15);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
  opacity: 0; display: flex; align-items: flex-start; gap: 14px;
}
#result-push-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.rpt-bell  { font-size: 32px; animation: bellRing .4s ease 3; flex-shrink: 0; }
@keyframes bellRing { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-20deg); } 75% { transform: rotate(20deg); } }
.rpt-body  { flex: 1; }
.rpt-title { color: #FFD700; font-size: 13px; font-weight: 800; margin-bottom: 4px; letter-spacing: .5px; }
.rpt-result{ display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.rpt-digit { background: rgba(255,255,255,.15); border-radius: 8px; padding: 4px 10px; font-size: 20px; font-weight: 900; color: #fff; font-family: 'Orbitron', monospace; min-width: 36px; text-align: center; }
.rpt-jodi  { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; }
.rpt-time  { color: rgba(255,255,255,.55); font-size: 10px; }
.rpt-close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: rgba(255,255,255,.4); font-size: 18px; cursor: pointer; padding: 2px 6px; }

/* ===== MOBILE BOTTOM NAV ===== */
.bnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #150030, #2a0060);
  display: flex; border-top: 2px solid rgba(255,215,0,.35); z-index: 100;
  box-shadow: 0 -6px 30px rgba(0,0,0,.5);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-b {
  flex: 1; background: none; border: none; color: rgba(255,255,255,.4);
  padding: 10px 4px 8px; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 3px; font-family: 'Poppins', sans-serif; font-size: 9px;
  font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  border-bottom: 3px solid transparent; transition: all .3s; position: relative;
}
.nav-b .ico { font-size: 18px; transition: transform .3s; }
.nav-b.active { color: var(--gold); border-bottom: 3px solid var(--gold); background: rgba(255,215,0,.08); }
.nav-b.active .ico { transform: scale(1.2) translateY(-2px); }
.nav-b.active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--gold); border-radius: 0 0 4px 4px; box-shadow: 0 0 8px rgba(255,215,0,.6); }
.nav-b:hover { color: #fff; }

/* ============================================================
   DESKTOP — ≥ 768px
   ============================================================ */
@media (min-width: 768px) {

  /* Hide mobile bottom nav */
  .bnav { display: none; }
  .content { padding-bottom: 0; overflow-y: visible; max-width: 1400px; margin: 0 auto; width: 100%; }

  /* Show desktop nav in header */
  .desktop-nav {
    display: flex; flex: 1; justify-content: center; gap: 6px;
  }
  .dnav-b {
    padding: 9px 18px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px; color: rgba(255,255,255,.55);
    font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: all .25s; display: flex; align-items: center; gap: 6px;
  }
  .dnav-b:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.2); }
  .dnav-b.active {
    background: linear-gradient(135deg, rgba(106,0,184,.85), rgba(74,0,128,.85));
    border-color: rgba(255,215,0,.5); color: #FFD700;
    box-shadow: 0 0 18px rgba(106,0,184,.45);
  }
  .dico { font-size: 15px; }

  /* Header inner */
  .hdr-inner { padding: 12px 32px; }
  .hdr-right { margin-left: 0; }
  .logo-svg { height: 60px; width: 60px; }
  .logo-txt .title { font-size: 22px; }
  .logo-txt .brand { font-size: 9px; }
  .live-pill { font-size: 11px; padding: 6px 14px; gap: 6px; }
  .live-dot  { width: 8px; height: 8px; }
  .clock     { font-size: 13px; padding: 7px 14px; letter-spacing: 1.2px; }

  /* Date + marquee */
  .date-bar    { font-size: 12px; padding: 9px; letter-spacing: 3px; }
  .marquee-bar { font-size: 12px; padding: 8px 0; }

  /* Panel header */
  .panel-hdr  { padding: 12px 28px; }
  .panel-title{ font-size: 14px; }

  /* Result rows */
  .res-row    { padding: 13px 28px; }
  .r-time     { font-size: 14px; min-width: 105px; }
  .r-divider  { height: 48px; margin: 0 18px; }
  .abc-wrap   { gap: 18px; }
  .abc-lbl    { font-size: 11px; padding: 3px 10px; }
  .dbox       { font-size: 34px; min-width: 34px; }
  .jodi-wrap  { gap: 22px; }
  .jlbl       { font-size: 10px; padding: 3px 9px; }
  .jn         { font-size: 30px; }
  .pdash      { font-size: 20px; letter-spacing: 10px; }

  /* Chart */
  .chart-pg  { padding: 24px 36px; }
  .ctt       { padding: 13px; font-size: 13px; }
  .cf-btn    { padding: 9px 18px; font-size: 12px; border-radius: 22px; }
  .chart-table th { padding: 12px 14px; font-size: 11px; }
  .chart-table td { padding: 11px 14px; }
  .ct-a,.ct-b,.ct-c { font-size: 19px; }
  .ct-jodi   { font-size: 15px; }
  .chart-empty { padding: 60px; font-size: 14px; }

  /* Notification */
  .notif-pg           { padding: 24px 36px; }
  .notif-header-card  { padding: 22px 24px; border-radius: 18px; margin-bottom: 18px; }
  .notif-header-card .bell-ico    { font-size: 44px; }
  .notif-header-card .notif-title { font-size: 18px; }
  .notif-header-card .notif-sub   { font-size: 12px; }
  .notif-toggle-row    { padding: 17px 20px; border-radius: 15px; margin-bottom: 14px; }
  .notif-toggle-label strong { font-size: 14px; }
  .notif-toggle-label span   { font-size: 12px; }
  .notif-status-card   { padding: 17px 20px; border-radius: 15px; margin-bottom: 14px; }
  .ns-text             { font-size: 13px; }
  .ns-text small       { font-size: 11px; }
  .notif-test-btn      { padding: 16px; font-size: 14px; border-radius: 15px; }
  .notif-info-box      { padding: 15px 18px; border-radius: 15px; }
  .notif-info-box p    { font-size: 12px; }
  .notif-log-item      { padding: 13px 15px; }
  .nli-title           { font-size: 13px; }
  .nli-time            { font-size: 11px; }

  /* Toast */
  #result-push-toast { max-width: 520px; padding: 18px 24px; border-radius: 20px; }
  .rpt-bell  { font-size: 36px; }
  .rpt-title { font-size: 15px; }
  .rpt-digit { font-size: 22px; min-width: 42px; padding: 5px 12px; }
  .rpt-jodi  { font-size: 13px; }

  /* Loading */
  .loading-logo-img { width: 160px; height: 160px; }
  .loading-title    { font-size: 26px; letter-spacing: 5px; }
  .loading-bar      { width: 240px; height: 5px; }

  .empty { padding: 60px 20px; font-size: 14px; }
}

/* ============================================================
   LARGE DESKTOP — ≥ 1024px  (2-column results)
   ============================================================ */
@media (min-width: 1024px) {

  .hdr-inner { padding: 13px 48px; }
  .logo-svg  { height: 64px; width: 64px; }
  .logo-txt .title { font-size: 24px; }
  .dnav-b    { padding: 10px 22px; font-size: 13px; }
  .clock     { font-size: 14px; }

  /* ─── 2-column: Single + Jodi side by side ─── */
  .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  /* Both panels always visible on desktop */
  .results-grid .result-panel { display: block !important; }
  .results-grid #tab-jodi { border-left: 2px solid rgba(106,0,184,.12); }

  .panel-hdr  { padding: 14px 36px; }
  .res-row    { padding: 14px 36px; }
  .r-time     { font-size: 15px; min-width: 115px; }
  .dbox       { font-size: 36px; }
  .jn         { font-size: 32px; }

  .chart-pg  { padding: 28px 48px; }
  .notif-pg  { padding: 28px 48px; }
}

/* ============================================================
   EXTRA LARGE — ≥ 1280px
   ============================================================ */
@media (min-width: 1280px) {

  .hdr-inner { padding: 14px 64px; }
  .logo-svg  { height: 66px; width: 66px; }
  .logo-txt .title { font-size: 26px; }
  .dnav-b    { padding: 11px 26px; font-size: 14px; }
  .dico      { font-size: 16px; }

  .panel-hdr  { padding: 16px 48px; }
  .res-row    { padding: 15px 48px; }
  .dbox       { font-size: 38px; min-width: 38px; }
  .jn         { font-size: 34px; }

  .chart-pg  { padding: 32px 64px; }
  .notif-pg  { padding: 32px 64px; }
}
