/* Rate Top Play Container Styles */
.rate-top-play-section {
  background: linear-gradient(135deg, #1a1a2f 0%, #232345 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.rate-top-play-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.rate-top-play-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.rate-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  border-top-color: #ffd700;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.rate-top-play-loading {
  text-align: center;
  padding: 40px;
}

.rate-top-play-content {
  background: rgba(35, 35, 69, 0.6);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.rate-play-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.rate-play-info h3 {
  color: #ffd700;
  margin: 0 0 8px 0;
  font-size: 1.4em;
  font-weight: bold;
}

.rate-play-meta {
  color: #a0aec0;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.rate-play-description {
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 15px;
}

.rate-play-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rate-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd700;
  font-weight: 900;
  font-family: 'Oswald', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border: 2px solid #ffd700;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.3);
}

.rate-stat i {
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.rate-play-video {
  margin: 20px 0;
  text-align: center;
}

.rate-play-video video {
  max-width: 100%;
  max-height: 500px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rate-voting-section {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.rate-voting-header {
  text-align: center;
  margin-bottom: 20px;
}

.rate-voting-header h4 {
  color: #ffd700;
  margin: 0 0 8px 0;
  font-size: 1.2em;
}

.rate-voting-header p {
  color: #a0aec0;
  margin: 0;
  font-size: 0.9em;
}

.rate-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.rate-star {
  font-size: 2em;
  color: #666;
  cursor: pointer;
  transition: all 0.1s ease;
  user-select: none;
  padding: 6px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: 900;
}

.rate-star:hover {
  color: #ffd700;
  transform: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #ffd700;
}

.rate-star.active {
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #ffd700;
}

.rate-star.selected {
  color: #ffd700;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.rate-submit-section {
  text-align: center;
  margin-top: 20px;
}

.rate-submit-btn {
  background: #ffd700;
  color: #1a1a2f;
  border: 2px solid #ffd700;
  padding: 12px 30px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.1s ease;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-shadow: none;
  font-family: 'Oswald', sans-serif;
}

.rate-submit-btn:hover {
  transform: none;
  background: #ffed4e;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.rate-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.rate-login-prompt {
  text-align: center;
  padding: 30px;
  background: rgba(26, 26, 47, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.rate-login-prompt h4 {
  color: #ffd700;
  margin: 0 0 15px 0;
  font-size: 1.3em;
}

.rate-login-prompt p {
  color: #a0aec0;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.rate-login-btn {
  background: #2c7be5;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.rate-login-btn:hover {
  background: #1e5bb8;
  transform: translateY(-1px);
}

.rate-results-section {
  margin-top: 25px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rate-average {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd700;
  font-weight: 900;
  font-family: 'Oswald', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border: 2px solid #ffd700;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.3);
  font-size: 1.5em;
}

.rate-average::before {
  content: "★";
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.rate-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd700;
  font-weight: 900;
  font-family: 'Oswald', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border: 2px solid #ffd700;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.3);
  font-size: 1em;
}

.rate-count::before {
  content: "📊";
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.rate-your-vote {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  padding: 15px;
  margin-top: 20px;
}

.rate-your-vote h5 {
  color: #ffd700;
  margin: 0 0 8px 0;
  font-size: 1.1em;
}

.rate-your-vote p {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.9em;
}

.rate-change-btn {
  background: transparent;
  color: #ffd700;
  border: 1px solid #ffd700;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.rate-change-btn:hover {
  background: rgba(255, 215, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rate-top-play-section {
    padding: 15px;
    margin: 15px 0;
  }
  
  .rate-top-play-content {
    padding: 15px;
  }
  
  .rate-play-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .rate-play-stats {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  
  .rate-stars {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px 0;
  }
  
  .rate-star {
    font-size: 2.5em;
    padding: 8px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
  }
  
  .rate-submit-btn {
    padding: 15px 35px;
    font-size: 1.2em;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  .rate-average {
    font-size: 1.2em;
  }
  
  .rate-count {
    font-size: 0.9em;
  }
  
  .rate-results-section {
    gap: 12px;
    flex-direction: column;
  }
  
  .rate-voting-header h4 {
    font-size: 1.3em;
  }
  
  .rate-voting-header p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .rate-top-play-section {
    padding: 12px;
    margin: 10px 0;
  }
  
  .rate-top-play-content {
    padding: 12px;
  }
  
  .rate-play-info h3 {
    font-size: 1.1em;
  }
  
  .rate-stars {
    gap: 6px;
    margin: 20px 0;
  }
  
  .rate-star {
    font-size: 2.2em;
    padding: 6px;
    min-width: 45px;
    min-height: 45px;
  }
  
  .rate-submit-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    width: 100%;
  }
  
  .rate-play-stats {
    gap: 8px;
  }
  
  .rate-average {
    font-size: 1.1em;
    padding: 6px 10px;
  }
  
  .rate-count {
    font-size: 0.85em;
    padding: 6px 10px;
  }
} 