:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  --primary: #ff5b22;
  --primary-light: #ff8257;
  --ink: #ffffff;
  --surface: #f7f7f8;
  --line: rgb(25 27 31 / 9%);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body {
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr);
  color: #17181b;
}

.banner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 12px 40px rgb(30 25 20 / 8%);
  backdrop-filter: blur(18px);
}

.banner::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 0%, var(--primary) 48%, transparent 100%);
  opacity: 0.8;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
}

.logo {
  display: block;
  width: auto;
  height: 47px;
  max-width: min(240px, 64vw);
  object-fit: contain;
}

.video-area {
  position: relative;
  display: grid;
  min-height: 0;
  padding: clamp(12px, 2vw, 26px);
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% -15%, rgb(255 91 34 / 12%), transparent 43%),
    linear-gradient(145deg, #ffffff 0%, #f6f6f7 70%);
}

.video-area::before {
  position: absolute;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgb(255 91 34 / 10%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 80px rgb(255 91 34 / 2%), 0 0 0 160px rgb(255 91 34 / 1%);
  pointer-events: none;
}

.video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(25 27 31 / 12%);
  border-radius: clamp(12px, 1.5vw, 22px);
  background: #000;
  box-shadow: 0 30px 80px rgb(30 25 20 / 18%), 0 0 45px rgb(255 91 34 / 7%);
}

.video-frame::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  pointer-events: none;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

video::cue {
  color: #fff;
  font-size: 1.1rem;
  background: rgb(8 9 11 / 84%);
  text-shadow: 0 1px 3px #000;
}

@media (max-width: 600px) {
  body {
    grid-template-rows: 70px minmax(0, 1fr);
  }

  .banner {
    padding-inline: 14px;
  }

  .brand {
    padding: 6px 10px;
    border-radius: 9px;
  }

  .logo {
    height: 38px;
  }

  .video-area {
    padding: 8px;
  }

  .video-frame {
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .video-frame {
    animation: reveal 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.995);
    }
  }
}
