/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ===== PARTICLES ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== SECTION BASE ===== */
.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 100px 24px 80px;
}
.section-content {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: block;
  font-weight: 300;
  font-size: 0.9rem;
  color: #00c3ff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #ffffff 0%, #c8eeff 40%, #00a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 40px;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease;
}
.nav.scrolled { background: 0; }
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}
.nav-link:hover { color: #fff; }
.nav-btn {
  background: linear-gradient(135deg, #00a6ff 0%, #4dc3ff 50%, #7dd4ff 100%);
  color: #111 !important;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-btn:hover {
  box-shadow: 
    0 0 12px rgba(0,195,255,0.6),
    0 0 28px rgba(0,166,255,0.5),
    0 0 48px rgba(0,166,255,0.35);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.cloud-3d {
  width: 720px;
  height: 600px;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(0,166,255,0.8) 0%,
    rgba(0,195,255,0.45) 30%,
    rgba(2,210,242,0.25) 55%,
    rgba(0,195,255,0.08) 70%,
    transparent 85%
  );
  border-radius: 50%;
  filter: blur(45px);
  animation: cloudFloat 14s ease-in-out infinite,
             cloudHue 10s ease-in-out infinite;
}

@keyframes cloudFloat {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  25% { transform: translate(35px, -25px) scale(1.08) rotate(2deg); opacity: 1; }
  50% { transform: translate(-25px, 20px) scale(0.96) rotate(-1deg); opacity: 0.98; }
  75% { transform: translate(20px, 12px) scale(1.04) rotate(1deg); opacity: 1; }
}
@keyframes cloudHue {
  0%, 100% { filter: blur(45px) hue-rotate(0deg); }
  50% { filter: blur(45px) hue-rotate(18deg); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #c8eeff 35%, #00a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #00a6ff 0%, #4dc3ff 50%, #7dd4ff 100%);
  color: #111 !important;
}
.btn-primary:hover {
  box-shadow: 
    0 0 12px rgba(0,195,255,0.6),
    0 0 28px rgba(0,166,255,0.5),
    0 0 48px rgba(0,166,255,0.35);
  transform: translateY(-1px);
}
.btn-contact {
  background: transparent;
  color: #00c3ff !important;
  border: 1px solid #00c3ff;
}
.btn-contact:hover {
  box-shadow:
    0 0 10px rgba(0,195,255,0.4),
    0 0 22px rgba(2,210,242,0.6),
    0 0 40px rgba(2,210,242,0.4);
  transform: translateY(-1px);
}

.scroll-indicator {
  animation: pulse 2s ease-in-out infinite;
}
.scroll-indicator svg {
  color: rgba(255, 255, 255, 0.8);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.5; transform: translateY(8px); }
}

/* ===== PROJECTS ===== */
.projects-section .section-heading { text-align: center; }
.projects-section .section-label { text-align: center; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.projects-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.projects-column-left,
.projects-column-right {
  margin-top: 87px;
}

@media (max-width: 1024px) {
  .projects-column-left,
  .projects-column-right {
    margin-top: 0;
  }
}

.projects-column-center {
  align-items: center;
}
.projects-column-left {
  align-items: flex-end;
}
.projects-column-right {
  align-items: flex-start;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  width: 100%;
  transition: transform 0.3s ease;
  border: 1px solid transparent;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-card[data-format="vertical"] {
  max-width: 340px;
  margin: 0 auto;
}

.project-card[data-format="horizontal"] {
  max-width: 500px;
  margin: 0 auto;
}

.project-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000;
  border-radius: 8px 8px 0 0;
}

.project-card[data-format="vertical"] .project-video {
  aspect-ratio: 9/16;
}

.project-card[data-format="horizontal"] .project-video {
  aspect-ratio: 16/9;
}

.project-meta {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}
.project-meta span:not(:last-child)::after {
  content: '•';
  margin-left: 12px;
  color: #444;
}

/* ===== MINIMALIST VIDEO PLAYER ===== */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Центральная кнопка - МИНИМАЛИЗМ */
.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  opacity: 1;
  backdrop-filter: blur(4px);
}

.center-play-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.center-play-btn svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.9);
  margin-left: 3px;
  transition: fill 0.3s ease;
}

.center-play-btn:hover svg {
  fill: rgba(255, 255, 255, 1);
}

.video-wrapper.playing .center-play-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

/* Контролы - МИНИМАЛИЗМ */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%);
  padding: 12px 16px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-wrapper:hover .video-controls,
.video-controls.active {
  opacity: 1;
}

/* Таймлайн - БЕЛЫЙ без синего */
.timeline {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  cursor: pointer;
  margin-bottom: 10px;
  overflow: hidden;
}

.timeline-filled {
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0;
  transition: width 0.1s linear;
}

.timeline:hover {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.timeline:hover .timeline-filled {
  background: rgba(255, 255, 255, 0.95);
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.controls-spacer {
  flex: 1;
}

.control-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.control-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.icon.pause-icon {
  display: none;
}

/* Volume */
.volume-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.volume-slider {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  width: 80px;
  height: 3px;
  margin-bottom: 35px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.volume-wrapper:hover .volume-slider {
  opacity: 1;
  pointer-events: auto;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border: none;
}

/* Volume icons */
.vol-icon {
  display: none;
  color: rgba(255, 255, 255, 0.8);
}

.vol-icon.active {
  display: block;
}

/* ===== FULLSCREEN FIXES ===== */
.project-card:fullscreen {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
}

.project-card:fullscreen .project-video {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
}

.project-card[data-format="vertical"]:fullscreen .video-wrapper {
  width: auto !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.project-card[data-format="vertical"]:fullscreen video {
  object-fit: contain !important;
  width: auto !important;
  height: 100% !important;
  max-width: 100vw !important;
}

.project-card[data-format="horizontal"]:fullscreen .video-wrapper {
  width: 100vw !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.project-card[data-format="horizontal"]:fullscreen video {
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
  max-height: 100vh !important;
}

.project-card:fullscreen .project-meta {
  display: none !important;
}

/* Полноэкранные контролы - скрываются при воспроизведении */
.project-card:fullscreen .video-controls {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  right: 20px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 12px !important;
  padding: 16px 20px 12px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Показываем контролы при наведении или если видео на паузе */
.project-card:fullscreen .video-wrapper:hover .video-controls,
.project-card:fullscreen .video-controls.active,
.project-card:fullscreen .video-wrapper:not(.playing) .video-controls {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.project-card:fullscreen .center-play-btn {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 80px !important;
  height: 80px !important;
  z-index: 10000 !important;
  border-width: 2px;
}

/* Полноэкранный таймлайн */
.project-card:fullscreen .timeline {
  background: rgba(255, 255, 255, 0.15) !important;
  height: 4px !important;
}

.project-card:fullscreen .timeline-filled {
  background: rgba(255, 255, 255, 0.9) !important;
}

/* Hide everything else in fullscreen */
body:fullscreen .nav,
body:fullscreen .hero,
body:fullscreen .projects-grid > *:not(.project-card:fullscreen),
body:fullscreen .about-section,
body:fullscreen .services-section,
body:fullscreen .contact-section,
body:fullscreen .footer {
  display: none !important;
}

/* For WebKit */
.project-card:-webkit-full-screen {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* ===== ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-section .section-heading {
  white-space: nowrap;
}
.about-description {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.7;
  margin: 0 0 24px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.skill-item {
  font-size: 1rem;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-dot {
  color: #00c3ff;
  font-size: 1.2rem;
}
.about-photo {
  width: 100%;
  max-width: 700px;
  border-radius: 30px;
  object-fit: cover;
}

/* ===== SERVICES ===== */
.services-section .section-label,
.services-section .section-heading { text-align: center; }
.services-section .section-heading { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.service-card {
  border: 1px solid #333;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: #00c3ff;
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
}
.service-card:hover .service-title { color: #00c3ff; }
.service-icon-wrap {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-start;
}
.service-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.service-icon-wrap:hover .service-icon {
  transform: rotate(5deg);
}
.service-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.service-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 12px;
  transition: color 0.3s ease;
}
.service-desc {
  font-weight: 300;
  font-size: 1rem;
  color: #aaa;
  margin: 0;
  line-height: 1.6;
}

.tools-block {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid #222;
}
.tools-heading {
  font-weight: 400;
  font-size: 1.2rem;
  color: #888;
  margin: 12px 0 32px;
}
.tools-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.tool-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.tool-icon:hover {
  border-color: #02a7e3;
  color: #02a7e3;
  box-shadow: 0 0 16px rgba(2,210,242,0.5);
}
.tool-icon::after {
  content: attr(data-label);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 0.75rem;
  color: #0077b3;
  white-space: nowrap;
  transition: transform 0.3s ease;
}
.tool-icon:hover::after {
  transform: translateX(-50%) scale(1);
}

.service-icon:hover {
  color: #02aef2f3;
  border-color: #02aef2f3;
  box-shadow: 0 0 14px rgba(2,210,242,0.5);
}

/* ===== CONTACT ===== */
.contact-section {
  padding-top: 170px;
  padding-bottom: 170px;
}
.contact-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-content .section-heading { margin-bottom: 20px; }
.contact-subheading {
  font-size: 1.2rem;
  color: #aaa;
  margin: 0 0 32px;
  line-height: 1.6;
}
.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #00a6ff 0%, #4dc3ff 50%, #7dd4ff 100%);
  color: #111 !important;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}
.btn-email:hover {
  box-shadow: 
    0 0 12px rgba(0,195,255,0.6),
    0 0 28px rgba(0,166,255,0.5),
    0 0 48px rgba(0,166,255,0.35);
  transform: translateY(-1px);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  color: #00c3ff;
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: #000;
  padding: 24px;
  position: relative;
  z-index: 10;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}
.footer-left { color: rgba(255, 255, 255, 0.8); }
.footer-left .footer-muted { color: rgba(255, 255, 255, 0.5); }
.footer-center, .footer-right {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */

/* Планшеты и небольшие ноутбуки (1024px и меньше) */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }
  
  .projects-column-left,
  .projects-column-right,
  .projects-column-center {
    padding-top: 0;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .skills-grid {
    justify-content: center;
  }
}

/* Планшеты и большие телефоны (768px и меньше) */
@media (max-width: 768px) {
  /* Навигация */
  .nav { 
    padding: 16px 20px; 
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link { 
    font-size: 0.9rem; 
  }
  
  /* Услуги */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Футер */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  /* Проекты */
  .project-card { 
    max-width: 100%; 
  }
  
  /* Общие стили для мобилок */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }
  
  /* Контейнеры */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  
  /* Верхняя плашка/хедер */
  .header, nav, #top-bar {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    flex-wrap: wrap !important;
  }
}

/* Малые телефоны (480px и меньше) */
@media (max-width: 480px) {
  .hero-buttons { 
    flex-direction: column; 
    gap: 10px;
  }
  
  .btn { 
    width: 100%; 
    text-align: center; 
    margin: 5px 0;
  }
  
  .about-section .section-heading { 
    white-space: normal; 
    font-size: 1.8rem;
  }
  
  /* Навигация для очень маленьких экранов */
  .nav-links {
    gap: 10px;
    font-size: 0.8rem;
  }
  
  .nav-link {
    padding: 8px 12px;
  }
}

/* Очень маленькие телефоны (360px и меньше) */
@media (max-width: 360px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 1.5rem;
  }
}

/* ===== MOBILE VIDEO FIXES ===== */
@media (max-width: 768px) {
  /* Убираем сложные контролы на мобилках */
  .video-controls {
    display: none !important;
  }
  
  /* Делаем кнопку запуска больше и заметнее */
  .center-play-btn {
    width: 80px !important;
    height: 80px !important;
    border-width: 3px !important;
    background: rgba(0, 166, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }
  
  .center-play-btn svg {
    width: 32px !important;
    height: 32px !important;
    fill: white !important;
  }
  
  /* Нативные контролы видео */
  video {
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Убираем ховер-эффекты на мобилках */
  .project-card:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  
  .center-play-btn:hover {
    background: rgba(0, 166, 255, 0.15) !important;
    transform: translate(-50%, -50%) !important;
  }
  
  /* Больше отступов для удобства касаний */
  .hero-buttons .btn {
    padding: 16px 24px !important;
    margin: 8px 0 !important;
  }
  
  .nav-links {
    gap: 12px !important;
  }
  
  .nav-link {
    padding: 8px 12px !important;
  }
}

/* Для совсем маленьких телефонов */
@media (max-width: 480px) {
  .center-play-btn {
    width: 70px !important;
    height: 70px !important;
  }
  
  .center-play-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
  
  .project-card {
    margin-bottom: 20px !important;
  }
}
/* Центрирование кнопки GET IN TOUCH на мобильных */
@media (max-width: 768px) {
  .btn-email {
    width: 180px !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
  }
}