
body {
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Fade-In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about-section {
  text-align: center;
  padding: 80px 20px 50px;
  background: #0f0f0f;
  box-shadow: 0 0 25px rgba(0,255,255,0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.about-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: url('{{ url_for('static', filename='img/memeless-logo.png') }}') no-repeat center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.about-section h1,
.about-section p,
.story p,
.mission-points,
.stats-grid,
.cta,
.founder-note {
  position: relative;
  z-index: 2;
}
.about-section h1 {
  color: #0ff;
  font-size: 2.5em;
  margin-bottom: 15px;
}
.about-section p {
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.7;
  color: #d0d0d0;
}
.story p {
  font-style: italic;
  color: #aaa;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 800px;
}
.stat-card {
  background: #1b1b1b;
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,255,255,0.05);
  transition: 0.3s ease;
}
.stat-card:hover {
  box-shadow: 0 0 25px rgba(0,255,255,0.3);
  transform: translateY(-5px);
}
.stat-card h3 {
  color: #0ff;
  margin: 10px 0 5px;
}
.stat-card p {
  color: #ccc;
  font-size: 0.9em;
}

/* Mission Points */
.mission-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}
.mission-points div {
  background: #1b1b1b;
  border-radius: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(0,255,255,0.3);
  color: #0ff;
  font-weight: 500;
  box-shadow: 0 0 15px rgba(0,255,255,0.05);
}

/* CTA */
.cta {
  margin-top: 40px;
  margin-bottom: 40px;
}
.cta p {
  color: #ccc;
  margin-bottom: 20px;
}
.cta-btn {
  background: #0ff;
  color: #000;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin: 5px 10px;
  transition: 0.3s ease;
}
.cta-btn:hover {
  background: #00bfff;
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
}
.founder-note {
  color: #777;
  margin-top: 40px;
  font-style: italic;
}

/* Support Section */
.support-section {
  text-align: center;
  padding: 60px 20px;
  background: #111;
  border-top: 1px solid rgba(0,255,255,0.15);
}
.support-section h2 {
  color: #0ff;
  font-size: 2em;
  margin-bottom: 10px;
}
.support-section p {
  color: #ccc;
  margin-bottom: 25px;
}
.support-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.support-btn {
  background: #0ff;
  color: #000;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}
.support-btn:hover {
  background: #00bfff;
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
}

/* Contact Form Section */
.contact-container {
  max-width: 500px;
  margin: 80px auto;
  padding: 40px;
  background: rgba(0,0,0,0.7);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
  text-align: center;
}
.contact-container h1 {
  color: #0ff;
  margin-bottom: 15px;
}
.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-container input,
.contact-container textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #0ff;
  background: rgba(20,20,20,0.8);
  color: #fff;
  font-size: 15px;
}
.sendBtn {
  background: #0ff;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.sendBtn:hover {
  background: #00bfff;
}
.contact-response {
  margin-top: 15px;
  color: #0ff;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-points {
    flex-direction: column;
  }
  .contact-container {
    width: 85%;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-section::before {
    width: 250px;
    height: 250px;
  }
}

/* ===========================================
   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%;
  }
}
