#jackpottape-wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  display: flex;
  font-family: 'Lab Grotesque', sans-serif;
  z-index: 999;
  cursor: pointer;
}

#jackpottape-static-block {
  width: 15%;
  background: #1E2839;
  color: #FDECA2;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #444;
}

#jackpottape-static-block span {
  padding: 4px 10px;
  margin: 0 12px;
  background: #383f4e;
  font-weight: 700;
}

#jackpottape-container {
  width: 85%;
  overflow: hidden;
  position: relative;
  background: #0F1727;
}

#jackpottape-track {
  display: flex;
  position: absolute;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.jackpottape-item {
  font-size: 14px;
  line-height: 30px;
  white-space: nowrap;
  margin-right: 30px;
}

.jackpottape-item:nth-child(1) { color: #007B75; }
.jackpottape-item:nth-child(2) { color: #fff; }
.jackpottape-item:nth-child(3) { color: yellow; font-weight: 700; }
.jackpottape-item:nth-child(4) { color: #007B75; }
.jackpottape-item:nth-child(5) { color: #fff; margin-right: 0; }

#mega-jackpot-amount,
#mega-guaranteed-amount,
#major-jackpot-amount,
#major-guaranteed-amount {
  color: inherit;
}

#mega-fallout-amount { color: orange; }
#major-fallout-amount { color: #007B75; }

/* 📱 Mobile styles */
@media (max-width: 768px) {
  #jackpottape-wrapper {
    height: 40px;
    top: 80px;
  }

  #jackpottape-static-block {
    font-size: 14px;
  }

  #jackpottape-track {
    height: 40px;
  }

  .jackpottape-item {
    font-size: 18px;
    line-height: 40px;
  }
}

.progress-bar-container {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FDECA2, #FFD700);
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
}

.jackpot-state {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 6px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.jackpot-state.super-hot {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: white;
  animation: pulse-gold 1.5s infinite;
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

.jackpot-state.hot {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  color: #1E2839;
  animation: pulse-gold 2s infinite;
  box-shadow: 0 0 6px rgba(255, 165, 0, 0.5);
}

.jackpot-state.warm {
  background: linear-gradient(135deg, #FDECA2, #FFF4B3);
  color: #1E2839;
  box-shadow: 0 0 4px rgba(253, 236, 162, 0.4);
}

.jackpot-state.cold {
  background: rgba(255, 255, 255, 0.1);
  color: #FDECA2;
}

.jackpottape-item[data-jackpot="mega"].super-hot {
  color: #FF6B6B !important;
  text-shadow: 0 0 6px rgba(255, 107, 107, 0.8);
}

.jackpottape-item[data-jackpot="mega"].hot {
  color: #FFA500 !important;
  text-shadow: 0 0 4px rgba(255, 165, 0, 0.6);
}

.jackpottape-item[data-jackpot="mega"].warm {
  color: #FDECA2 !important;
  text-shadow: 0 0 2px rgba(253, 236, 162, 0.4);
}

.jackpottape-item[data-jackpot="major"].super-hot {
  color: #FF6B6B !important;
  text-shadow: 0 0 6px rgba(255, 107, 107, 0.8);
}

.jackpottape-item[data-jackpot="major"].hot {
  color: #FFA500 !important;
  text-shadow: 0 0 4px rgba(255, 165, 0, 0.6);
}

.jackpottape-item[data-jackpot="major"].warm {
  color: #FDECA2 !important;
  text-shadow: 0 0 2px rgba(253, 236, 162, 0.4);
}

.super-hot .progress-bar {
  background: linear-gradient(90deg, #FF6B6B, #FF8E53);
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.8);
  animation: glow-pulse 1.5s infinite;
}

.hot .progress-bar {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  box-shadow: 0 0 6px rgba(255, 165, 0, 0.6);
  animation: glow-pulse 2s infinite;
}

.warm .progress-bar {
  background: linear-gradient(90deg, #FDECA2, #FFF4B3);
  box-shadow: 0 0 4px rgba(253, 236, 162, 0.4);
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 215, 0, 0.6); }
  50% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.9); }
}

@media (max-width: 768px) {
  #jackpottape-wrapper {
    height: auto;
    top: 0;
    flex-direction: column;
  }

  #jackpottape-static-block {
    width: 100%;
    font-size: 14px;
    padding: 8px;
    border-right: none;
    border-bottom: 1px solid #444;
    justify-content: center;
  }

  #jackpottape-static-block span {
    padding: 4px 8px;
    margin: 0 4px;
    font-size: 12px;
  }

  #jackpottape-container {
    width: 100%;
    height: 40px;
  }

  #jackpottape-track {
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    white-space: nowrap;
  }

  .jackpottape-item {
    font-size: 16px;
    line-height: 40px;
    margin-right: 20px;
    display: inline-block;
    white-space: nowrap;
  }

  .progress-bar-container {
    width: 35px;
    height: 3px;
    margin-left: 6px;
  }

  .jackpot-state {
    font-size: 8px;
    padding: 1px 3px;
    margin-right: 4px;
  }
}

@media (max-width: 480px) {
  #jackpottape-wrapper {
    height: auto;
    top: 0;
    flex-direction: column;
  }

  #jackpottape-static-block {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid #444;
    justify-content: center;
  }

  #jackpottape-static-block span {
    padding: 4px 8px;
    margin: 0 4px;
    font-size: 14px;
  }

  #jackpottape-container {
    width: 100%;
    height: 50px;
  }

  #jackpottape-track {
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
    white-space: nowrap;
  }

  .jackpottape-item {
    font-size: 24px;
    line-height: 50px;
    margin-right: 25px;
    display: inline-block;
    white-space: nowrap;
  }

  .progress-bar-container {
    width: 45px;
    height: 4px;
    margin-left: 8px;
  }

  .jackpot-state {
    font-size: 9px;
    padding: 2px 4px;
    margin-right: 5px;
  }
}
