body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #071a3a;
  font-family: Arial, sans-serif;
}

.back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: #5C6AC4;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.page {
  display: flex;
  gap: 24px;
  padding: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-card {
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 2px solid transparent;
}

.video-card:first-child {
  width: 520px;
}

.video-card.vertical {
  width: 260px;
}

video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.video-card:first-child video {
  aspect-ratio: 16 / 9;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px;
}

button {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #5C6AC4;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

button:active {
  transform: scale(0.96);
}

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

  .video-card {
    width: 100%;
    max-width: 340px;
    border-radius: 10px;
    border: 2px solid #8fb3ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  }

  .video-card:first-child {
    width: 100%;
    max-width: 420px;
  }

  .video-card.vertical {
    width: 100%;
    max-width: 280px;
    border: 2px dashed #8fb3ff;
  }

  button {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
}