body.dark-mode {
  background: linear-gradient(135deg, #0a0f1a, #101432);
  color: #EAF2FF;
}
body.light-mode {
  background: linear-gradient(135deg, #f7fbff, #eef2ff);
  color: #0a0f1a;
}

.connect-section {
  text-align: center;
  margin-top: 20px 0 20px;
  margin-bottom: 30px;
}

.connect-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px; 
  color: #c084fc;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}

.connect-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.connect-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 2px solid rgba(168, 85, 247, 0.45);
  color: #e5e7eb;
  transition: all 0.3s ease;
}

.connect-btn i {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

/* Hover (desktop) */
.connect-btn:hover {
 border-color: #a855f7;
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.8),
    0 0 28px rgba(192, 132, 252, 0.6); 
  transform: translateY(-2px);
}
.connect-btn:hover i {
  transform: scale(1.3);
  color: #c084fc;
}

/* Active (mobile tap) */
.connect-btn:active {
  border-color: #9333ea;
  box-shadow:
    0 0 16px rgba(168, 85, 247, 0.9),
    0 0 36px rgba(192, 132, 252, 0.7);
  transform: scale(0.96);
}
.connect-btn:active i {
  transform: scale(1.4);
  color: #c084fc;
}

/* ================= LIGHT MODE ================= */

body.light-mode .connect-title {
  color: #7c3aed;
  text-shadow: 0 0 10px rgba(124, 58, 237, 0.35);
}

body.light-mode .connect-btn {
  border: 2px solid rgba(124, 58, 237, 0.4);
  color: #1e1b4b;
  background: rgba(255, 255, 255, 0.6);
}

/* Hover */
body.light-mode .connect-btn:hover {
  border-color: #7c3aed;
  box-shadow:
    0 0 12px rgba(124, 58, 237, 0.5),
    0 0 24px rgba(168, 85, 247, 0.35);
}

/* Active */
body.light-mode .connect-btn:active {
  border-color: #6d28d9;
  box-shadow:
    0 0 16px rgba(124, 58, 237, 0.6),
    0 0 32px rgba(168, 85, 247, 0.45);
}

/* ------------------------ RESPONSIVE DESIGN -------------------------*/

/* Tablets */
@media (max-width: 900px) {
  .connect-title {
    font-size: 2.5rem;
  }

  .connect-btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  
  .connect-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .connect-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .connect-btn i {
    font-size: 1.2rem;
    color: #c084fc;
  }
}

/* ------------------------ Scroll fade-in -------------------------*/
.connect-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease, box-shadow 0.3s ease;
}

.connect-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
