/* Reviews Page Specific Styles */

/* Reviews Hero Section */
.reviews-hero {
  background: linear-gradient(135deg, #2d1b4e 0%, #4a1a2e 50%, #8b0000 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d4af37" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.1;
}

.reviews-header {
  position: relative;
  z-index: 2;
}

.reviews-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Reviews Section */
.reviews-section {
  background: #1a0d2e;
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.review-card {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  border: 2px solid #d4af37;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.review-card:hover::before {
  left: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
  border-color: #b8941f;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.player-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.player-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

.player-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #d4af37;
  font-size: 1.1rem;
}

.rating-text {
  color: #d4af37;
  font-weight: 600;
  font-size: 0.9rem;
}

.review-date {
  color: #888;
  font-size: 0.9rem;
}

.review-content {
  margin-bottom: 20px;
}

.review-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Add Review Section */
.add-review-section {
  background: linear-gradient(135deg, #2d1b4e, #1a0d2e);
  border: 2px solid #d4af37;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.add-review-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
}

.add-review-section .section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #d4af37;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #444;
  border-radius: 8px;
  background: #1a0d2e;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Star Rating Input */
.rating-input {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.rating-input input[type="radio"] {
  display: none;
}

.rating-input .star {
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rating-input input[type="radio"]:checked ~ .star,
.rating-input .star:hover,
.rating-input .star:hover ~ .star {
  color: #d4af37;
}

.rating-input input[type="radio"]:checked + .star {
  color: #d4af37;
}

.btn-submit {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a0d2e;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #b8941f, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Active Navigation Link */
.nav-link.active {
  color: #d4af37;
}

.nav-link.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reviews-title {
    font-size: 2.5rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    padding: 20px;
  }

  .review-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .add-review-section {
    padding: 30px 20px;
  }

  .add-review-section .section-title {
    font-size: 2rem;
  }

  .rating-input {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .reviews-title {
    font-size: 2rem;
  }

  .reviews-subtitle {
    font-size: 1.1rem;
  }

  .player-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .review-tags {
    justify-content: flex-start;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }
}
