/* Nether Forge — 响应式 */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-dashboard {
    order: 2;
  }

  .hero-info {
    order: 1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .nether-body {
    padding-bottom: calc(var(--footer-gap) + 8px);
  }

  .nether-nav__inner {
    min-height: var(--nav-height);
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nether-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    margin: 0;
    background: linear-gradient(180deg, rgba(13, 13, 15, 0.99) 0%, rgba(18, 18, 24, 0.98) 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
  }

  .nether-nav__links.active {
    display: flex;
  }

  .nether-nav__link {
    justify-content: flex-start;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .section--page {
    padding-top: 32px;
  }

  .forge-form .form-row {
    grid-template-columns: 1fr;
  }

  .drawer-panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nether-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    height: 120px;
  }

  .page-title,
  .section-title {
    font-size: 1.25rem;
  }

  .nether-nav__brand {
    font-size: 0.95rem;
    max-width: 160px;
  }
}
