* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f1115;
  color: #eaeaea;
}

header {
  padding: 20px;
  text-align: center;
  background: #151922;
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

/* ===== VIDEO CHAT PAGE ===== */

.video-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.video-main {
  position: relative;
  background: #1c2230;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* ОСНОВНОЙ ЭКРАН */

.video-screen.remote {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #232a3b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.video-screen.remote:hover {
  transform: scale(1.01);
}

/* МАЛЕНЬКОЕ ОКНО */

.video-screen.local {
  position: absolute;
  width: 220px;
  height: 150px;
  bottom: 30px;
  right: 30px;
  border-radius: 14px;
  background: #232a3b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
}

.video-screen.local:hover {
  transform: translateY(-4px);
}

/* ТЕКСТ */

.video-placeholder {
  opacity: 0.5;
  font-size: 16px;
}

.video-placeholder.small {
  font-size: 13px;
}

.video-label {
  position: absolute;
  top: 12px;
  left: 15px;
  font-size: 12px;
  opacity: 0.6;
}

/* КНОПКИ */

.video-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.video-btn {
  background: #1c2230;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  color: #eaeaea;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-btn:hover {
  transform: translateY(-4px);
  background: #232a3b;
}

/* Цветовые намёки (очень мягкие) */

.video-btn.start:hover {
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.video-btn.next:hover {
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

.video-btn.stop:hover {
  box-shadow: 0 0 20px rgba(244, 67, 54, 0.3);
}

/* ADAPTIVE */

@media (max-width: 900px) {
  .video-main {
    height: 350px;
  }

  .video-screen.local {
    width: 150px;
    height: 100px;
  }
}
footer {
  text-align: center;
  padding: 15px;
  font-size: 12px;
  opacity: 0.6;
}