@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 720px;
  }

  .section {
    padding: 100px 0;
  }

  .couple-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .couple-divider {
    flex-direction: row;
    padding-top: 0;
    margin: -8px 0;
  }

  .couple-divider-ring::before,
  .couple-divider-ring::after {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .landing-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .landing-names {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .ambient-light {
    opacity: 0.05;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-meta {
    gap: 16px;
  }

  .hero-meta-item {
    min-width: auto;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-synopsis {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .landing-buttons .btn {
    min-width: 200px;
    width: 100%;
    max-width: 280px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .countdown-item {
    padding: 16px 12px;
  }

  .countdown-number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .wishes-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav.scrolled {
    padding: 8px 16px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    width: 260px;
    height: 350px;
  }

  .modal-content {
    padding: 24px;
  }

  .music-player {
    bottom: 16px;
    right: 16px;
  }

  .music-progress.active {
    width: 80px;
  }

  .scroll-top {
    bottom: 16px;
    left: 16px;
  }

  .theme-switch {
    bottom: 70px;
    left: 16px;
  }

  .share-btn {
    bottom: 124px;
    left: 16px;
  }

  .rsvp-form {
    padding: 24px;
  }

  .couple-photo {
    width: 140px;
    height: 140px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-play-btn svg {
    width: 24px;
    height: 24px;
  }

  .event-card {
    padding: 24px 16px;
  }

  .gift-card {
    padding: 24px 16px;
  }

  .glass-card {
    padding: 20px;
  }

  .ending-credits {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .gallery-item {
    width: 220px;
    height: 300px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .countdown-item {
    padding: 12px 8px;
  }

  .landing-buttons .btn {
    min-width: 160px;
    font-size: 12px;
  }

  .music-progress.active {
    width: 60px;
  }

  .scroll-top {
    width: 38px;
    height: 38px;
    bottom: 16px;
    left: 8px;
  }

  .theme-switch {
    bottom: 62px;
    left: 8px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .share-btn {
    width: 38px;
    height: 38px;
    bottom: 108px;
    left: 8px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .gallery-item {
    width: 180px;
    height: 260px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: clamp(5rem, 8vw, 8rem);
  }

  .section-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
  }
}

@media (min-width: 2560px) {
  .container {
    max-width: 1600px;
  }

  .section {
    padding: 160px 0;
  }

  .gallery-item {
    width: 400px;
    height: 520px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cursor-spotlight {
    display: block;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cursor-spotlight {
    display: none;
  }

  .gallery-carousel {
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .glass-card {
    background: var(--bg-secondary);
    backdrop-filter: none;
  }

  .nav.scrolled {
    background: var(--bg-secondary);
    backdrop-filter: none;
  }
}
