/* 91PORN 官方网站 - 移动端响应式样式 */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .download-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .top-fixed-ad {
    min-height: auto;
    padding: 10px 8px;
    align-items: flex-start;
  }

  .top-fixed-ad-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    overflow: visible;
    gap: 12px 10px;
    width: 100%;
  }

  .top-fixed-ad-frame {
    width: 100%;
    min-height: 180px;
    height: auto;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
  }

  .header-inner > nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }

  .main-nav {
    display: none;
    position: static;
    width: 100%;
    background: rgba(10, 10, 20, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav li {
    width: 100%;
    text-align: left;
  }

  .main-nav a {
    padding: 12px 16px;
    display: block;
    text-align: left;
  }

  .breadcrumb {
    text-align: right;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-preview {
    max-width: 260px;
  }

  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    aspect-ratio: 9/14;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .content-article h2 {
    font-size: 1.25rem;
  }

  .error-code {
    font-size: 5rem;
  }

  .category-tabs {
    gap: 8px;
  }

  .category-tab {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .internal-links ul {
    flex-direction: column;
  }

  .internal-links a {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.1rem;
  }

  .logo-link img {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-caption {
    padding: 10px;
  }

  .gallery-caption h4 {
    font-size: 0.85rem;
  }

  .gallery-caption p {
    font-size: 0.75rem;
  }
}
