/* Tie-Breaker Hole Popup Styles */

.tiebreaker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tiebreaker-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tiebreaker-card {
  background: #1a1a1a;
  border: 3px solid #FFD700;
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3);
}

.tiebreaker-overlay.active .tiebreaker-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.tiebreaker-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.tiebreaker-title {
  color: #FFD700;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tiebreaker-message {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.tiebreaker-button {
  background: #FFD700;
  color: #1a1a1a;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.tiebreaker-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.tiebreaker-button:active {
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Responsive design */
@media (max-width: 768px) {
  .tiebreaker-card {
    padding: 30px 20px;
    max-width: 400px;
  }

  .tiebreaker-title {
    font-size: 1.5rem;
  }

  .tiebreaker-message {
    font-size: 1rem;
  }

  .tiebreaker-icon {
    font-size: 3rem;
  }
}
