:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: #0a0f19;
  --surface-strong: #111926;
  --panel: #182231;
  --panel-soft: #121b2a;
  --line: #2c3749;
  --text: #f6f7fb;
  --muted: #c1c8d6;
  --muted-soft: #9aa4b5;
  --red: #b30f24;
  --red-hover: #cf1731;
  --blue: #7e9bd4;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-button: 15px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 2%, rgba(126, 155, 212, 0.23), transparent 23%),
    radial-gradient(circle at 18% 72%, rgba(179, 15, 36, 0.15), transparent 27%),
    radial-gradient(circle at 96% 62%, rgba(84, 111, 159, 0.138), transparent 20%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.48), transparent 35%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Inter Tight", "Aptos", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "liga" 1, "kern" 1, "ss01" 1;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: 0.34;
  background:
    radial-gradient(
      ellipse 92% 34% at 37% 72%,
      rgba(3, 6, 12, 0.86) 0%,
      rgba(8, 14, 24, 0.62) 34%,
      rgba(20, 31, 48, 0.28) 61%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 72% 26% at 76% 15%,
      rgba(44, 61, 88, 0.18) 0%,
      rgba(16, 25, 39, 0.12) 42%,
      transparent 76%
    );
  filter: blur(18px);
  transform: rotate(-18deg) scale(1.35);
  transform-origin: 52% 54%;
}

body::after {
  z-index: 1;
  opacity: 0.2;
  background:
    radial-gradient(ellipse 44% 24% at 86% 92%, rgba(179, 15, 36, 0.24), transparent 72%),
    radial-gradient(ellipse 32% 18% at 98% 84%, rgba(207, 23, 49, 0.16), transparent 70%),
    linear-gradient(115deg, rgba(255, 207, 166, 0.045), transparent 38%, rgba(115, 150, 214, 0.05) 72%, transparent);
}

body > * {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.section-shell {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.header-cta,
.card-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-button);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.header-cta::after,
.card-action::after {
  content: "↗";
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86em;
  line-height: 1;
}

.header-cta {
  padding-inline: 15px;
  font-size: 0.83rem;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible,
.lineup-tool-card:hover .card-action,
.lineup-tool-card:focus-visible .card-action {
  background: var(--red-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 38px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.intro {
  padding-block: 22px 12px;
}

.eyebrow,
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--red-hover);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.intro h1 {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(2.35rem, 10.4vw, 4.45rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.intro p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-block: 10px 52px;
}

.bento::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(58vw, 620px);
  height: min(34vw, 360px);
  background:
    radial-gradient(ellipse at 42% 56%, rgba(179, 15, 36, 0.21), transparent 62%),
    radial-gradient(ellipse at 76% 34%, rgba(207, 23, 49, 0.13), transparent 58%),
    linear-gradient(135deg, transparent 8%, rgba(179, 15, 36, 0.08) 42%, transparent 76%);
  filter: blur(34px);
  opacity: 0.39;
  pointer-events: none;
}

.bento-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 25, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.bento-card:hover,
.bento-card:focus-visible {
  border-color: rgba(246, 247, 251, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 52px rgba(126, 155, 212, 0.09),
    0 8px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.lineup-tool-card {
  display: block;
  grid-column: 1 / -1;
  aspect-ratio: 1;
  padding: 22px;
  background:
    linear-gradient(150deg, rgba(36, 51, 74, 0.88), rgba(10, 15, 25, 0.84) 46%, rgba(6, 9, 16, 0.98) 100%),
    linear-gradient(24deg, rgba(179, 15, 36, 0.12) 0%, transparent 34%),
    var(--surface);
}

.lineup-tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 42%, rgba(246, 247, 251, 0.07), transparent 34%),
    radial-gradient(circle at 15% 78%, rgba(179, 15, 36, 0.13), transparent 24%),
    linear-gradient(116deg, rgba(126, 155, 212, 0.12), transparent 28%),
    radial-gradient(ellipse at 76% 34%, rgba(126, 155, 212, 0.16), transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.058) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.044) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    42px 42px,
    42px 42px,
    13px 13px;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    repeat,
    repeat,
    repeat;
  opacity: 0.9;
  mask-image:
    linear-gradient(90deg, black 0%, black 48%, rgba(0, 0, 0, 0.36) 76%, transparent 100%),
    linear-gradient(180deg, black, black 78%, transparent);
  mask-composite: intersect;
}

.lineup-tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 56%, rgba(126, 155, 212, 0.18) 0%, rgba(126, 155, 212, 0.075) 24%, transparent 48%),
    radial-gradient(ellipse at 22% 86%, rgba(179, 15, 36, 0.18) 0%, rgba(179, 15, 36, 0.07) 28%, transparent 54%),
    linear-gradient(132deg, rgba(246, 247, 251, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(42deg, rgba(126, 155, 212, 0.05) 0 1px, transparent 1px 22px),
    linear-gradient(
      90deg,
      rgba(7, 10, 15, 0.82) 0%,
      rgba(7, 10, 15, 0.78) 38%,
      rgba(7, 10, 15, 0.34) 54%,
      rgba(7, 10, 15, 0.02) 72%,
      rgba(7, 10, 15, 0) 100%
    ),
    linear-gradient(0deg, rgba(7, 10, 15, 0.8) 0%, rgba(7, 10, 15, 0.34) 42%, transparent 74%);
}

.lineup-tool-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 72%;
}

.lineup-tool-card__preview {
  position: absolute;
  top: -6%;
  right: -10%;
  z-index: 1;
  width: 58%;
  height: 108%;
  overflow: visible;
  opacity: 0.92;
  pointer-events: none;
  transform: rotate(-4deg);
  transform-origin: center;
}

.lineup-tool-card__field {
  position: absolute;
  top: -18%;
  right: -20%;
  width: 130%;
  height: 142%;
  overflow: visible;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.lineup-board-shadow {
  fill: rgba(0, 0, 0, 0.42);
  filter: blur(1.2px);
}

.lineup-board-base {
  fill: #3b414b;
}

.lineup-board-lip {
  fill: #242a33;
}

.lineup-board-rail {
  fill: #303640;
}

.lineup-board-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.62;
}

.lineup-board-inner {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.34;
}

.lineup-pitch-fill,
.lineup-stripe-dark {
  fill: #303743;
}

.lineup-stripe-light {
  fill: #3a414d;
}

.lineup-field-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.38;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lineup-boundary-line {
  stroke: rgba(255, 255, 255, 0.96);
}

.lineup-field-arc,
.lineup-center-circle,
.lineup-corner-arc {
  stroke: rgba(255, 255, 255, 0.68);
}

.lineup-field-dot {
  fill: rgba(255, 255, 255, 0.84);
}

.lineup-goal-shadow {
  fill: rgba(0, 0, 0, 0.28);
}

.lineup-goal-frame {
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 0.72;
  vector-effect: non-scaling-stroke;
}

.lineup-goal-net {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 0.17;
  vector-effect: non-scaling-stroke;
}

.lineup-tool-card__player {
  position: absolute;
  left: 48%;
  top: 48%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) rotate(4deg);
}

.lineup-tool-card__player-card {
  display: grid;
  width: clamp(84px, 22.8vw, 110px);
  height: clamp(108px, 28.8vw, 142px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: #3a3a3a;
  box-shadow:
    0 9px 14px rgba(0, 0, 0, 0.34),
    inset 0 6px 10px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lineup-tool-card__player-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lineup-tool-card__player-name {
  max-width: 148px;
  margin-top: 2px;
  padding: 7px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.84);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.26);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 340ms ease 120ms,
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
}

.lineup-tool-card:hover .lineup-tool-card__player-card,
.lineup-tool-card:focus-visible .lineup-tool-card__player-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lineup-tool-card:hover .lineup-tool-card__player-name,
.lineup-tool-card:focus-visible .lineup-tool-card__player-name {
  opacity: 1;
  transform: translateY(0);
}

.status-pill.muted {
  color: var(--muted-soft);
}

.status-pill.muted::before {
  content: none;
}

.lineup-tool-card h2,
.future-card h2 {
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
}

.lineup-tool-card h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(1.62rem, 6.5vw, 2.85rem);
}

.future-card h2 {
  margin: 14px 0 0;
  font-size: 1.35rem;
}

.lineup-tool-card p,
.future-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.lineup-tool-card p {
  max-width: 22rem;
  font-size: 1rem;
}

.lineup-tool-card .card-action {
  margin-top: 20px;
}

.card-action {
  width: 100%;
  min-height: 50px;
  padding-inline: 18px;
  line-height: 1.08;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.future-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  align-content: space-between;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 155, 212, 0.12), transparent 46%),
    var(--surface);
}

.discord-transfer-card {
  align-content: end;
}

.tactic-card {
  cursor: pointer;
}

.tactic-card__preview {
  position: absolute;
  inset: 0 0 0 20%;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 15, 25, 0.76) 0%, rgba(10, 15, 25, 0.28) 38%, rgba(10, 15, 25, 0.02) 100%),
    url("assets/tactic-board-preview.png") right -28px center / auto 112% no-repeat;
  opacity: 0.68;
  filter: brightness(1.22) saturate(1.12);
  pointer-events: none;
  transform: scale(1.02);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 32%, black 100%);
}

.tactic-card__content {
  position: relative;
  z-index: 3;
  align-self: end;
  transition:
    opacity 340ms ease,
    transform 340ms ease;
}

.tactic-card__content p {
  max-width: 13rem;
}

.tactic-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.tactic-card:hover .tactic-card__fade,
.tactic-card:focus-visible .tactic-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.tactic-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.tactic-card:hover .tactic-card__cta,
.tactic-card:focus-visible .tactic-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.discord-card__content {
  position: relative;
  z-index: 3;
  align-self: end;
  transition:
    opacity 340ms ease,
    transform 340ms ease;
}

.discord-card__content h2 {
  margin-top: 0;
}

.discord-card__content p {
  max-width: 12rem;
}

.discord-transfer-card.is-chatting .discord-card__content {
  opacity: 0;
  transform: translateY(-6px);
}

.discord-card__idle-bubbles,
.discord-card__chat {
  position: absolute;
  inset: 18px;
  z-index: 1;
  pointer-events: none;
}

.discord-card__idle-bubbles {
  opacity: 1;
  transition: opacity 300ms ease;
}

.discord-transfer-card.is-chatting .discord-card__idle-bubbles {
  opacity: 0;
}

.discord-card__bubble {
  position: absolute;
  max-width: 76%;
  border: 1px solid rgba(246, 247, 251, 0.07);
  border-radius: 16px;
  padding: 9px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(28, 38, 55, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  color: rgba(246, 247, 251, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.discord-card__bubble--left {
  left: 0;
  top: 32%;
}

.discord-card__bubble--right {
  right: 0;
  top: 6%;
}

.discord-card__chat {
  inset-block-end: 54px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  opacity: 0;
  mask-image: linear-gradient(180deg, black 0%, black 76%, transparent 100%);
  transition: opacity 300ms ease 160ms;
}

.discord-transfer-card.is-chatting .discord-card__chat {
  opacity: 1;
}

.discord-card__message {
  max-width: 78%;
  border: 1px solid rgba(246, 247, 251, 0.1);
  border-radius: 16px;
  padding: 9px 11px;
  background: rgba(18, 27, 42, 0.78);
  color: rgba(246, 247, 251, 0.84);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 520ms ease,
    transform 560ms cubic-bezier(0.18, 0.9, 0.22, 1);
  will-change: opacity, transform;
}

.discord-card__message.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.discord-card__message.is-exiting {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
}

.discord-card__message--left {
  align-self: flex-start;
  border-bottom-left-radius: 7px;
}

.discord-card__message--right {
  align-self: flex-end;
  border-bottom-right-radius: 7px;
  background: rgba(42, 56, 78, 0.76);
}

.discord-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.discord-transfer-card.is-chatting .discord-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.discord-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.discord-transfer-card:hover .discord-card__cta,
.discord-transfer-card:focus-visible .discord-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.content-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 210px;
  align-content: space-between;
  padding: 22px;
  background:
    radial-gradient(circle at 86% 6%, rgba(126, 155, 212, 0.22), transparent 34%),
    linear-gradient(145deg, var(--panel), var(--surface) 62%);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

.content-card > * {
  position: relative;
  z-index: 1;
}

.youtube-card {
  display: flex;
  overflow: hidden;
}

.youtube-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 20% 72%,
      rgba(105, 134, 184, 0.38) 0%,
      rgba(48, 69, 101, 0.28) 28%,
      rgba(8, 12, 18, 0) 58%
    ),
    radial-gradient(
      ellipse at 82% 42%,
      rgba(179, 15, 36, 0.22) 0%,
      rgba(91, 119, 172, 0.14) 28%,
      rgba(8, 12, 18, 0) 62%
    ),
    linear-gradient(135deg, rgba(52, 72, 106, 0.24), rgba(8, 12, 18, 0) 48%);
}

.youtube-card__preview {
  position: absolute;
  top: -210px;
  right: -310px;
  z-index: 0;
  width: 124%;
  min-width: 470px;
  max-width: none;
  opacity: 0.78;
  filter: brightness(1.14) contrast(1.1) saturate(1.08);
  mix-blend-mode: normal;
  pointer-events: none;
  transform: rotate(-8deg) translateY(var(--youtube-preview-y, 0px));
  transform-origin: center;
  will-change: transform;
}

.youtube-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 13, 0.78) 0%,
    rgba(5, 8, 13, 0.68) 30%,
    rgba(5, 8, 13, 0.36) 45%,
    rgba(5, 8, 13, 0.12) 58%,
    rgba(5, 8, 13, 0.02) 74%,
    rgba(5, 8, 13, 0) 100%
  );
}

.youtube-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}

.youtube-card__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid rgba(246, 247, 251, 0.22);
  border-radius: var(--radius-button);
  padding-inline: 28px;
  background: rgba(5, 8, 13, 0.54);
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
  opacity: 1;
  transform: none;
  transition:
    opacity 250ms ease,
    transform 250ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.youtube-card:hover .youtube-card__button,
.youtube-card__button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 759px) {
  .lineup-tool-card {
    aspect-ratio: 1 / 1.12;
    min-height: 380px;
    padding: 24px 18px;
  }

  .lineup-tool-card__content {
    max-width: min(100%, 22rem);
  }

  .lineup-tool-card h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.6vw, 2.16rem);
    line-height: 0.98;
  }

  .lineup-tool-card p {
    max-width: 18rem;
    font-size: clamp(1rem, 4.7vw, 1.16rem);
    line-height: 1.24;
  }

  .lineup-tool-card .card-action {
    margin-top: 18px;
    font-size: clamp(0.94rem, 4.6vw, 1.08rem);
    white-space: normal;
  }

  .future-card h2 {
    font-size: clamp(1.05rem, 5vw, 1.24rem);
    line-height: 1;
  }

  .future-card p {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .discord-card__bubble--left {
    top: 58px;
  }

  .youtube-card__preview {
    right: -285px;
    width: 142%;
    opacity: 0.72;
    transform: rotate(-8deg) translateY(120px);
  }

  .lineup-tool-card__player-card,
  .lineup-tool-card__player-name {
    opacity: 1;
    transform: none;
  }
}

.content-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 2.1rem;
  font-weight: 950;
  line-height: 0.95;
}

.content-card p {
  max-width: 24rem;
  margin: 10px 0 0;
  color: var(--muted);
}

.youtube-card {
  background:
    radial-gradient(circle at 84% 0%, rgba(179, 15, 36, 0.16), transparent 32%),
    linear-gradient(145deg, var(--panel), var(--surface) 62%);
}

.substack-card {
  align-content: space-between;
  gap: 28px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(126, 155, 212, 0.08), transparent 34%),
    linear-gradient(145deg, #17202c, rgba(10, 15, 25, 0.98) 64%);
}

.substack-card::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -26px;
  z-index: 0;
  width: min(68%, 282px);
  aspect-ratio: 653 / 625;
  background: url("assets/substack-newspaper.png") center / cover no-repeat;
  filter: blur(0.3px) brightness(1.02) saturate(0.72) contrast(0.9);
  opacity: 0.24;
  pointer-events: none;
  transform: rotate(-2deg);
  mask-image:
    radial-gradient(ellipse at 50% 52%, black 0%, rgba(0, 0, 0, 0.58) 46%, transparent 80%),
    linear-gradient(90deg, transparent 0%, black 32%, black 100%);
  mask-composite: intersect;
}

.substack-card__header,
.substack-card__cta {
  position: relative;
  z-index: 1;
}

.substack-card__header h2 {
  max-width: 13ch;
  font-size: clamp(1.55rem, 6vw, 2.1rem);
}

.substack-card__header p {
  max-width: 21rem;
  color: rgba(224, 229, 238, 0.88);
  font-size: 0.95rem;
}

.substack-card__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(246, 247, 251, 0.2);
  border-radius: var(--radius-button);
  padding-inline: 20px;
  color: var(--text);
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.substack-card:hover .substack-card__cta,
.substack-card:focus-visible .substack-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.lower-feature-card {
  display: grid;
  grid-column: 1 / -1;
  min-height: 168px;
  align-content: space-between;
  padding: 22px;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(126, 155, 212, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.96), rgba(10, 15, 25, 0.98) 64%);
}

.lower-feature-card h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(1.42rem, 5.4vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.lower-feature-card p {
  max-width: 24rem;
  margin: 10px 0 0;
  color: rgba(224, 229, 238, 0.88);
  font-size: 0.95rem;
}

.prediction-card {
  display: inline-flex;
  order: 10;
  align-self: start;
  width: 100%;
  min-height: 86px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 28px;
  appearance: none;
  background:
    radial-gradient(ellipse at 92% 12%, rgba(126, 155, 212, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 60%),
    rgba(18, 27, 42, 0.94);
  border-color: rgba(246, 247, 251, 0.2);
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.08;
  text-align: left;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.18);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.prediction-card::after {
  content: "↗";
  margin-left: 10px;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.86em;
}

.prediction-card:hover,
.prediction-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(ellipse at 92% 12%, rgba(126, 155, 212, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 60%),
    rgba(24, 34, 49, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 38px rgba(126, 155, 212, 0.12);
  transform: translateY(-1px);
}

.bingo-card {
  order: 12;
  min-height: 142px;
  cursor: pointer;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(126, 155, 212, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.96), rgba(10, 15, 25, 0.98) 64%);
}

.bingo-card h2 {
  position: relative;
  z-index: 2;
  max-width: none;
}

.bingo-card > .status-pill {
  position: relative;
  z-index: 2;
}

.bingo-card__preview {
  position: absolute;
  top: -16px;
  right: -18px;
  z-index: 1;
  display: grid;
  width: min(48%, 210px);
  aspect-ratio: 0.82;
  grid-template-columns: repeat(5, 1fr);
  align-content: start;
  border: 1px solid rgba(246, 247, 251, 0.22);
  border-radius: 10px;
  padding: 13px 10px 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(246, 247, 251, 0.16) 28px 29px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(246, 247, 251, 0.16) 28px 29px),
    rgba(31, 42, 59, 0.82);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  opacity: 0.3;
  pointer-events: none;
  transform: rotate(8deg);
  transition: opacity 180ms ease, transform 180ms ease;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 26%, black 62%);
}

.bingo-card__preview span {
  color: rgba(246, 247, 251, 0.9);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.bingo-card:hover .bingo-card__preview,
.bingo-card:focus-visible .bingo-card__preview {
  opacity: 0.43;
  transform: rotate(6deg) translateY(-2px);
}

.screenshot-editor-card {
  order: 13;
  min-height: 142px;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(126, 155, 212, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(24, 34, 49, 0.94), rgba(10, 15, 25, 0.98) 66%);
}

.screenshot-editor-card h2 {
  max-width: 16ch;
}

.bingo-card,
.screenshot-editor-card {
  align-content: start;
}

.tool-card__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 78px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.68) 34%, rgba(7, 10, 15, 0.96) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 320ms ease 160ms,
    transform 420ms cubic-bezier(0.18, 0.9, 0.22, 1) 160ms;
}

.bingo-card:hover .tool-card__fade,
.bingo-card:focus-visible .tool-card__fade,
.screenshot-editor-card:hover .tool-card__fade,
.screenshot-editor-card:focus-visible .tool-card__fade {
  opacity: 1;
  transform: translateY(0);
}

.tool-card__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-button);
  padding-inline: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(179, 15, 36, 0.18);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.bingo-card:hover .tool-card__cta,
.bingo-card:focus-visible .tool-card__cta,
.screenshot-editor-card:hover .tool-card__cta,
.screenshot-editor-card:focus-visible .tool-card__cta {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--red-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(179, 15, 36, 0.24);
  transform: translateY(-1px);
}

.social-row {
  display: grid;
  position: relative;
  z-index: 1;
  order: 11;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 12px;
}

.social-card {
  display: grid;
  min-height: 104px;
  align-content: space-between;
  padding: 14px 15px 15px;
  background:
    radial-gradient(circle at 10% 0%, rgba(126, 155, 212, 0.13), transparent 48%),
    rgba(18, 27, 42, 0.92);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.social-card::before {
  position: absolute;
  right: -12px;
  bottom: -20px;
  z-index: 0;
  color: rgba(246, 247, 251, 0.055);
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%);
  pointer-events: none;
}

.social-card--x::before {
  content: "X";
  font-size: 4.7rem;
}

.social-card--instagram::before {
  content: "IG";
  right: -18px;
  bottom: -14px;
  font-size: 3.7rem;
}

.social-card--spotify::before {
  content: "SP";
  right: -22px;
  bottom: -14px;
  font-size: 3.8rem;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: rgba(126, 155, 212, 0.52);
  background: rgba(24, 34, 49, 0.98);
  transform: translateY(-1px);
}

.social-card--instagram:hover,
.social-card--instagram:focus-visible {
  border-color: rgba(214, 91, 151, 0.58);
}

.social-card--spotify:hover,
.social-card--spotify:focus-visible {
  border-color: rgba(61, 208, 121, 0.55);
}

.social-card:hover::before,
.social-card:focus-visible::before {
  color: rgba(246, 247, 251, 0.082);
  transform: translateY(-2px);
}

.social-card__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.social-card .social-card__label {
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-card .social-card__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.social-card--instagram .social-card__icon {
  background: linear-gradient(145deg, rgba(112, 72, 187, 0.55), rgba(201, 55, 112, 0.48) 58%, rgba(232, 128, 45, 0.44));
}

.social-card--spotify .social-card__icon {
  background: rgba(30, 215, 96, 0.16);
  color: #4bdf81;
}

.social-card__icon svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.social-card__icon .social-card__icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-card .social-card__arrow {
  color: rgba(246, 247, 251, 0.42);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 160ms ease, transform 160ms ease;
}

.social-card:hover .social-card__arrow,
.social-card:focus-visible .social-card__arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

.social-card strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.1;
}

@media (min-width: 760px) {
  .site-header,
  .section-shell {
    width: min(100% - 64px, var(--container));
  }

  .site-header {
    min-height: 88px;
  }

  .brand img {
    height: 52px;
  }

  .header-cta {
    padding-inline: 22px;
    font-size: 0.95rem;
  }

  .intro {
    padding-block: 28px 14px;
  }

  .intro h1 {
    max-width: 760px;
    font-size: clamp(2.6rem, 4.9vw, 4.05rem);
  }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "lineup lineup transfers tactic"
      "lineup lineup youtube youtube"
      "substack substack socials socials"
      "substack substack socials socials";
    grid-template-rows:
      minmax(150px, auto)
      minmax(220px, auto)
      86px
      92px;
    gap: 16px;
  }

  .lineup-tool-card {
    grid-area: lineup;
    grid-column: span 2;
    grid-row: span 2;
    padding: 32px;
  }

  .lineup-tool-card__content {
    max-width: 62%;
  }

  .lineup-tool-card__preview {
    top: -6%;
    right: -10%;
    width: 58%;
    height: 108%;
    transform: rotate(-4deg);
  }

  .lineup-tool-card__player {
    left: 48%;
    top: 48%;
  }

  .lineup-tool-card__player-card {
    width: clamp(91px, 8.2vw, 113px);
    height: clamp(118px, 10.3vw, 144px);
  }

  .future-card {
    grid-column: span 1;
    min-height: auto;
    padding: 22px;
  }

  .discord-transfer-card {
    grid-area: transfers;
  }

  .tactic-card {
    grid-area: tactic;
  }

  .content-card {
    grid-column: span 2;
    min-height: 220px;
    padding: 26px;
  }

  .youtube-card {
    grid-area: youtube;
  }

  .substack-card {
    grid-area: substack;
    min-height: auto;
  }

  .lower-feature-card {
    grid-column: span 2;
    min-height: 150px;
    padding: 22px;
  }

  .lower-feature-card h2 {
    font-size: 1.75rem;
  }

  .prediction-card {
    grid-area: prediction;
    min-height: 86px;
    padding-inline: 28px;
  }

  .bingo-card {
    grid-area: tactic;
    min-height: auto;
  }

  .screenshot-editor-card {
    grid-area: screenshot;
    min-height: 150px;
  }

  .bingo-card h2,
  .screenshot-editor-card h2 {
    font-size: 1.35rem;
    line-height: 0.92;
  }

  .social-row {
    grid-area: socials;
    grid-column: span 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-self: stretch;
    margin-top: 0;
  }

  .social-card {
    min-height: 100%;
    padding: 14px;
  }

  .social-row .social-card {
    min-height: 92px;
    height: auto;
  }

  .social-card strong {
    font-size: 0.95rem;
  }

  .card-action {
    width: fit-content;
    min-width: 160px;
    padding-inline: 28px;
  }

}

@media (min-width: 1040px) {
  .intro {
    padding-block-start: 20px;
  }

  .lineup-tool-card h2 {
    font-size: clamp(2.35rem, 3.15vw, 2.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .youtube-card:hover .youtube-card__preview,
  .youtube-card:focus-within .youtube-card__preview,
  .youtube-card.is-preview-active .youtube-card__preview {
    transform: rotate(-8deg) translateY(var(--youtube-preview-y, 0px));
  }

  .lineup-tool-card__player-card,
  .lineup-tool-card__player-name {
    transition: none;
  }

  .lineup-tool-card:hover .lineup-tool-card__player-card,
  .lineup-tool-card:focus-visible .lineup-tool-card__player-card,
  .lineup-tool-card:hover .lineup-tool-card__player-name,
  .lineup-tool-card:focus-visible .lineup-tool-card__player-name {
    opacity: 1;
    transform: none;
  }
}
