/* Results Page Specific Styles */

.winning-numbers {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.number-balls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.number-ball {
  width: 80px;
  height: 80px;
  background-color: var(--color-white);
  color: var(--color-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: ballDrop 0.6s ease-out;
}

.number-ball:nth-child(1) {
  animation-delay: 0.1s;
}
.number-ball:nth-child(2) {
  animation-delay: 0.2s;
}
.number-ball:nth-child(3) {
  animation-delay: 0.3s;
}
.number-ball:nth-child(4) {
  animation-delay: 0.4s;
}
.number-ball:nth-child(5) {
  animation-delay: 0.5s;
}
.number-ball:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes ballDrop {
  0% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
  60% {
    transform: translateY(10px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.prize-breakdown {
  margin-top: 3rem;
}

.prize-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.prize-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.prize-card .prize-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prize-card.jackpot .prize-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
}

.prize-card.second .prize-header {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-white);
}

.prize-card.runner-up .prize-header {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
}

.prize-icon {
  font-size: 2.5rem;
}

.prize-card h4 {
  margin: 0;
  font-size: 1.25rem;
}

.prize-card .prize-body {
  padding: 1.5rem;
}

.match-info {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.winner-info {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.winner-location {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.results-table-container {
  overflow-x: auto;
  margin-top: 2rem;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.results-table thead {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.results-table th {
  padding: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.results-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table tbody tr:hover {
  background-color: var(--color-light);
}

.mini-balls {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .number-ball {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .results-table {
    font-size: 0.875rem;
  }

  .results-table th,
  .results-table td {
    padding: 0.75rem 0.5rem;
  }
}
