:root {
  --bg-dark: #200712;
  --bg-mid: #5d0d23;
  --bg-hot: #8b1435;
  --text-main: #f7f0f3;
  --text-dim: #d8c2ca;
  --frame: #f2d5df;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main);
  background: #12040b;
}

body {
  background-image:
    radial-gradient(circle at 20% 15%, rgba(216, 53, 94, 0.3), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(216, 53, 94, 0.18), transparent 30%),
    linear-gradient(140deg, var(--bg-dark) 0%, var(--bg-mid) 45%, var(--bg-hot) 100%);
}

.screen {
  width: 100vw;
  height: 100dvh;
  padding: clamp(8px, 1.8vh, 16px) clamp(10px, 2.6vw, 30px);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(8px, 1.5vh, 14px);
  position: relative;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/background.jpg") center center / cover no-repeat;
  opacity: 0.42;
  mix-blend-mode: normal;
  pointer-events: none;
}

.logo-row {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(6px, 1.8vw, 16px);
}

.logo-row img {
  max-width: clamp(54px, 7vw, 124px);
  max-height: clamp(32px, 6vh, 72px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.center-panel {
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  width: fit-content;
  max-width: min(96vw, 1140px);
  margin: 0 auto;
  gap: clamp(6px, 1vh, 10px);
  padding: clamp(8px, 1.3vh, 14px) clamp(10px, 2.2vw, 24px);
  background: linear-gradient(180deg, rgba(9, 1, 5, 0.4), rgba(9, 1, 5, 0.62));
  border: 1px solid rgba(255, 205, 219, 0.35);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

h1 {
  margin: 0;
  align-self: start;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(1rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.legal-copy {
  width: 100%;
  max-width: min(94vw, 1100px);
  margin: 0;
  align-self: end;
  color: #f6e7ec;
  font-size: clamp(0.68rem, 1.12vw, 1rem);
  line-height: 1.32;
  text-align: center;
  text-wrap: pretty;
}

.legal-copy p {
  margin: 0;
}

.legal-copy p + p {
  margin-top: clamp(4px, 0.6vh, 8px);
}

.domain-inline {
  color: #ffffff;
  font-weight: 700;
}

.video-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: max-content;
  max-width: 100%;
  height: auto;
  line-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.video-frame video {
  width: auto;
  max-width: min(92vw, 1180px);
  height: auto;
  max-height: min(42vh, 410px);
  display: block;
  border: 2px solid var(--frame);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.bottom-logos {
  padding-bottom: clamp(2px, 1vh, 10px);
}

@media (max-width: 900px) {
  .screen {
    grid-template-rows: 1fr auto;
    padding: 8px 10px;
  }

  .logo-row {
    gap: 6px;
  }

  .logo-row img {
    max-width: clamp(44px, 12vw, 92px);
    max-height: clamp(24px, 5.6vh, 60px);
  }

  .video-frame {
    max-width: 92vw;
  }

  .video-frame video {
    max-width: 94vw;
    max-height: min(33vh, 265px);
  }

  .legal-copy {
    font-size: clamp(0.62rem, 2.5vw, 0.86rem);
    line-height: 1.22;
  }
}
