/* ==========================================================================
   Horus Games — Lobby Plus (jackpot ticker, sound, daily streak, rank reward,
   teaser details). The game gallery itself lives in lobby-gallery.css.
   Confined strictly to the lobby. Zero interference with slot files.
   ========================================================================== */

/* --- Topbar: Grand Jackpot & Sound Button --- */
.lobby-jackpot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 10px;
  background: linear-gradient(135deg, rgba(30, 48, 42, 0.9), rgba(16, 32, 28, 0.95)),
              url('../assets/images/lobby-stone-1.11.png') center/160px;
  border: 1px solid #e2be6c;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,235,160,0.3);
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.lobby-jackpot-pill:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,245,190,0.35), transparent);
  transform: skewX(-25deg);
  animation: jackpot-sheen 6.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  pointer-events: none;
}
.jackpot-emblem {
  font-size: 16px;
  color: #ffdf88;
  filter: drop-shadow(0 0 5px #e4b842);
}
.jackpot-label {
  font-size: 8.5px;
  letter-spacing: 1.8px;
  color: #eeddb0;
  text-transform: uppercase;
  font-weight: 600;
}
.jackpot-digits {
  font-family: var(--serif, serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff2b8;
  text-shadow: 0 1px 2px #53340f, 0 0 8px rgba(246,200,102,0.6);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
@keyframes jackpot-sheen {
  0%, 15% { transform: translateX(-150%) skewX(-25deg); }
  35%, 100% { transform: translateX(450%) skewX(-25deg); }
}

/* Sound button in lobby header */
.header-sound {
  color: #ffe099;
  filter: drop-shadow(0 1px 1px #67461d);
  transition: transform 0.2s, color 0.2s;
}
.header-sound:hover {
  transform: scale(1.08);
  color: #fff2c4;
}
.header-sound[aria-pressed="true"] svg {
  color: #ffd778;
}

/* --- Daily Streak Calendar --- */
.daily-streak-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 10px 0 6px;
  padding: 8px 12px;
  background: rgba(10, 28, 24, 0.85);
  border: 1px solid rgba(200, 165, 95, 0.4);
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.streak-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
}
.streak-step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(190, 160, 95, 0.45);
  background: rgba(20, 42, 36, 0.9);
  color: #d8cba2;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.streak-step.done .streak-step-circle {
  background: linear-gradient(135deg, #456b3b, #274720);
  border-color: #8ed378;
  color: #e2ffd6;
  box-shadow: 0 0 6px rgba(110,215,85,0.4);
}
.streak-step.today .streak-step-circle {
  background: linear-gradient(135deg, #fff0aa, #d49f38);
  border-color: #fff6d0;
  color: #462c0b;
  font-weight: 700;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255, 215, 90, 0.75);
}
.streak-step.super .streak-step-circle {
  border-color: #ffda70;
  color: #ffdf8d;
}
.streak-step-label {
  font-size: 7.5px;
  color: #c9bea0;
  white-space: nowrap;
}
.streak-step.today .streak-step-label {
  color: #ffe392;
  font-weight: 700;
}

/* --- Level Up Reward Badge in Journey Card --- */
.journey-level-bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #ffdf8a;
  background: rgba(70, 48, 16, 0.65);
  border: 1px solid rgba(225, 185, 90, 0.4);
  padding: 1px 7px;
  border-radius: 10px;
  margin-top: 2px;
}

/* --- Dynamic Missions in Journey Banner --- */
.mission-step-indicator {
  font-size: 8px;
  letter-spacing: 1px;
  color: #f6d892;
  font-weight: 600;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Teaser Details Modal --- */
.teaser-modal-hero {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0 16px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  border: 1px solid #dcb564;
}
.teaser-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 30%;
}
.teaser-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.teaser-feat-box {
  background: rgba(14, 38, 32, 0.8);
  border: 1px solid rgba(215, 180, 95, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
}
.teaser-feat-box h4 {
  font-size: 11px;
  color: #ffdf8e;
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.teaser-feat-box p {
  font-size: 11px;
  color: #d0c8ae;
  margin: 0;
  line-height: 1.4;
}

/* Responsive considerations */
@media (max-width: 1100px), (max-height: 750px) {
  .lobby-jackpot-pill {
    padding: 3px 10px 3px 8px;
    gap: 6px;
  }
  .jackpot-digits {
    font-size: 13px;
  }
  .daily-streak-track {
    padding: 4px 6px;
    margin: 4px 0 2px;
  }
  .streak-step-circle {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
}

@media (max-height: 800px) and (orientation: landscape) {
  .daily-streak-track {
    display: none !important;
  }
}

@media (max-height: 650px) and (orientation: landscape) {
  .journey-level-bonus {
    display: none !important;
  }
  .lobby-jackpot-pill {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lobby-jackpot-pill:before {
    animation: none !important;
  }
}
