/* ===========================================
   DYNAMIC CONTENT STYLES
   SpinGrande Micro-Updates System
   =========================================== */

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 0.98));
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(196, 160, 82, 0.2);
}

.faq-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #C4A052;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(196, 160, 82, 0.3);
}

.faq-item.open {
  border-color: rgba(196, 160, 82, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #C4A052;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #C4A052;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* User Comments */
.comments-section {
  margin: 3rem 0;
}

.comments-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #C4A052;
  margin-bottom: 1.5rem;
  text-align: center;
}

.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.comment-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 0.98));
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(196, 160, 82, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.comment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 160, 82, 0.4);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C4A052, #8B7355);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0a0a;
}

.comment-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-author {
  font-weight: 600;
  color: #fff;
}

.comment-location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.comment-rating {
  color: #FFD700;
  font-size: 1rem;
  letter-spacing: 2px;
}

.comment-text {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.comment-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Changelog */
.changelog-section {
  background: rgba(196, 160, 82, 0.05);
  border-left: 3px solid #C4A052;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
}

.changelog-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #C4A052;
  margin-bottom: 1rem;
}

.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-date {
  font-size: 0.8rem;
  color: #C4A052;
  white-space: nowrap;
  min-width: 80px;
}

.changelog-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.changelog-updated {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
  text-align: right;
}

/* Forum Quotes */
.quote-section {
  margin: 2rem 0;
}

.quotes-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #C4A052;
  margin-bottom: 1rem;
  text-align: center;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.forum-quote {
  background: linear-gradient(135deg, rgba(196, 160, 82, 0.1), rgba(196, 160, 82, 0.05));
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(196, 160, 82, 0.2);
}

.forum-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(196, 160, 82, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.forum-quote p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 1rem;
  font-style: italic;
}

.forum-quote footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-quote cite {
  color: #C4A052;
  font-style: normal;
  font-weight: 500;
}

.quote-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Slot Comparison Table */
.comparison-section {
  margin: 2rem 0;
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #C4A052;
  margin-bottom: 1rem;
  text-align: center;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(196, 160, 82, 0.2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 26, 26, 0.95);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: rgba(196, 160, 82, 0.1);
  color: #C4A052;
  font-weight: 600;
}

.comparison-table td {
  color: rgba(255, 255, 255, 0.8);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.comparison-table td.highlight {
  color: #4CAF50;
  font-weight: 600;
}

.comparison-table tr:hover td {
  background: rgba(196, 160, 82, 0.05);
}

/* Stats Section */
.stats-section {
  margin: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-item {
  background: linear-gradient(135deg, rgba(196, 160, 82, 0.1), rgba(196, 160, 82, 0.05));
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid rgba(196, 160, 82, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #C4A052;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Trust Badge */
.trust-badge {
  display: inline-block;
  background: rgba(196, 160, 82, 0.1);
  border: 1px solid rgba(196, 160, 82, 0.3);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #C4A052;
  margin: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section,
  .comment-card,
  .forum-quote {
    padding: 1.25rem;
  }

  .faq-title,
  .comments-title {
    font-size: 1.5rem;
  }

  .comments-grid {
    grid-template-columns: 1fr;
  }

  .changelog-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
