/* ======================================
   TWEETS SECTION
   Twitter/X carousel styling
   ====================================== */

.tweets-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 700px;
}

.tweets-section .section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}

.section-subtitle a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.section-subtitle a:hover {
  text-decoration: underline;
}

.tweets-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.tweet-arrow {
  flex-shrink: 0;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tweet-arrow:hover {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: var(--accent);
  color: #fff;
}

.tweet-card-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: min(520px, 100%);
  min-height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0;
}

.tweet-cards {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.tweet-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  padding: clamp(16px, 3vw, 24px) clamp(14px, 3vw, 28px);
}

.tweet-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

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

.tweet-dots {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  gap: 6px;
}

.tweet-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tweet-dots .dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

.tweet-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
