/* ===== QUOTES WALL STYLES ===== */
.quotes-container {
  min-height: 100vh;
  background: transparent;
  padding: 20px 0;
}

/* Hero Section */
.quotes-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  margin-bottom: 3rem;
  background: transparent;
}

.quotes-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
  border-radius: 30px;
  display: inline-block;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: var(--emerald);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: min(95%, 900px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--emerald);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: var(--card-bg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: 25px;
  display: inline-block;
  border: 2px solid var(--emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.auth-notice {
  background: rgba(46, 139, 87, 0.2);
  padding: 12px 24px;
  border-radius: 25px;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 139, 87, 0.3);
  margin-top: 10px;
}

.auth-notice a {
  color: var(--emerald);
  text-decoration: underline;
  font-weight: 600;
}

.auth-notice a:hover {
  color: #ffeb3b;
}

/* Quotes Section */
.quotes-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

/* Quote Card */
.quote-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.quote-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 139, 87, 0.4);
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

/* Quote Image */
.quote-image {
  margin-bottom: 2rem;
  position: relative;
}

.student-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--emerald);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.quote-card:hover .student-photo {
  transform: scale(1.05);
  border-color: var(--sea-green);
}

/* Quote Content */
.quote-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.quote-text {
  margin-bottom: 1.5rem;
  flex: 1;
}

.quote-text p {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0;
  position: relative;
  padding: 0 2rem;
}

.quote-text p::before,
.quote-text p::after {
  content: '"';
  font-size: 3rem;
  color: var(--emerald);
  opacity: 0.3;
  position: absolute;
  font-family: serif;
}

.quote-text p::before {
  top: -1rem;
  left: 0;
}

.quote-text p::after {
  bottom: -2rem;
  right: 0;
}

.quote-author {
  margin-bottom: 1.5rem;
}

.quote-author p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--emerald);
  font-weight: 600;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  padding: 8px 16px;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 15px;
  display: inline-block;
}

/* Quote Like Styles */
.quote-actions {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(46, 139, 87, 0.2);
  display: flex;
  justify-content: center;
  width: 100%;
}

.like-btn {
  background: rgba(231, 76, 60, 0.1);
  border: 2px solid #e74c3c;
  color: #e74c3c;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 100px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.like-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.like-btn:hover:not(:disabled) {
  background: #e74c3c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.like-btn:hover:not(:disabled)::before {
  left: 100%;
}

.like-btn.liked {
  background: #e74c3c;
  color: white;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.like-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: #95a5a6;
  color: #95a5a6;
  background: rgba(149, 165, 166, 0.1);
}

.like-btn:disabled:hover {
  background: rgba(149, 165, 166, 0.1);
  color: #95a5a6;
  transform: none;
  box-shadow: none;
}

.like-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.like-btn.liked .like-icon {
  animation: heartBeat 0.6s ease;
}

.like-count {
  font-weight: 700;
  font-size: 15px;
}

/* Loading state */
.like-btn.loading {
  opacity: 0.7;
  cursor: wait;
}

.like-btn.loading .like-icon {
  animation: pulse 1s infinite;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Login prompt animation */
@keyframes bounce {
  0%, 20%, 60%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  80% { transform: translateY(-2px); }
}

.auth-notice {
  animation: bounce 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quotes-hero {
    padding: 2rem 1rem;
  }
  
  .quotes-hero h1 {
    font-size: 2.2rem;
    padding: 1.5rem 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }
  
  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .quote-card {
    padding: 2rem 1.5rem;
  }
  
  .student-photo {
    width: 120px;
    height: 120px;
  }
  
  .quote-text p {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .quotes-hero h1 {
    font-size: 1.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  
  .quote-card {
    padding: 1.5rem 1rem;
  }
  
  .student-photo {
    width: 100px;
    height: 100px;
  }
  
  .quote-text p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .like-btn {
    padding: 8px 16px;
    min-width: 90px;
    font-size: 13px;
  }
}