#ios-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin-bottom: 3rem;
}

#ios-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

#ios-section .grid {
  gap: 2rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding-bottom: 4rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 2rem;
  min-height: 400px;
}

.embed-container {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.embed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.embed-container h3 {
  margin: 0;
  color: var(--text-primary);
  flex: 1;
  text-align: left;
}

.fullscreen-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.fullscreen-btn:hover {
  background: var(--accent-color-hover);
  transform: scale(1.05);
}

.fullscreen-btn:active {
  transform: scale(0.95);
}

.embed-frame {
  flex: 1;
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.embed-frame iframe {
  width: 100%;
  height: 300px;
  border: none;
  background: var(--bg-secondary);
}

.embed-container p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.carousel-nav {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 0.5rem;
}

.carousel-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: var(--accent-color-hover);
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
  padding: 1rem;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: var(--accent-color-hover);
}

@media (max-width: 768px) {
  #ios-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .carousel-container {
    max-width: 100%;
    margin: 0 0.5rem;
    border-radius: 16px;
  }
  
  .carousel-slide {
    padding: 1rem;
    min-height: 320px;
  }
  
  .embed-header {
    margin-bottom: 0.75rem;
    padding: 0;
  }
  
  .embed-container h3 {
    font-size: 1.1rem;
  }
  
  .fullscreen-btn {
    width: 32px;
    height: 32px;
  }
  
  .embed-frame {
    margin: 0.75rem 0;
  }
  
  .embed-frame iframe {
    height: 220px;
  }
  
  .embed-container p {
    margin-top: 0.75rem;
    font-size: 0.85rem;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .carousel-indicators {
    margin-top: 0.5rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  #ios-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .carousel-container {
    margin: 0 0.25rem;
    border-radius: 12px;
  }
  
  .carousel-slide {
    padding: 0.75rem;
    min-height: 300px;
  }
  
  .embed-header {
    margin-bottom: 0.5rem;
  }
  
  .embed-container h3 {
    font-size: 1rem;
  }
  
  .fullscreen-btn {
    width: 28px;
    height: 28px;
  }
  
  .embed-frame {
    margin: 0.5rem 0;
  }
  
  .embed-frame iframe {
    height: 200px;
  }
  
  .embed-container p {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
  
  .carousel-btn {
    width: 32px;
    height: 32px;
  }
  
  .carousel-indicators {
    margin-top: 0.25rem;
    padding: 0.25rem;
  }
}
