.tournament-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.rank-panel,
.jackpot-panel {
  background: #111;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 24px;
}

.rank-panel h2,
.jackpot-panel h2 {
  color: #ffd76a;
  margin-bottom: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 5px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #252525;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-no {
  color: #ffd76a;
  font-weight: 900;
}

.rank-row b {
  color: #fff;
  font-size: 12px;
}

.rank-row span:last-child {
  color: #ffd76a;
  font-weight: 800;
}

.time-jackpot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.time-jackpot div {
  background: #090909;
  border: 1px solid #d4a12a;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.time-jackpot strong {
  display: block;
  font-size: 42px;
  color: #ffd76a;
  line-height: 1;
}

.time-jackpot span {
  color: #ffd76a;
  font-weight: 800;
}

.jackpot-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.jackpot-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.82)), var(--jp-bg);
  background-size: cover;
  background-position: center;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: 0.35s ease;
}

.jackpot-card:hover {
  transform: translateY(-5px);
  border-color: #ffd76a;
}

.jackpot-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 5;
}

.jackpot-card:hover .jackpot-card-overlay {
  opacity: 1;
  visibility: visible;
}

.jp-play-btn {
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe17a, #c99015);
  color: #111;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(255, 215, 106, 0.55);
}

.jp-icon,
.jackpot-card h3,
.jackpot-card p {
  position: relative;
  z-index: 2;
}

.jp-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.jackpot-card h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.jp-running {
  color: #ffd76a;
  font-size: 20px;
  font-weight: 900;
  transition: 0.25s ease;
}

.jp-running.bump {
  transform: scale(1.08);
  color: #fff;
}

.running-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: #ffd76a;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  .tournament-grid {
    grid-template-columns: 1fr;
  }

  .jackpot-grid-mini {
    grid-template-columns: 1fr;
  }

  .time-jackpot {
    grid-template-columns: repeat(3, 1fr);
  }
}
