/* ---------------------------
   RESPONSIVE / MOBILE ADJUSTMENTS
--------------------------- */

/* Show menu toggle and hide links on small screens */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 10px; 
    border-radius: 8px; 
    background: rgba(255,255,255,0.9); 
    border: 0; 
    cursor: pointer; 
  }
}

/* Mobile nav open state */
.nav-links.mobile-open {
  position: absolute;
  top: 70px;
  right: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.94));
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(16,24,40,0.12);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
  min-width: 200px;
  max-width: 90vw;
  overflow: hidden;
  word-wrap: break-word;
}

/* Hero adjustments */
@media (max-width: 760px) {
  .hero { padding: 30px 18px; }
  .brand-text { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .hero-left h1 { font-size: 1.8rem; }
  .wallet-card { 
    flex-direction: column; 
    gap: 8px; 
    align-items: flex-start; 
    max-width: 100%;
  }
  .wallet-card .wc-right { border: 2ps solid yellow;
    align-self: stretch; 
    display: flex; 
    justify-content: flex-end; 
  }
  .image-frame, .tweet-frame, .image-frame-lg { max-width: 100%; }
}

/* Extra small screens */
@media (max-width: 420px) {
  .nav-inner { padding: 12px; }
  .content-width { padding: 0 12px; }
  .partner-img { height: 48px; width: auto; object-fit: contain; }
  .token-grid { gap: 12px; grid-template-columns: 1fr !important; }
  .crypto-cta { width: 100%; text-align: center; padding: 10px; }
}

/* Additional safeguards for ultra-small devices */
@media (max-width: 360px) {
  .hero-left h1 { font-size: 1.6rem; }
  .wallet-card { padding: 8px; }
  .roadmap-title { font-size: 1.6rem; padding: 10px 15px; }
  .timeline-item { padding-left: 15px !important; padding-right: 15px !important; }
}
