/* Website Rating Section */
.website-rating-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 80px;
  text-align: center;
}

.rating-container {
  background: linear-gradient(135deg, #FF5313 0%, #1f1f1f 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid #333;
  transition: all 0.3s ease;
}

.rating-container:hover {
  border-color: #ff6347;
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 99, 71, 0.2);
}

.rating-container h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.rating-container p {
  color: #fcf7f7 !important;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Star Rating */
.star-rating {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  font-size: 3rem;
}

.star-rating i {
  color: #fdf8f8;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.star-rating i:hover,
.star-rating i.hover {
  color: #ffd700;
  transform: scale(1.2) rotate(-10deg);
}

.star-rating i.active {
  color: #ffd700;
  animation: starPulse 0.5s ease;
}

@keyframes starPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3) rotate(15deg);
  }
  100% {
    transform: scale(1);
  }
}

/* Rating Feedback */
.rating-feedback {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 500;
  min-height: 30px;
  color: #ff6347;
  transition: all 0.3s ease;
}

.rating-feedback.show {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rating Message */
.rating-message {
  margin-top: 15px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
}

.rating-message.show {
  opacity: 1;
  animation: slideIn 0.5s ease;
}

.rating-message.success {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.rating-message.info {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Star Glow Effect */
.star-rating i::before {
  position: relative;
  z-index: 1;
}

.star-rating i.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .website-rating-section {
    padding: 30px 15px;
  }

  .rating-container {
    padding: 30px 20px;
  }

  .rating-container h3 {
    font-size: 1.6rem;
  }

  .rating-container p {
    font-size: 1rem;
  }

  .star-rating {
    gap: 10px;
    font-size: 2.5rem;
  }

  .rating-feedback {
    font-size: 1.1rem;
  }
}