:root {
  color-scheme: dark;
  --bg: #090910;
  --ink: #fff4fb;
  --muted: #c7b7cf;
  --pink: #ff73c7;
  --pink-hot: #ff149d;
  --violet: #b697ff;
  --blue: #ffb8e2;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --hot-line: rgba(255, 20, 157, 0.58);
  --soft-line: rgba(255, 184, 226, 0.28);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 20, 157, 0.27), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(255, 115, 199, 0.2), transparent 30%),
    radial-gradient(circle at 60% 86%, rgba(182, 151, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #08080f, #151326 52%, #090910);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
  z-index: -3;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(42px);
  pointer-events: none;
  z-index: -2;
}

.ambient-a {
  width: 320px;
  height: 320px;
  right: -70px;
  top: -80px;
  background: rgba(255, 121, 199, 0.26);
}

.ambient-b {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: 10%;
  background: rgba(255, 20, 157, 0.16);
}

.ambient-c {
  width: 240px;
  height: 240px;
  right: 24%;
  bottom: -100px;
  background: rgba(182, 151, 255, 0.19);
}

.watermark {
  position: fixed;
  margin: 0;
  font-family: "Syne", "Outfit", sans-serif;
  font-weight: 800;
  line-height: 0.8;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.watermark-a {
  top: 6vh;
  right: -7vw;
  font-size: clamp(5rem, 17vw, 15rem);
}

.watermark-b {
  left: -5vw;
  bottom: 6vh;
  font-size: clamp(3.5rem, 10vw, 9rem);
}

.heart-rain {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.heart-drop {
  position: absolute;
  top: -40px;
  color: rgba(255, 155, 219, 0.42);
  font-size: var(--size, 18px);
  filter: drop-shadow(0 0 10px rgba(255, 20, 157, 0.45));
  animation: heart-fall var(--duration, 8s) linear var(--delay, 0s) infinite;
}

@keyframes heart-fall {
  from {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  to {
    transform: translate3d(var(--drift, 28px), 112vh, 0) rotate(var(--spin, 220deg));
    opacity: 0;
  }
}

.menu-button {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 20, 157, 0.1)),
    rgba(255, 20, 157, 0.12);
  color: var(--ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 1.24rem;
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 12, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 40;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(86vw, 340px);
  padding: 86px 18px 18px;
  border-right: 1px solid rgba(255, 20, 157, 0.28);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 20, 157, 0.08)),
    rgba(28, 10, 27, 0.76);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateX(-104%);
  transition: transform 0.24s ease;
  z-index: 45;
}

.sidebar-top {
  margin-bottom: 22px;
}

.sidebar-eyebrow,
.kicker,
.card-tag,
.tile-label {
  margin: 0;
  color: var(--blue);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.sidebar h2 {
  margin: 6px 0 0;
  font-family: "Syne", "Outfit", sans-serif;
  font-size: 2rem;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
}

.sidebar-link {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.045);
  transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  border-color: rgba(255, 141, 203, 0.46);
  background: rgba(255, 141, 203, 0.12);
  transform: translateX(3px);
}

.sidebar-link.muted {
  opacity: 0.42;
  pointer-events: none;
}

body.sidebar-open .sidebar {
  transform: translateX(0);
}

body.sidebar-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.sidebar-open .menu-button {
  border-color: rgba(255, 20, 157, 0.72);
  background: rgba(255, 20, 157, 0.2);
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.landing {
  min-height: 96dvh;
  padding: 92px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.landing-copy {
  display: grid;
  gap: 18px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Syne", "Outfit", sans-serif;
}

.landing h1 {
  font-size: clamp(4rem, 16vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-transform: lowercase;
  text-shadow: 0 0 46px rgba(255, 141, 203, 0.18);
}

.landing-line {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.landing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 20, 157, 0.05)),
    rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 141, 203, 0.58);
}

.action.primary {
  color: #130915;
  background: linear-gradient(135deg, var(--pink), #ffc1e4);
  border-color: transparent;
  font-weight: 700;
}

.portrait-frame {
  width: min(430px, 78vw);
  aspect-ratio: 1 / 1;
  justify-self: center;
  border-radius: 36px;
  padding: 0;
  background: transparent;
  box-shadow:
    0 0 80px rgba(255, 20, 157, 0.34),
    0 35px 100px rgba(0, 0, 0, 0.38);
  position: relative;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 20, 157, 0.38), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(182, 151, 255, 0.28), transparent 42%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 20, 157, 0.18);
}

.program-strip,
.links-panel {
  padding: 0 0 80px;
}

.expanded {
  padding-top: 16px;
}

.strip-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.strip-heading h2,
.sub-hero h1 {
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.strip-heading a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.program-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.program-list-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-tile {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(26, 12, 30, 0.9), rgba(18, 16, 30, 0.68)) padding-box,
    linear-gradient(135deg, rgba(255, 20, 157, 0.82), rgba(255, 184, 226, 0.34), rgba(182, 151, 255, 0.52)) border-box;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 60px rgba(255, 20, 157, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.45),
    0 0 34px rgba(255, 20, 157, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.program-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 30, 0.18), rgba(18, 16, 30, 0.88)),
    radial-gradient(circle at 78% 4%, rgba(255, 20, 157, 0.3), transparent 38%),
    var(--tile-image, linear-gradient(135deg, rgba(255, 20, 157, 0.22), rgba(182, 151, 255, 0.18)));
  background-size: cover;
  background-position: center;
  opacity: 0.36;
  -webkit-mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.95), transparent 78%);
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.95), transparent 78%);
  pointer-events: none;
}

.program-tile::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.program-tile > * {
  position: relative;
  z-index: 1;
}

.program-tile.feature {
  background:
    linear-gradient(145deg, rgba(255, 20, 157, 0.24), rgba(38, 18, 52, 0.82)) padding-box,
    linear-gradient(135deg, var(--pink-hot), #ffb8e2, var(--violet)) border-box;
}

.program-tile.feature::before {
  opacity: 0.48;
}

.program-tile.soon {
  cursor: default;
}

.program-tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -28px 60px rgba(255, 20, 157, 0.12),
    0 32px 82px rgba(0, 0, 0, 0.5),
    0 0 46px rgba(255, 20, 157, 0.22);
}

.program-tile:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.tile-index {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: "Syne", "Outfit", sans-serif;
  color: rgba(255, 255, 255, 0.24);
  font-size: 2.4rem;
  font-weight: 800;
}

.program-tile h3 {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.program-tile p:not(.tile-label) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.sub-hero {
  min-height: 42dvh;
  padding: 110px 0 44px;
  display: grid;
  align-content: end;
  gap: 12px;
}

.links-main {
  width: min(760px, 92vw);
}

.links-main .sub-hero {
  min-height: auto;
  padding: 110px 0 28px;
  text-align: center;
}

.sub-hero p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.link-list {
  width: min(740px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.link-row {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 15px;
  background:
    linear-gradient(145deg, rgba(26, 12, 30, 0.82), rgba(18, 16, 30, 0.72)) padding-box,
    linear-gradient(135deg, rgba(255, 20, 157, 0.62), rgba(255, 184, 226, 0.2)) border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 13px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 141, 203, 0.58);
}

.link-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.link-text {
  display: grid;
  gap: 3px;
}

.link-text small {
  color: var(--muted);
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 4, 12, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.download-card {
  width: min(430px, 94vw);
  position: relative;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(26, 12, 30, 0.94), rgba(18, 16, 30, 0.86)) padding-box,
    linear-gradient(135deg, var(--pink-hot), rgba(255, 184, 226, 0.35), var(--violet)) border-box;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(255, 20, 157, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.download-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  cursor: pointer;
}

.download-card h2 {
  margin: 8px 0 16px;
}

#downloadForm {
  display: grid;
  gap: 10px;
}

#downloadPassword {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
}

#downloadPassword::placeholder {
  color: rgba(255, 244, 251, 0.48);
}

.download-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--muted);
}

.goon-body {
  min-height: 100dvh;
}

.goon-page {
  width: min(1180px, 94vw);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.goon-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.goon-pop {
  position: absolute;
  width: clamp(170px, 26vw, 360px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 42px rgba(255, 20, 157, 0.7),
    0 0 90px rgba(255, 115, 199, 0.34),
    0 22px 70px rgba(0, 0, 0, 0.46);
  filter: saturate(1.08) contrast(1.03);
  animation: goon-pop 10s ease both;
}

@keyframes goon-pop {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(var(--rotation, -5deg));
  }

  10%,
  86% {
    opacity: 1;
    transform: scale(1) rotate(var(--rotation, -5deg));
  }

  100% {
    opacity: 0;
    transform: scale(0.96) rotate(var(--rotation, -5deg));
  }
}

@media (max-width: 900px) {
  main {
    width: min(94vw, 720px);
  }

  .landing {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 86px;
    text-align: center;
  }

  .landing-actions {
    justify-content: center;
  }

  .program-list,
  .program-list-wide {
    grid-template-columns: 1fr;
  }

  .program-tile {
    min-height: 210px;
  }

  .strip-heading {
    align-items: start;
    flex-direction: column;
  }

  .watermark-a,
  .watermark-b {
    font-size: clamp(3.6rem, 18vw, 7rem);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .menu-button,
  .sidebar,
  .program-tile,
  .link-row,
  .action {
    background: rgba(22, 19, 35, 0.94);
  }
}
