/* ==========================================================================
   Responsive Breakpoints & Touch Optimization
   Domain: https://spotifypremiumapks.info/
   ========================================================================== */

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--color-border);
  overflow-y: auto;
}

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

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
}

.mobile-nav-backdrop.open {
  display: block;
}

.drawer-close-btn {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.drawer-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
  padding: 0.4rem 0;
}

.drawer-menu a:hover {
  color: var(--color-accent);
}

.drawer-cta {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-visual img {
    max-width: 420px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets & Mobile (<= 868px) */
@media (max-width: 868px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger-btn {
    display: block;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.65rem; }
  
  .article-title {
    font-size: 2.1rem;
  }
}

/* Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }
  
  .site-header {
    height: 68px;
  }
  
  .brand-logo img {
    height: 38px;
  }
  
  .btn-header-cta {
    display: none;
  }
  
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-description {
    font-size: 1.02rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .guide-step-card {
    flex-direction: column;
    gap: 1rem;
  }
  
  .article-author-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
