/* ══════════════════════════════════════════════════════════
   BonusRiver Hero  +  Launch Promo Strip
   ══════════════════════════════════════════════════════════ */

/* ── Main Hero ─────────────────────────────────────────── */
.br-hero {
  padding: 52px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #F8FBFD 0%, #EEF5F9 100%);
  border-bottom: 1px solid #E2E8F0;
}

.br-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ── Title ─────────────────────────────────────────────── */
.br-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
}

.br-hero-accent {
  color: #0AA6D6;
  -webkit-text-fill-color: #0AA6D6;
}

/* ── Subtitle ──────────────────────────────────────────── */
.br-hero-sub {
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 460px;
}

/* ── Hero search bar ───────────────────────────────────── */

/* Override gs-wrap display:none at 768px and constrained widths */
.br-hero .gs-wrap.br-hero-search-wrap {
  display: block !important;
  max-width: 100%;
  margin: 0 auto 28px;
  z-index: 100;
  position: relative;
  flex-shrink: unset;
}

.br-hero .gs-bar.br-hero-gs-bar {
  background: #fff;
  border: 1px solid #C4CDD5;
  border-radius: 14px;
  height: 56px;
  width: 100% !important;
  padding: 0 24px;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.br-hero .gs-bar.br-hero-gs-bar:focus-within {
  border-color: #0AA6D6;
  box-shadow: 0 0 0 3px rgba(10, 166, 214, 0.12), 0 4px 20px rgba(0, 0, 0, 0.08);
}

.br-hero .br-hero-gs-bar .gs-icon {
  color: #94A3B8;
  font-size: 18px;
}

.br-hero .br-hero-gs-bar:focus-within .gs-icon {
  color: #0AA6D6;
}

.br-hero .gs-input.br-hero-gs-input {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
}

.br-hero .gs-input.br-hero-gs-input::placeholder {
  color: #94A3B8;
}

.br-hero .br-hero-gs-input::-webkit-search-cancel-button { display: none; }

/* Dropdown: full-width of search bar */
.br-hero .gs-dropdown.br-hero-gs-dropdown {
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: 100%;
  border-radius: 14px;
  top: calc(100% + 6px);
}

/* ── Category nav cards ────────────────────────────────── */
.br-hero-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 100%;
}

.br-hero-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px 16px;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.br-hero-pill i {
  font-size: 1.3rem;
  color: #0AA6D6;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}

.br-hero-pill:hover {
  background: #fff;
  border-color: #0AA6D6;
  color: #055A78;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 166, 214, 0.12);
}

/* Dice — tumble roll */
.br-hero-pill:hover .fa-dice {
  animation: iconRoll 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes iconRoll {
  0%   { transform: rotate(0deg) scale(1); }
  40%  { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Gamepad — wiggle like playing */
.br-hero-pill:hover .fa-gamepad {
  animation: iconWiggle 0.5s ease;
}
@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg); }
  20%  { transform: rotate(-12deg); }
  40%  { transform: rotate(10deg); }
  60%  { transform: rotate(-8deg); }
  80%  { transform: rotate(5deg); }
}

/* Gift — bounce up like unwrapping */
.br-hero-pill:hover .fa-gift {
  animation: iconBounce 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes iconBounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-6px) scale(1.15); }
  50%  { transform: translateY(0) scale(0.95); }
  70%  { transform: translateY(-3px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

/* Microchip — pulse like processing */
.br-hero-pill:hover .fa-microchip {
  animation: iconPulse 0.6s ease;
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  25%  { transform: scale(1.2); opacity: 0.7; }
  50%  { transform: scale(0.95); opacity: 1; }
  75%  { transform: scale(1.1); opacity: 0.85; }
}

/* Pen — tilt like writing */
.br-hero-pill:hover .fa-pen-nib {
  animation: iconWrite 0.5s ease;
}
@keyframes iconWrite {
  0%   { transform: rotate(0deg) translateY(0); }
  25%  { transform: rotate(-15deg) translateY(-2px); }
  50%  { transform: rotate(5deg) translateY(0); }
  75%  { transform: rotate(-8deg) translateY(-1px); }
  100% { transform: rotate(0deg) translateY(0); }
}

/* Shield — pop and glow like activating */
.br-hero-pill:hover .fa-shield-halved {
  animation: iconShield 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes iconShield {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25) rotate(-5deg); }
  100% { transform: scale(1) rotate(0deg); }
}


/* ══════════════════════════════════════════════════════════
   Launch Promo Strip (compact countdown)
   ══════════════════════════════════════════════════════════ */
.launch-strip {
  padding: 28px 0;
}

.launch-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #F8FBFD 0%, #EEF5F9 100%);
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 20px;
  padding: 32px 40px;
  box-shadow: 0 2px 12px rgba(17,24,39,0.05);
}

/* ── Strip image ───────────────────────────────────────── */
.launch-strip-img {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #EEF5F9, #E2E8F0);
  flex-shrink: 0;
}

.launch-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.launch-strip-badge {
  display: none;
}

/* ── Strip info ────────────────────────────────────────── */
.launch-strip-info {
  min-width: 0;
}

.launch-strip-info .launch-hero-tag {
  color: #0AA6D6;
}

.launch-strip-info .launch-hero-tag-dot {
  background: #0AA6D6;
}

.launch-strip-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin: 4px 0 0;
}

.launch-strip-info .launch-hero-provider {
  color: #6B7280;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.launch-strip-info .launch-hero-provider a {
  color: #055A78;
  font-weight: 600;
}

.launch-strip-info .launch-hero-provider a:hover {
  color: #0AA6D6;
}

/* ── Strip countdown ───────────────────────────────────── */
.launch-strip-countdown {
  text-align: center;
}

.launch-strip-countdown .launch-cd-block {
  min-width: 66px;
  padding: 12px 8px 10px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.launch-strip-countdown .launch-cd-num {
  font-size: 1.8rem;
  color: #111827;
}

.launch-strip-countdown .launch-cd-label {
  color: #9CA3AF;
  font-size: 0.65rem;
}

.launch-strip-countdown .launch-cd-sep {
  color: #D1D5DB;
  font-size: 1.3rem;
  padding-bottom: 12px;
}

.launch-strip-countdown .launch-hero-dates {
  color: #9CA3AF;
  font-size: 0.72rem;
  margin: 4px 0 0;
}

/* ── Strip CTA ─────────────────────────────────────────── */
.launch-strip-cta .launch-hero-btn {
  padding: 14px 30px;
  font-size: 0.9rem;
  white-space: nowrap;
  background: #055A78;
  color: #fff;
  box-shadow: 0 2px 8px rgba(5,90,120,0.15);
  border-radius: 12px;
  transition: background 0.2s, box-shadow 0.2s;
}
.launch-strip-cta .launch-hero-btn:hover {
  background: #067A9E;
  box-shadow: 0 4px 14px rgba(5,90,120,0.25);
}
.launch-strip-cta .launch-hero-btn i {
  margin-left: 6px;
  font-size: 0.75rem;
}

/* ── Shared reusable pieces ────────────────────────────── */
.launch-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0AA6D6;
  text-transform: uppercase;
}

.launch-hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0AA6D6;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.launch-hero-provider {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 8px;
}

.launch-hero-provider a {
  color: #055A78;
  text-decoration: none;
  font-weight: 600;
}

.launch-hero-provider a:hover {
  color: #0AA6D6;
}

.launch-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}

.launch-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
  padding: 8px 5px 6px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.launch-cd-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.launch-cd-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-top: 3px;
}

.launch-cd-sep {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #CBD5E1;
  padding-bottom: 12px;
}

.launch-hero-dates {
  font-size: 0.8rem;
  color: #6B7280;
  margin: 4px 0 0;
}

.launch-hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0AA6D6 0%, #055A78 100%);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(10, 166, 214, 0.25);
}

.launch-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 166, 214, 0.35);
}

.launch-countdown--done .launch-cd-num {
  color: #0AA6D6;
}

.launch-hero-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-hero-img--placeholder::after {
  content: "Jelly Express";
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ══════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .br-hero {
    padding: 36px 0 28px;
  }

  .br-hero-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .br-hero-pill {
    padding: 14px 8px 12px;
  }

  .launch-strip-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    justify-items: center;
    padding: 20px;
  }

  .launch-strip-img {
    width: 120px;
    height: 120px;
  }

  .launch-strip-info {
    text-align: center;
  }

  .launch-strip-info .launch-hero-tag {
    justify-content: center;
  }

  .launch-countdown {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .br-hero {
    padding: 32px 0 24px;
  }

  .br-hero-title {
    font-size: 2.1rem;
    letter-spacing: -1px;
  }

  .br-hero-sub {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .br-hero-gs-bar {
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    gap: 10px;
  }

  .br-hero-gs-input {
    font-size: 14px;
  }

  .br-hero-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .br-hero-pill {
    padding: 12px 6px 10px;
    font-size: 0.75rem;
    border-radius: 10px;
  }

  .br-hero-pill i {
    font-size: 1.1rem;
  }

  .launch-strip {
    padding: 16px 0;
  }

  .launch-cd-block {
    min-width: 44px;
    padding: 6px 4px 5px;
  }

  .launch-cd-num {
    font-size: 1.1rem;
  }
}
