* { box-sizing: border-box; }

:root {
  --blue: #3155d5;
  --deep-blue: #07142f;
  --black: #000;
  --white: #fff;
  --pink: #fff0f2;
  --text-muted: #9a9a9a;
  --max: 720px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 92% 4%, rgba(65, 96, 220, .95) 0%, rgba(40, 61, 145, .72) 32%, rgba(0,0,0,0) 70%),
    radial-gradient(760px 600px at 9% 58%, rgba(18, 38, 93, .62) 0%, rgba(0,0,0,0) 64%),
    #000;
}

a { color: inherit; }

.page {
  display: none;
  min-height: 100vh;
  width: 100%;
}

.page.active { display: block; }

.home-inner,
.content-page {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.home-inner {
  min-height: 100vh;
  padding: clamp(90px, 15vh, 170px) 0 50px;
  text-align: center;
}

.home-inner h1 {
  margin: 0;
  font-size: clamp(48px, 10vw, 78px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -3px;
  text-shadow: 0 5px 2px rgba(0,0,0,.45);
}

.tagline {
  margin: 76px 0 18px;
  font-size: clamp(25px, 5.8vw, 43px);
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 4px 2px rgba(0,0,0,.35);
}

.rich-line {
  display: inline-block;
  font-size: clamp(24px, 5.4vw, 40px);
  letter-spacing: 1px;
  text-underline-offset: 8px;
  text-shadow: 0 4px 2px rgba(0,0,0,.35);
}

.home-nav {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 86px auto 0;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: #090909;
  text-decoration: none;
  font-family: Pacifico, cursive;
  font-size: clamp(24px, 5vw, 34px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2);
  transition: transform .18s ease, filter .18s ease;
}

.pill.pink { background: var(--pink); }

.pill:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.made {
  margin: 82px 0 0;
  color: #7c7c7c;
  font-family: Pacifico, cursive;
  font-size: 17px;
}

.content-page {
  padding: 76px 0 50px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.avatar {
  width: 134px;
  height: 134px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 9vw, 68px);
  font-weight: 900;
  letter-spacing: -2px;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  background: #161616;
  aspect-ratio: 1.72 / 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  transition: transform .18s ease;
}

.video-card:hover { transform: scale(1.01); }

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #17285d;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,.04) 45%, rgba(0,0,0,.52));
  pointer-events: none;
}

.video-meta {
  position: absolute;
  top: 23px;
  left: 110px;
  z-index: 2;
  text-align: left;
}

.video-title {
  margin: 0 0 4px;
  font-size: clamp(20px, 4vw, 31px);
  font-weight: 800;
}

.channel {
  font-size: clamp(14px, 2.8vw, 19px);
}

.video-avatar {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0b2a68;
}

.play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 78px;
  border-radius: 22px;
  background: #ff0033;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

.play::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid white;
  margin-left: 6px;
}

.watch {
  position: absolute;
  z-index: 3;
  right: 27px;
  bottom: 25px;
  font-size: clamp(16px, 3.2vw, 23px);
  font-weight: 500;
}

.link-mark {
  position: absolute;
  z-index: 3;
  left: 26px;
  bottom: 24px;
  font-size: 30px;
}

.short-list .video-card {
  aspect-ratio: 1.92 / 1;
}

.short-list {
  padding-top: 10px;
}

.divider {
  height: 7px;
  width: 100%;
  background: #fff;
  margin: 76px 0 68px;
}

.contact {
  text-align: center;
}

.contact h2 {
  margin: 0;
  font-size: clamp(48px, 10vw, 76px);
  font-weight: 900;
  letter-spacing: -3px;
}

.contact .sub {
  margin: 32px 0 0;
  font-size: clamp(18px, 4vw, 25px);
  font-weight: 700;
}

.handle {
  margin: 38px 0 0;
  color: #9b9b9b;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
}

.contact-avatar {
  width: 132px;
  height: 132px;
  margin: 20px auto 34px;
  border-radius: 50%;
  background: #062258;
}

.contact-copy {
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.9;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact .pill {
  width: 100%;
  font-size: clamp(22px, 4.8vw, 30px);
  min-height: 58px;
}

.home-button {
  display: flex;
  width: 100%;
  min-height: 65px;
  margin-top: 58px;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #090909;
  font-family: Pacifico, cursive;
  font-size: clamp(30px, 6vw, 44px);
  background: linear-gradient(100deg, #ff00b7, #25ff83);
}

.contact-only {
  padding-top: 130px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.open { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(7px);
}

.modal-box {
  position: relative;
  z-index: 2;
  width: min(94vw, 1000px);
  margin: 10vh auto 0;
  background: #080808;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.7);
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
}

.player-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.close {
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@media (min-width: 800px) {
  .home-nav {
    gap: 34px;
    max-width: 620px;
  }

  .video-list {
    gap: 45px;
  }
}

@media (max-width: 520px) {
  .home-inner,
  .content-page {
    width: min(calc(100% - 30px), var(--max));
  }

  .home-inner {
    padding-top: 95px;
  }

  .tagline { margin-top: 70px; }

  .home-nav {
    margin-top: 76px;
    gap: 42px;
  }

  .video-card {
    border-radius: 42px;
  }

  .video-avatar {
    width: 52px;
    height: 52px;
    left: 19px;
    top: 19px;
  }

  .video-meta {
    left: 87px;
    top: 18px;
  }

  .watch {
    right: 19px;
    bottom: 19px;
  }

  .link-mark {
    left: 19px;
    bottom: 18px;
  }
}
