/**
 * NOBITA Responsive Stylesheet
 * Breakpoints for Mobile, Tablet, Laptop, and High-DPI screens
 */

/* Mobile Nav Drawer */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-neon);
  color: var(--primary);
  font-size: 1.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(10, 10, 14, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-neon);
  z-index: 10000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.95);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-neon);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: var(--primary);
}

.mobile-nav-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary) !important;
  background: rgba(255, 0, 60, 0.12);
  padding-left: 1rem;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

/* Tablet & Smaller Screens Breakpoint */
@media (max-width: 992px) {
  .cyber-nav-wrapper,
  .cyber-nav-links {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cyber-nav-container {
    padding: 0.85rem 1.25rem;
  }
}

/* Mobile Screens Breakpoint */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bio {
    margin: 0 auto 1.5rem auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  
  .hero-cyber-section {
    min-height: 75vh;
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group a {
    width: 100%;
  }
  
  .stats-telemetry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cyber-card {
    padding: 1.25rem;
  }

  .btn-cyber-primary, .btn-cyber-outline {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }
}
