:root { }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body {
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Arial, sans-serif;
}

/* HOME */
.home {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  cursor: none;
}

.home.is-modal-open {
  cursor: default;
}

/* BACKGROUND VIDEO CONTAINER */
.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

/* VIDEO */
.bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

/* COLOR BARS */
.bars { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.bar {
  position: absolute;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #00ff66 0%,
    #00ff66 20%,
    #ffcc00 20%,
    #ffcc00 40%,
    #ff8800 40%,
    #ff8800 60%,
    #ff3333 60%,
    #ff3333 80%,
    #9933ff 80%,
    #9933ff 100%
  );
}

.bar--left { left: 5%; }
.bar--center { left: 50%; transform: translateX(-50%); }
.bar--right { right: 5%; }

/* HEADLINE */
.headline {
  position: absolute;
  right: 70px;
  bottom: 60px;
  text-align: right;
  color: #fff;
  z-index: 3;
}

.headline__sub {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 10px;
}

.headline__main {
  font-size: 140px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -1px;
}

/* INFO BUTTON */
.info-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;

  border: 0;
  cursor: pointer;

  background: #007aff;
  color: #ffffff;

  padding: 10px 16px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
}

/* CURSOR TAG */
.play-tag {
  position: fixed;
  z-index: 20;
  transform: translate(14px, 14px);

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);

  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;

  pointer-events: none;
  opacity: 1;
}

.play-tag.is-hidden {
  opacity: 0;
}

/* MODAL OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 30;
}

.overlay.is-open {
  display: grid;
}

.modal {
  width: min(980px, 86vw);
  height: min(740px, 82vh);
  background: #f3f3f3;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.modal__topbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #e9e9e9;
}

/* Dots: perfect circles */
.dot {
  width: 12px;
  height: 12px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;

  display: inline-block;

  border: 1px solid transparent;
  padding: 0;
  margin: 0;
  line-height: 0;

  appearance: none;
  -webkit-appearance: none;
  background-clip: padding-box;
}

.dot--red {
  background: #ff736a;
  border-color: #d76e64;
  cursor: pointer;
}

.dot--yellow {
  background: #febc2e;
  border-color: #dcaa47;
}

.dot--green {
  background: #19c332;
  border-color: #51ab42;
}

.modal__body {
  padding: 28px 34px;
}

.modal__title {
  margin: 0 0 14px 0;
  font-size: 22px;
  font-weight: 700;
  color: #454646;
}

.modal__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #454646;
}
