:root{
  --bg: #050508;
  --fg: #f7f7fb;
  --glass: rgba(0,0,0,.40);
  --stroke: rgba(255,255,255,.14);
  --shadow: 0 25px 90px rgba(0,0,0,.70);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--fg);
  background: var(--bg);
}

.hero{
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-image: url("./hNUqjy9nspF6vt3LV9CiI.jpg");
  background-repeat: repeat;
  background-size: 420px auto;
  background-position: center;
}

.overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.82)),
    radial-gradient(1200px 700px at 50% 35%, rgba(255,255,255,.06), transparent 60%);
  z-index:0;
}

.content{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr auto;
}

.stage{ min-height: 1px; }

.bottom{ display:flex; gap: 10px; align-items:center; justify-content: center; padding: 0 12px 18px; }

.ca-box{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  max-width: min(820px, 86vw);
  overflow: hidden;
}

.ca-label{ font-weight: 800; letter-spacing: .12em; }
.ca-value{ opacity: .90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.link{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  transition: background .18s ease, border-color .18s ease;
}

.link:hover{ background: rgba(0,0,0,.50); border-color: rgba(255,255,255,.30); }

.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
  z-index: 60;
}

.modal.open{ opacity: 1; pointer-events: auto; }

.modal-card{
  width: min(1100px, 96vw);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
  transform: translateY(6px) scale(.98);
  transition: transform .16s ease;
}

.modal.open .modal-card{ transform: translateY(0px) scale(1); }

.video{
  width: 100%;
  height: auto;
  max-height: 84vh;
  border: 0;
  border-radius: 0;
  background: transparent;
  display:block;
}

.tap{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.16);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .85;
  z-index: 10;
  user-select: none;
}

.tap.hidden{ display:none; }

@media (max-width: 520px){
  .bottom{ flex-wrap: wrap; }
  .ca-box{ max-width: 92vw; }
}
