* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background: url('../img/bg.jpg') no-repeat center center fixed;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 151, 214, 0.28), transparent 35%),
    radial-gradient(circle at bottom center, rgba(180, 0, 255, 0.25), transparent 42%),
    rgba(2, 6, 23, 0.22);
  pointer-events: none;
  z-index: -1;
}

.header {
  width: 100%;
  text-align: center;
  padding: 28px 20px 8px;
}

.logo {
  width: min(210px, 48vw);
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.45));
}

.main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 35px 18px 55px;
}

.player-container {
  position: relative;
  width: min(900px, 100%);
  border: 20px solid rgba(255,255,255,0.20);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0,0,0,0.78);
  box-shadow:
    0 25px 75px rgba(0,0,0,0.70),
    inset 0 0 0 1px rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000000;
}

.overlay {
  position: absolute;
  inset: 0 0 42px 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: white;
  border: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.68));
  cursor: pointer;
}

.overlay.hidden {
  display: none;
}

.play-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 42px;
  line-height: 1;
  padding-left: 7px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}

.play-text {
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .95;
}

.status {
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  background: rgba(0,0,0,0.65);
  color: rgba(255,255,255,0.9);
}

.status.error {
  color: #ffd1d1;
}

.footer {
  width: 100%;
  text-align: center;
  padding: 24px 18px;
  background: rgba(0,0,0,0.62);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}

@media (max-width: 640px) {
  .player-container {
    border-width: 10px;
    border-radius: 20px;
  }

  .main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .play-icon {
    width: 68px;
    height: 68px;
    font-size: 32px;
  }
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover {
  color: #b6ff00;
}
