:root {
  color-scheme: dark;
  --acid: #d6ff3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #080808;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  overflow: hidden;
}

.feed {
  height: 100dvh;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.feed::-webkit-scrollbar {
  display: none;
}

.slide {
  height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #111;
}

.slide video,
.shade {
  position: absolute;
  inset: 0;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.shade {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .58), transparent 27%, rgba(0, 0, 0, .06) 48%, rgba(0, 0, 0, .87));
}

.top {
  position: fixed;
  z-index: 10;
  top: max(13px, env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000;
}

.mark {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--acid);
  color: #090909;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 0 20px #d6ff3f66;
}

.brand em {
  font-style: normal;
  color: var(--acid);
}

.counter {
  padding: 8px 12px;
  border-radius: 99px;
  background: #0009;
  border: 1px solid #ffffff30;
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.progress {
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ffffff30;
}

.progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  transition: width .25s;
}

.content {
  position: absolute;
  z-index: 4;
  left: 20px;
  right: 84px;
  bottom: max(35px, env(safe-area-inset-bottom));
  text-shadow: 0 2px 18px #000;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 19px;
  height: 2px;
  background: var(--acid);
}

h1 {
  margin: 0 0 10px;
  max-width: 570px;
  font-size: clamp(32px, 8vw, 51px);
  line-height: .96;
  font-weight: 1000;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 strong {
  color: var(--acid);
  font-weight: 1000;
}

p {
  margin: 0 0 16px;
  max-width: 390px;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 550;
  color: #ffffffed;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 99px;
  padding: 12px 17px;
  background: var(--acid);
  color: #101010;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 24px #d6ff3f44;
}

.cta:active {
  transform: scale(.96);
}

.cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.controls {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: max(38px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.control {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ffffff40;
  background: #0009;
  color: #fff;
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.control svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-label {
  margin-top: -11px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px #000;
}

.sound-on {
  color: var(--acid);
}

.swipe {
  position: absolute;
  z-index: 4;
  right: 16px;
  top: 48%;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffffd0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-shadow: 0 1px 8px #000;
}

.swipe svg {
  width: 16px;
  height: 16px;
  stroke: var(--acid);
  fill: none;
  stroke-width: 2;
}

.tap {
  position: absolute;
  z-index: 3;
  inset: 10% 23% 28% 0;
  cursor: pointer;
}

@media (min-width: 700px) {
  .slide {
    width: min(100%, 460px);
    margin: auto;
  }

  .feed {
    background: #050505;
  }

  .top {
    left: max(20px, calc(50% - 210px));
    right: max(20px, calc(50% - 210px));
  }

  .progress {
    left: max(0px, calc(50% - 230px));
    width: min(460px, 100%);
  }
}
