/* cases/douyin/css/case-section1.css */
.cs-section1 {
  background: #ffffff;
  padding: 80px 0;
}

.cs-section1__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.cs-section1__head {
  text-align: center;
  margin-bottom: 60px;
}
.cs-section1__title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.cs-section1__subtitle {
  font-size: 14px;
  color: #999;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

/* ── Phone frames container ── */
.cs-section1__phones {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* ── Single phone ── */
.cs-phone {
  position: relative;
  width: 240px;
  flex-shrink: 0;
}

.cs-phone__frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Video/placeholder area inside phone */
.cs-phone__screen {
  position: absolute;
  top: 2%;
  left: 5%;
  width: 91%;
  height: 96%;
  overflow: hidden;
  border-radius: 8px;
  z-index: 2;
  background: #f0f0f0;
  cursor: pointer;
}

/* Play button overlay */
.cs-phone__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
}
.cs-phone__play svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}
.cs-phone__screen:hover .cs-phone__play {
  transform: translate(-50%, -50%) scale(1.1);
}
.cs-phone__screen.is-playing .cs-phone__play {
  opacity: 0;
}

.cs-phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-phone__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .cs-section1__phones {
    flex-wrap: wrap;
    gap: 24px;
  }
  .cs-phone {
    width: 200px;
  }
}
@media (max-width: 600px) {
  .cs-phone {
    width: 160px;
  }
}
