
body {
    background-color: #0f0f0f;
    color: #d6d6d6;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.testimonials-section {
    text-align: center;
    padding: 60px 20px;
}
.testimonials-section h1 {
    color: #00ffff;
    font-size: 2.4em;
    margin-bottom: 10px;
}
.subtitle {
    color: #aaaaaa;
    font-size: 1.1em;
    margin-bottom: 40px;
}
.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: 40px;
}
.testimonial-row {
    display: flex;
    gap: 20px;
    animation: scroll-left 35s linear infinite;
}
.scroll-right .testimonial-row {
    animation: scroll-right 35s linear infinite;
}
.testimonial-card {
    background: #1b1b1b;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 18px;
    padding: 25px;
    width: 260px;
    height: 250px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,255,255,0.4);
}
.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    margin-bottom: 10px;
}
.testimonial-card h3 {
    color: #00ffff;
    margin: 0;
    font-size: 1.1em;
}
.role {
    font-size: 0.9em;
    color: #999;
    margin: 5px 0 10px 0;
}
.quote {
    font-family: 'Merriweather', serif;
    font-size: 0.9em;
    line-height: 1.4;
    color: #d0d0d0;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@media (max-width: 768px) {
    .testimonial-row {
        flex-direction: column;
        animation: none;
    }
    .testimonial-card {
        width: 80%;
        margin: 0 auto 20px;
        height: auto;
    }
}

/* ===========================================
   Phase 5 Step 6 - Mobile-First Optimization
   =========================================== */

@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.6;
    padding: 0;
    margin: 0;
  }

  header, footer, nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .container, .content, main, section {
    width: 95%;
    margin: 0 auto;
    padding: 10px;
  }

  h1, h2, h3, h4 {
    font-size: 1.6rem;
    text-align: center;
  }

  .btn, button, .cta {
    padding: 12px 18px;
    font-size: 14px;
    width: 100%;
    border-radius: 8px;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Dashboard cards and stats layout */
  .dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .wallet-connect-btn, .token-stat-card {
    width: 100%;
  }
}
