.results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #0f172a;
  color: white;
  min-height: 100vh;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.header p {
  color: rgba(255, 255, 255, 0.7);
}

.scoreboard-section {
  margin-bottom: 40px;
}

.scoreboard-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.final-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.result-player-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 2px solid transparent;
  position: relative;
}

.result-player-card.winner {
  border-color: #f1c40f;
  background: rgba(241, 196, 15, 0.1);
}

.rank {
  font-size: 2rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 20px;
  min-width: 40px;
}

.winner .rank {
  color: #f39c12;
}

.player-info {
  flex: 1;
}

.player-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 5px;
}

.player-stats {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.crown {
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.movies-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.movies-section p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.movie-result-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  position: relative;
}

.movie-result-card:hover {
  transform: translateY(-2px);
}

.movie-poster-container {
  aspect-ratio: 2/3;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.movie-result-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-poster {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.movie-info {
  padding: 15px;
}

.movie-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.movie-year {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.dislike-btn {
  width: 100%;
  background: rgba(231, 76, 60, 0.9);
  border: none;
  border-radius: 6px;
  padding: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  font-weight: bold;
  margin-top: 8px;
}

.dislike-btn:hover {
  background: #e74c3c;
  transform: scale(1.1);
}

.dislike-btn:disabled {
  background: #27ae60;
  cursor: not-allowed;
}

.actions-section {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.play-again-btn, .home-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.play-again-btn {
  background: #3498db;
  color: white;
}

.play-again-btn:hover {
  background: #2980b9;
}

.home-btn {
  background: #95a5a6;
  color: white;
}

.home-btn:hover {
  background: #7f8c8d;
}

.error-message {
  text-align: center;
  color: #e74c3c;
  font-size: 1.1rem;
  padding: 40px;
}

@media (max-width: 768px) {
  .results-container {
    padding: 15px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .movies-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .result-player-card {
    padding: 15px;
  }
  
  .rank {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
  }
  
  .actions-section {
    flex-direction: column;
    align-items: center;
  }
  
  .play-again-btn, .home-btn {
    width: 200px;
  }
}