/* ==========================================================================
   Homepage Diwali offer band (index.php), shown only while the Full Stack + AI
   Diwali early-bird offer runs. Pill, clock and string of lights come from the
   shared css/diwali.css. style.css sets html{font-size:62.5%}, so sizes are px.
   ========================================================================== */

.hdw {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 58px 0 44px; color: #fff7ed;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(251, 146, 60, .28), transparent 65%),
    radial-gradient(600px 300px at 5% 100%, rgba(168, 85, 247, .22), transparent 65%),
    linear-gradient(120deg, #170a2b 0%, #2a0d2c 50%, #3b1407 100%);
}
.hdw-in {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px 48px; align-items: center;
}
.hdw-h2 {
  margin: 16px 0 0; font: 800 clamp(28px, 3.6vw, 44px)/1.08 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; color: #fff;
}
.hdw-h2 span {
  background: linear-gradient(90deg, #fde68a, #f59e0b 45%, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hdw-h2 s { font-size: .5em; font-weight: 600; color: rgba(255, 247, 237, .5); white-space: nowrap; }
.hdw-sub { margin: 12px 0 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: rgba(255, 237, 213, .82); }
.hdw-sub b { color: #fde68a; }

.hdw-side {
  padding: 20px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(253, 230, 138, .38); box-shadow: 0 22px 50px -26px rgba(251, 146, 60, .7);
}
.hdw-label { display: block; font: 700 11.5px/1.3 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #fcd34d; }
.hdw .kdf-dw-clock > span { background: rgba(0, 0, 0, .38); border: 1px solid rgba(253, 230, 138, .25); }
.hdw-ctas { display: grid; gap: 10px; margin-top: 16px; }
.hdw-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 13px;
  font: 700 15.5px/1.2 "Inter", system-ui, sans-serif; text-decoration: none; transition: transform .2s ease, background-color .2s ease;
}
.hdw-btn:hover { transform: translateY(-2px); }
.hdw-btn:focus-visible { outline: 3px solid #fde68a; outline-offset: 3px; }
.hdw-btn--gold { color: #1c0a00; background: linear-gradient(135deg, #fde047, #f59e0b 50%, #ea580c); box-shadow: 0 14px 30px -12px rgba(245, 158, 11, .75); }
.hdw-btn--gold:hover { color: #1c0a00; }
.hdw-btn--ghost { color: #fde68a; border: 1.5px solid rgba(253, 230, 138, .55); background: rgba(253, 230, 138, .06); }
.hdw-btn--ghost:hover { color: #fff7ed; background: rgba(253, 230, 138, .15); }

@media (max-width: 991.98px) {
  .hdw-in { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .hdw { padding: 52px 0 36px; }
  .hdw-side { padding: 16px; }
}
