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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

a {
  color: #e25440;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ff6b5b;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-header {
  text-align: center;
  padding: 50px 20px 40px;
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: #555;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #999;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.opinions-btn {
  margin-top: 24px;
  padding: 0.9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: #e25440;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.01em;
}

.opinions-btn:hover {
  background: #ff6b5b;
  transform: translateY(-1px);
}

.opinions-btn:active {
  transform: translateY(0);
}

.divider {
  width: 60px;
  height: 1px;
  background: #333;
  margin: 0 auto 2rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #1f1f1f;
}

.modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.modal-close {
  background: none;
  border: none;
  color: #555;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #e25440;
}

.opinions-container {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  position: relative;
}

.opinion-count {
  font-size: 0.85rem;
  color: #555;
  font-weight: 400;
  margin-left: 8px;
}

.scroll-top-btn {
  position: sticky;
  bottom: 0;
  align-self: center;
  margin-top: 8px;
  padding: 0.6rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: #e25440;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: #ff6b5b;
  transform: translateY(-1px);
}

.opinion-card {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}

.opinion-card:hover {
  border-color: #333;
}

.opinion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.opinion-workshop {
  font-weight: 500;
  color: #e25440;
  font-size: 0.85rem;
}

.opinion-date {
  font-size: 0.8rem;
  color: #555;
}

.opinion-text {
  color: #888;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
}

.lang-toggle-btn {
  margin-top: 10px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #555;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.lang-toggle-btn:hover {
  color: #999;
}

.no-opinions {
  text-align: center;
  color: #555;
  padding: 40px 20px;
}

/* Testimonials Grid */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-bottom: 40px;
}

.testimonial-card {
  width: calc(50% - 12px);
  max-width: 550px;
  box-sizing: border-box;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: #333;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.15s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }
.testimonial-card:nth-child(4) { animation-delay: 0.25s; }
.testimonial-card:nth-child(5) { animation-delay: 0.3s; }
.testimonial-card:nth-child(6) { animation-delay: 0.35s; }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: #222;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.8;
  color: #888;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #1f1f1f;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 500;
  color: #e0e0e0;
  margin: 0 0 2px;
  font-size: 0.9rem;
}

.author-title {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}

.author-company {
  color: #999;
}

.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1f1f1f;
}

.testimonial-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #999;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #555;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  color: #555;
  font-size: 0.8rem;
  border-top: 1px solid #1a1a1a;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 100%;
    padding: 24px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 30px 16px 20px;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 12px;
    left: 16px;
  }

  .author-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .modal-content {
    max-height: 90vh;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .opinions-container {
    padding: 16px;
  }

  .opinion-card {
    padding: 16px;
  }
}
