:root {
  --bg: #050505;
  --bg-soft: #0f0f10;
  --card: rgba(12, 12, 12, 0.76);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f7f7f7;
  --muted: #b5b5b8;
  --accent: #ff1c1c;
  --accent-soft: #ff4d4d;
  --glow: rgba(255, 28, 28, 0.28);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background:
    linear-gradient(180deg, rgba(2, 2, 4, 0.42), rgba(2, 2, 4, 0.88)),
    radial-gradient(circle at 50% 70%, rgba(255, 0, 38, 0.26), transparent 24%),
    radial-gradient(circle at 50% 88%, rgba(255, 20, 20, 0.18), transparent 18%),
    url("./assets/mftv_banner_yt.png") center center / cover no-repeat fixed,
    linear-gradient(145deg, #020202 0%, #0a0a0a 40%, #111 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 64px
    );
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 0, 43, 0.32), transparent 16%),
    radial-gradient(circle at 50% 78%, rgba(255, 0, 30, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.8;
  pointer-events: none;
}

.ambient-left {
  width: 300px;
  height: 300px;
  left: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(255, 0, 38, 0.5), transparent 68%);
}

.ambient-right {
  width: 340px;
  height: 340px;
  right: -100px;
  bottom: 4%;
  background: radial-gradient(circle, rgba(255, 20, 20, 0.28), transparent 72%);
}

.card {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.8), rgba(4, 4, 4, 0.88)),
    linear-gradient(135deg, rgba(255, 0, 38, 0.14), transparent 36%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow:
    0 24px 60px var(--shadow),
    0 0 48px rgba(255, 0, 38, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: card-in 700ms ease-out;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 28, 28, 0.7), transparent 30%, rgba(255, 255, 255, 0.18));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand-logo {
  display: block;
  width: min(240px, 62vw);
  margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow:
    0 0 34px var(--glow),
    0 0 60px rgba(255, 0, 38, 0.22);
}

.hero-copy {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 4.3vw, 3.25rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.link-grid {
  display: grid;
  gap: 14px;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(120deg, rgba(255, 28, 28, 0.12), transparent 60%);
  color: inherit;
  text-decoration: none;
  transform: translateY(18px);
  opacity: 0;
  animation: rise-in 600ms ease-out forwards;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.link-button:nth-child(2) {
  animation-delay: 90ms;
}

.link-button:nth-child(3) {
  animation-delay: 140ms;
}

.link-button:nth-child(4) {
  animation-delay: 190ms;
}

.link-button:nth-child(5) {
  animation-delay: 240ms;
}

.link-button:nth-child(6) {
  animation-delay: 290ms;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 28, 28, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(120deg, rgba(255, 28, 28, 0.22), transparent 64%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  flex: 0 0 auto;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  background: linear-gradient(180deg, rgba(255, 32, 32, 0.95), rgba(176, 0, 0, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(255, 28, 28, 0.22);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.label-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.label {
  font-size: 1.02rem;
  font-weight: 700;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 540px) {
  .page-shell {
    padding: 20px 14px;
  }

  .card {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .link-button {
    padding: 14px;
    gap: 14px;
  }

  .icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

@media (min-width: 541px) and (max-width: 1100px) {
  h1 {
    font-size: clamp(1.55rem, 3.7vw, 2.65rem);
  }
}
