html,
body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(175, 27, 90, 0.2), transparent 28rem),
    linear-gradient(180deg, #101010 0%, #080808 42%, #0d0b0c 100%);
  color: #f5f3f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.access-box {
  min-height: 100vh;
  padding: clamp(36px, 7vw, 82px) 18px 28px;
}

.access-shell {
  position: relative;
  width: min(1120px, 100%);
  min-height: calc(100vh - clamp(60px, 9vw, 108px));
  margin: 0 auto;
}

.access-hero {
  --logo-reserve: clamp(190px, 24vw, 300px);
  --logo-right: clamp(22px, 5vw, 70px);
  position: relative;
  min-height: auto;
  padding-right: var(--logo-reserve);
  padding-top: clamp(18px, 3.5vw, 44px);
  padding-bottom: clamp(16px, 3vw, 34px);
}

.access-copy {
  min-width: 0;
}

.kicker {
  margin: 0 0 12px;
  color: #d2b55b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-copy h1 {
  max-width: 920px;
  margin: 0 0 clamp(48px, 5vw, 72px);
  color: #f5f3f0;
  font-size: clamp(1.5rem, 4.14vw, 3.45rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.access-copy p:not(.kicker) {
  width: calc(100% + var(--logo-reserve) - var(--logo-right));
  max-width: none;
  margin: 0;
  color: #aaa6a1;
  font-size: clamp(1.02rem, 1.42vw, 1.22rem);
  font-weight: 400;
  line-height: 1.55;
}

.copy-followup {
  display: block;
  margin-top: clamp(16px, 1.5vw, 24px);
}

.hero-logo-link {
  position: absolute;
  top: clamp(8px, 1.2vw, 16px);
  right: var(--logo-right);
  display: inline-flex;
  margin-top: 0;
}

.hero-logo {
  width: auto;
  height: auto;
  display: block;
}

.access-form {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(460px, 100%);
  display: grid;
  gap: 12px;
  transform: translate(-50%, -50%);
}

.access-form input,
.access-form button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
}

.access-form input {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 18, 0.72);
  color: #f5f3f0;
  padding: 13px 18px;
  outline: none;
}

.access-form input::placeholder {
  color: rgba(245, 243, 240, 0.48);
}

.access-form input:focus {
  border-color: rgba(210, 181, 91, 0.56);
  box-shadow: 0 0 0 4px rgba(210, 181, 91, 0.12);
}

.access-form button {
  border: 1px solid rgba(175, 27, 90, 0.58);
  background: rgba(175, 27, 90, 0.2);
  color: #f5f3f0;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.access-form button:hover,
.access-form button:focus-visible {
  border-color: #af1b5a;
  background: rgba(175, 27, 90, 0.34);
  box-shadow: 0 0 0 4px rgba(175, 27, 90, 0.16);
  transform: translateY(-1px);
}

.access-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.error {
  min-height: 24px;
  margin: 0;
  color: #ff9b9b;
  font-size: 0.92rem;
  text-align: center;
}

.access-legal {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #aaa6a1;
  font-size: 0.78rem;
  font-weight: 400;
  text-align: center;
}

.access-legal p {
  margin: 0;
}

.access-legal .access-service-note {
  width: min(760px, 100%);
  margin: 0 auto 12px;
  color: #aaa6a1;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.player-wrapper {
  position: relative;
  display: none;
  width: 90%;
  max-width: 1600px;
  aspect-ratio: 16 / 9;
  margin: clamp(86px, 10vh, 122px) auto 0;
  background: #000;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.72);
}

.player-wrapper::before {
  position: absolute;
  top: clamp(-58px, -4.8vw, -44px);
  left: 0;
  z-index: 2;
  color: #d2b55b;
  content: "TOOLS BY ALFONSIN DIGITAL LAB";
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.player-wrapper::after {
  position: absolute;
  top: clamp(-72px, -5.8vw, -56px);
  right: 0;
  z-index: 2;
  width: 84px;
  height: 50px;
  content: "";
  background: url("./logoC.png") right top / contain no-repeat;
  pointer-events: none;
}

.player-wrapper iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

@media (max-width: 760px) {
  .access-shell {
    min-height: auto;
    display: grid;
    gap: 42px;
  }

  .access-hero {
    --logo-reserve: 0px;
    --logo-right: 0px;
    padding-right: 0;
  }

  .hero-logo-link {
    position: static;
    margin-top: clamp(16px, 4vw, 26px);
  }

  .hero-logo {
    max-width: 100%;
  }

  .access-form,
  .access-legal {
    position: static;
    transform: none;
  }

  .player-wrapper {
    width: calc(100% - 28px);
    margin-top: 92px;
  }

  .player-wrapper::before {
    top: -46px;
    font-size: 0.66rem;
  }

  .player-wrapper::after {
    top: -58px;
    right: 0;
    width: 70px;
    height: 42px;
  }
}
