:root {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --accent: #f093fb;
  --dark: #1a202c;
  --gray: #718096;
  --light: #f7fafc;
  --white: #ffffff;
  --success: #48bb78;
  --danger: #f56565;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInLeft 0.8s ease;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.hero-badge i {
  color: #fbbf24;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image {
  width: 100%;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 120px 20px;
  background: var(--white);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
}

.feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Community Feed Section */
.community-feed {
  padding: 120px 20px;
  background: var(--light);
}

.feed-container {
  max-width: 800px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-post {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feed-post:hover {
  box-shadow: var(--shadow-md);
}

.post-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.post-user-info {
  flex: 1;
  min-width: 0;
}

.post-username {
  font-weight: 600;
  color: var(--dark);
  font-size: 16px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-role {
  font-size: 13px;
  color: var(--gray);
}

.post-time {
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.post-content {
  padding: 20px;
}

.post-text {
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 16px;
  word-break: break-word;
}

.post-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.post-image-small {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

.post-text-truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.post-tag {
  background: var(--light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.post-actions {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 24px;
}

.post-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 0;
}

.post-action:hover {
  color: var(--primary);
}

.post-action.active {
  color: var(--danger);
}

.post-action i {
  font-size: 18px;
}

.feed-cta {
  text-align: center;
}

/* Teachers Section - GÜNCELLENDİ */
.teachers {
  padding: 120px 20px;
  background: var(--white);
}

.teachers-container {
  max-width: 1400px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.teacher-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.teacher-header {
  position: relative;
  height: 120px;
  background: var(--gradient);
}

.teacher-avatar-wrapper {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.teacher-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid var(--white);
  background: var(--white);
  overflow: hidden;
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-body {
  padding: 56px 24px 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.teacher-name {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.teacher-title {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.teacher-bio {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* YENİ: Öğretmen İstatistikleri Grid */
.teacher-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--light);
  border-radius: 12px;
}

.teacher-stat {
  text-align: center;
  padding: 8px;
}

.teacher-stat:hover {
  background: #e8f4ff;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.teacher-stat-number {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 4px;
}

.teacher-stat-label {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

.teacher-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.teacher-specialty {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.teacher-action {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.teacher-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.teachers-cta {
  text-align: center;
}

/* Courses Section */
.courses {
  padding: 120px 20px;
  background: var(--light);
}

.courses-container {
  max-width: 1400px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.loading-text {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  padding: 40px;
}

.loading-text i {
  margin-right: 10px;
}

.courses-cta {
  text-align: center;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* How It Works */
.how-it-works {
  padding: 120px 20px;
  background: var(--white);
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
}

.step-icon {
  width: 120px;
  height: 120px;
  margin: 40px auto 24px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.step:hover .step-icon {
  background: var(--gradient);
  color: var(--white);
  transform: scale(1.1);
}

.step h3 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.step p {
  color: var(--gray);
  line-height: 1.8;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: relative;
  top: 80px;
}

/* CTA Section */
.cta {
  padding: 120px 20px;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--light);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
  }

  .hero-image {
    width: 100%;
    height: 400px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .steps-container {
    flex-direction: column;
    gap: 48px;
  }

  .step-connector {
    display: none;
  }

  .teachers-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 15px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 28px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta h2 {
    font-size: 32px;
  }

  .cta p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .courses-container,
  .teachers-container {
    grid-template-columns: 1fr;
  }

  .feed-container {
    padding: 0 10px;
  }

  /* YENİ: Öğretmen kartları responsive */
  .teacher-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .teacher-stat-number {
    font-size: 16px;
  }

  .teacher-stat-label {
    font-size: 10px;
  }

  .teacher-avatar {
    width: 90px;
    height: 90px;
  }

  .post-image-small {
    max-height: 250px;
  }

  .teacher-body {
    padding: 56px 20px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  /* YENİ: Öğretmen kartları mobil */
  .teacher-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .teacher-stat {
    padding: 6px;
  }

  .teacher-stat-number {
    font-size: 16px;
  }

  .teacher-stat-label {
    font-size: 10px;
  }

  .teacher-name {
    font-size: 20px;
  }

  .post-image-small {
    max-height: 200px;
  }

  .post-header {
    padding: 16px;
  }

  .post-content {
    padding: 16px;
  }

  .post-actions {
    padding: 12px 16px;
    gap: 16px;
  }
}

/* YENİ: Animasyon için ek stiller */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* YENİ: Hata mesajları için */
.error-text {
  color: var(--danger);
  text-align: center;
  padding: 20px;
  background: rgba(245, 101, 101, 0.1);
  border-radius: 12px;
  margin: 20px 0;
}

.error-text i {
  margin-right: 10px;
}

/* YENİ: Boş durumlar için */
.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--gray);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #cbd5e0;
}

/* YENİ: Kart animasyonları için */
.animated-card {
  animation: cardAppear 0.5s ease forwards;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Feed post stilleri - var olan CSS'e ekleyin */
.feed-post {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feed-post:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Avatar stilleri */
.teacher-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4a5fff;
  background: #f8f9fa;
}

.teacher-avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a5fff, #6c63ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #4a5fff;
}

.teacher-avatar-icon i {
  font-size: 20px;
  color: white;
}

.student-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20c997, #0ca678);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #20c997;
}

.student-avatar i {
  font-size: 20px;
  color: white;
}

.avatar-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.avatar-link:hover {
  transform: scale(1.05);
}

.post-user-info {
  flex: 1;
}

.post-username-link {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.post-username-link:hover {
  color: #4a5fff;
  text-decoration: underline;
}

.post-username {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
}

.post-role {
  font-size: 12px;
  color: #718096;
  background: #f7fafc;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 2px;
}

.post-time {
  font-size: 12px;
  color: #a0aec0;
}

.post-content {
  margin-bottom: 16px;
}

.post-text {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 12px;
}

.post-image-small {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.post-tag {
  background: #edf2f7;
  color: #4a5568;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e9ecef;
  padding-top: 16px;
}

.post-action {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 8px;
}

.post-action:hover {
  background: #f7fafc;
  color: #4a5fff;
}

.post-action.active {
  color: #ff4757;
}

.post-action.active i {
  color: #ff4757;
}

/* Çözüm butonları */
.solution-button {
  margin-left: auto;
  background: linear-gradient(135deg, #4a5fff, #6c63ff);
  color: white !important;
  font-weight: 500;
  border: none !important;
  text-decoration: none;
  padding: 8px 16px !important;
}

.solution-button:hover {
  background: linear-gradient(135deg, #3a4fff, #5c53ff) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 95, 255, 0.3);
}

.solution-available {
  background: linear-gradient(135deg, #20c997, #0ca678) !important;
}

.teacher-solution {
  background: linear-gradient(135deg, #ff6b6b, #ff4757) !important;
}

.no-solution {
  background: #e2e8f0 !important;
  color: #a0aec0 !important;
  cursor: not-allowed !important;
}

.no-solution:hover {
  background: #e2e8f0 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .post-header {
    flex-wrap: wrap;
  }

  .post-time {
    width: 100%;
    text-align: right;
    margin-top: 4px;
  }

  .post-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .solution-button {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

/* YENİ: Scroll animasyonları için */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}
/* feed-post içine ekleyin */
.post-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

.solution-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solution-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.solution-button.no-solution {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}

.solution-button.no-solution:hover {
  transform: none;
  box-shadow: none;
}

.solution-button.teacher-solution {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.solution-button.solution-available {
  background: linear-gradient(135deg, #4ade80 0%, #3b82f6 100%);
}

/* Responsive için */
@media (max-width: 768px) {
  .post-actions {
    gap: 10px;
  }

  .solution-button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .solution-button span {
    display: none;
  }

  .solution-button i {
    margin-right: 0;
  }
}
