/* QA Jobs India – Diwali Festive */
.qd-root, .qd-root * { box-sizing: border-box; }
.qd-root { --qd-maroon:#3d0b1f; --qd-maroon2:#6b1435; --qd-gold:#ffc23d; --qd-gold2:#ffe29a; --qd-orange:#ff7a1a; --qd-green:#1faa59; font-family: inherit; line-height: 1.4; }

/* ---------- Banner ---------- */
.qd-banner { position: relative; z-index: 99990; background: linear-gradient(90deg, var(--qd-maroon) 0%, var(--qd-maroon2) 50%, var(--qd-maroon) 100%); color: #fff; padding: 9px 44px 15px; text-align: center; font-size: 15px; overflow: visible; }
.qd-banner::before { /* twinkling stars */ content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 8% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 70%, var(--qd-gold2) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 41% 25%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 65%, var(--qd-gold2) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 79% 35%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 70%, var(--qd-gold2) 50%, transparent 51%);
  animation: qd-twinkle 3s ease-in-out infinite alternate; }
.qd-banner::after { /* marigold toran */ content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 13px; pointer-events: none;
  background: radial-gradient(circle at 7px 6px, #ff9f1c 0 5px, transparent 5.5px) 0 0 / 28px 13px repeat-x, radial-gradient(circle at 21px 6px, #ffd23f 0 5px, transparent 5.5px) 0 0 / 28px 13px repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.qd-inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.qd-msg { font-weight: 600; letter-spacing: .2px; transition: opacity .45s ease, transform .45s ease; min-height: 1.4em; }
.qd-msg.qd-out { opacity: 0; transform: translateY(-6px); }
.qd-count { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,194,61,.14); border: 1px solid rgba(255,194,61,.5); color: var(--qd-gold2); border-radius: 999px; padding: 2px 11px; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qd-cta { display: inline-block; background: linear-gradient(180deg, var(--qd-gold2), var(--qd-gold)); color: var(--qd-maroon) !important; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 0 0 0 rgba(255,194,61,.7); animation: qd-pulse 2.2s infinite; white-space: nowrap; }
.qd-close { position: absolute; right: 10px; top: 50%; transform: translateY(-60%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 17px; line-height: 28px; cursor: pointer; padding: 0; }
.qd-close:hover { background: rgba(255,255,255,.25); }

/* ---------- Aakash kandil ---------- */
.qd-kandil { position: absolute; top: 0; left: 22px; z-index: 99991; width: 46px; transform-origin: 50% 0; animation: qd-swing 3.6s ease-in-out infinite; cursor: pointer; border: 0; background: none; padding: 0; }
.qd-kandil .qd-k-string { display: block; width: 2px; height: 5px; margin: 0 auto; background: linear-gradient(#c9a227, #8a6d10); }
.qd-kandil .qd-k-cap { display: block; width: 22px; height: 7px; margin: 0 auto; border-radius: 3px 3px 0 0; background: linear-gradient(#ffe29a, #c98a00); }
.qd-kandil .qd-k-body { display: block; position: relative; width: 27px; height: 27px; margin: 4px auto 0; transform: rotate(45deg); border-radius: 5px;
  background: conic-gradient(from 45deg, #ff3d7f 0 25%, #ffb703 0 50%, #ff3d7f 0 75%, #ffb703 0); box-shadow: 0 0 22px 6px rgba(255,170,40,.55), inset 0 0 10px rgba(255,255,255,.6); }
.qd-kandil .qd-k-body::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(#fff6c8, rgba(255,200,60,0) 70%); animation: qd-glow 1.6s ease-in-out infinite alternate; }
.qd-kandil .qd-k-tail { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.qd-kandil .qd-k-tail i { display: block; width: 3px; height: 13px; border-radius: 2px; background: linear-gradient(#ff3d7f, #ffb703); }
.qd-kandil .qd-k-tail i:nth-child(2) { height: 18px; }

/* ---------- Diya (shared) ---------- */
.qd-diya { position: relative; display: inline-block; width: 46px; height: 46px; }
.qd-diya .qd-bowl { position: absolute; left: 3px; right: 3px; bottom: 4px; height: 17px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #e8833a, #a3471a); box-shadow: inset 0 3px 0 rgba(255,255,255,.25); }
.qd-diya .qd-bowl::before { content: ""; position: absolute; left: -3px; right: -3px; top: -3px; height: 6px; border-radius: 50%; background: #c45f22; }
.qd-diya .qd-flame { position: absolute; left: 50%; bottom: 20px; width: 12px; height: 20px; margin-left: -6px; border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%; background: radial-gradient(ellipse at 50% 75%, #fff 0 18%, #ffe36a 30%, #ff9a1f 65%, rgba(255,80,0,0) 72%); opacity: 0; transform: scale(.3); transform-origin: 50% 100%; transition: opacity .35s, transform .35s; }
.qd-diya.qd-lit .qd-flame { opacity: 1; transform: scale(1); animation: qd-flicker .9s ease-in-out infinite alternate; }
.qd-diya.qd-lit::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: radial-gradient(rgba(255,190,60,.55), rgba(255,190,60,0) 70%); pointer-events: none; }

/* ---------- Floating button ---------- */
.qd-fab { position: fixed; left: 18px; bottom: 22px; z-index: 99992; display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255,194,61,.6); border-radius: 999px; background: linear-gradient(135deg, var(--qd-maroon), var(--qd-maroon2)); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 22px rgba(61,11,31,.45); animation: qd-bob 2.8s ease-in-out infinite; }
.qd-fab .qd-diya { width: 38px; height: 38px; }
.qd-fab .qd-diya .qd-flame { bottom: 16px; }
.qd-fab:hover { filter: brightness(1.12); }
.qd-fab-label small { display: block; font-weight: 500; font-size: 11px; color: var(--qd-gold2); }

/* ---------- Test Suite panel ---------- */
.qd-overlay { position: fixed; inset: 0; z-index: 99995; background: rgba(15,3,9,.62); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.qd-overlay.qd-open { opacity: 1; pointer-events: auto; }
.qd-panel { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: linear-gradient(180deg, #2a0715, #44102a); color: #fff; border: 1px solid rgba(255,194,61,.45); border-radius: 18px; padding: 22px 20px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: translateY(14px) scale(.98); transition: transform .25s; }
.qd-open .qd-panel { transform: none; }
.qd-panel h3 { margin: 0 0 2px; font-size: 19px; color: var(--qd-gold2); font-family: inherit; }
.qd-sub { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.qd-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 18px; cursor: pointer; padding: 0; }
.qd-row-diyas { display: flex; justify-content: space-between; gap: 4px; padding: 10px 6px 8px; margin-bottom: 12px; border-radius: 14px; background: radial-gradient(ellipse at 50% 120%, rgba(255,170,40,.18), transparent 70%), rgba(0,0,0,.22); }
.qd-row-diyas button { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 12px; transition: transform .15s; }
.qd-row-diyas button:hover:not(:disabled) { transform: translateY(-3px); }
.qd-row-diyas button:disabled { cursor: default; }
.qd-row-diyas .qd-diya { width: 54px; height: 54px; }
.qd-row-diyas .qd-diya .qd-flame { bottom: 22px; }
.qd-hint { display: block; text-align: center; font-size: 11px; color: rgba(255,255,255,.55); margin-top: -6px; margin-bottom: 10px; }
.qd-log { list-style: none; margin: 0; padding: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.qd-log li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; margin: 0 0 5px; background: rgba(255,255,255,.05); }
.qd-log .qd-tc { color: rgba(255,255,255,.9); }
.qd-badge { font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); white-space: nowrap; }
.qd-badge.qd-run { background: rgba(255,194,61,.2); color: var(--qd-gold2); }
.qd-badge.qd-pass { background: rgba(31,170,89,.22); color: #6ff0a4; }
.qd-progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 12px 0 4px; overflow: hidden; }
.qd-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--qd-orange), var(--qd-gold)); transition: width .4s; }
.qd-ptext { font-size: 12px; color: rgba(255,255,255,.65); text-align: right; }
.qd-report { display: none; margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px dashed rgba(111,240,164,.6); background: rgba(31,170,89,.1); text-align: center; }
.qd-report.qd-show { display: block; animation: qd-pop .4s ease; }
.qd-report strong { display: block; font-size: 17px; color: #6ff0a4; margin-bottom: 4px; }
.qd-report p { margin: 0 0 12px; font-size: 13px; color: rgba(255,255,255,.85); }
.qd-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.qd-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none !important; }
.qd-btn-wa { background: #25d366; color: #063b1c !important; }
.qd-btn-ghost { background: rgba(255,255,255,.12); color: #fff !important; }

/* ---------- ₹249 = 100 days offer ---------- */
.qd-otag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #3d0b1f; background: linear-gradient(90deg, #ffe29a, #ffc23d, #ffe29a); background-size: 200% 100%; padding: 4px 10px; border-radius: 999px; animation: qd-shine 3s linear infinite; white-space: nowrap; }
.qd-otag-wrap { text-align: center; margin: 0 0 8px; line-height: 1; }
.qd-offer-card { position: relative; box-shadow: 0 0 0 2px #ffc23d, 0 10px 30px rgba(255,170,40,.35) !important; }
.qd-s { opacity: .6; }
.qd-btn-gold { background: linear-gradient(180deg, #ffe29a, #ffc23d); color: #3d0b1f !important; box-shadow: 0 6px 18px rgba(255,194,61,.35); }
.qd-reward { margin: 0 0 12px; padding: 10px; border-radius: 10px; background: rgba(255,194,61,.12); border: 1px solid rgba(255,194,61,.45); font-size: 13px; color: #fff; }
.qd-reward .qd-btn { margin-top: 8px; }
.qd-offer { text-align: center; max-width: 400px; padding-top: 18px; }
.qd-offer-top { display: flex; justify-content: center; gap: 6px; margin-bottom: 6px; }
.qd-offer-h { margin: 10px 0 4px !important; font-size: 22px !important; color: #fff !important; line-height: 1.25; }
.qd-offer-h span { color: #ffc23d; }
.qd-offer-days { margin: 0 0 12px; font-size: 15px; }
.qd-offer-days s { color: rgba(255,255,255,.55); }
.qd-offer-days b { color: #6ff0a4; font-size: 18px; }
.qd-offer-days em { font-style: normal; font-size: 11px; font-weight: 800; color: #3d0b1f; background: #6ff0a4; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.qd-offer-list { list-style: none; margin: 0 0 12px; padding: 0; text-align: left; font-size: 13px; color: rgba(255,255,255,.88); }
.qd-offer-list li { position: relative; padding: 5px 0 5px 24px; }
.qd-offer-list li::before { content: "✓"; position: absolute; left: 4px; top: 5px; color: #6ff0a4; font-weight: 800; }
.qd-offer-price { margin: 0 0 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.qd-offer-price b { font-size: 26px; color: #ffc23d; margin: 0 4px; }
.qd-offer .qd-btn-gold { width: 100%; justify-content: center; padding: 12px 16px; font-size: 15px; }
.qd-offer-end { margin: 10px 0 2px; font-size: 12px; color: #ffe29a; }
.qd-later { border: 0; background: none; color: rgba(255,255,255,.55); font-size: 12px; cursor: pointer; padding: 6px; text-decoration: underline; }
@keyframes qd-shine { to { background-position: -200% 0; } }

/* ---------- Fireworks canvas ---------- */
.qd-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99996; pointer-events: none; }

/* ---------- Animations ---------- */
@keyframes qd-twinkle { from { opacity: .25; } to { opacity: .75; } }
@keyframes qd-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,194,61,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,194,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,194,61,0); } }
@keyframes qd-swing { 0%,100% { transform: rotate(6deg); } 50% { transform: rotate(-6deg); } }
@keyframes qd-glow { from { opacity: .55; } to { opacity: 1; } }
@keyframes qd-flicker { 0% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.06, .95) rotate(2deg); } 100% { transform: scale(.96, 1.05) rotate(-1deg); } }
@keyframes qd-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes qd-pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .qd-banner { font-size: 13px; padding: 8px 40px 14px 62px; }
  .qd-inner { gap: 6px 10px; }
  .qd-count { font-size: 12px; }
  .qd-kandil { left: 10px; }
  .qd-fab { left: 12px; bottom: 84px; padding: 4px; }
  .qd-fab-label { display: none; }
  .qd-row-diyas .qd-diya { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .qd-root *, .qd-root *::before, .qd-root *::after, .qd-banner::before { animation: none !important; transition: none !important; }
}
