:root {
  --bg-base: #fff8ef;
  --bg-accent: #ffe6c8;
  --bg-wash: #ffd7df;
  --surface: rgba(255, 250, 244, 0.78);
  --surface-strong: rgba(255, 252, 248, 0.92);
  --text-main: #20243a;
  --text-soft: #5f6885;
  --line-soft: rgba(32, 36, 58, 0.12);
  --navy: #243b7a;
  --sky: #60a5fa;
  --coral: #ff7a59;
  --peach: #ffb86c;
  --mint: #5fd0b3;
  --rose: #ff8fb1;
  --shadow: 0 24px 80px rgba(63, 58, 92, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 89, 0.22), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(96, 165, 250, 0.24), transparent 23%),
    radial-gradient(circle at 74% 78%, rgba(95, 208, 179, 0.2), transparent 18%),
    linear-gradient(140deg, #fff8ef 0%, #fff0dd 45%, #ffe4ec 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

body.is-transitioning .page-transition {
  opacity: 1;
  transform: scaleY(1);
}

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

.page-loader,
.page-transition,
.ambient {
  position: fixed;
  pointer-events: none;
}

.page-loader {
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 184, 108, 0.4), transparent 18%),
    linear-gradient(145deg, #fff7ef 0%, #ffe8e1 52%, #e9efff 100%);
  transition: opacity 550ms ease, visibility 550ms ease;
}

.loader-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border: 1px solid rgba(36, 59, 122, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.72);
  box-shadow: 0 18px 60px rgba(64, 74, 126, 0.16);
}

.loader-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--sky));
  animation: pulse 900ms infinite alternate;
}

.loader-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-transition {
  inset: 0;
  z-index: 998;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  background: linear-gradient(180deg, rgba(36, 59, 122, 0.12), rgba(255, 122, 89, 0.18));
  transition: opacity 260ms ease, transform 360ms var(--ease-spring);
}

.ambient {
  z-index: 0;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.72;
}

.ambient-one {
  top: 88px;
  right: -90px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.45), transparent 68%);
}

.ambient-two {
  left: -80px;
  top: 460px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 143, 177, 0.4), transparent 68%);
}

.ambient-three {
  right: 6%;
  bottom: 40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(95, 208, 179, 0.34), transparent 68%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.section,
.future-card {
  backdrop-filter: blur(20px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.72);
  box-shadow: 0 8px 30px rgba(64, 74, 126, 0.1);
}

.brand,
.section-heading h2,
.hero h1,
.site-footer h2,
.future-card h2 {
  font-family: "DM Serif Display", serif;
}

.brand {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--sky));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-spring);
}

.site-nav a:hover {
  color: var(--navy);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 122, 89, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(255, 252, 248, 0.92), rgba(255, 238, 223, 0.78)),
    rgba(255, 251, 245, 0.68);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 0.96;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  font-weight: 700;
  transform: translateY(0);
  transition: transform 180ms var(--ease-spring), box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 46%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 180ms ease, transform 220ms var(--ease-spring);
}

.button-primary {
  color: #f8f3eb;
  background: linear-gradient(135deg, var(--coral), #ff9671);
  box-shadow: 0 14px 32px rgba(255, 122, 89, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 252, 247, 0.88);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-card,
.about-card,
.interest-card,
.timeline-item,
.future-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(74, 80, 123, 0.08);
}

.panel-card {
  padding: 22px;
}

.panel-intro {
  min-height: 150px;
  background:
    linear-gradient(160deg, rgba(36, 59, 122, 0.92), rgba(96, 165, 250, 0.76)),
    var(--surface);
  color: #f7f1e8;
}

.panel-intro p,
.panel-wide p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.panel-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.panel-caption {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
}

.panel-wide {
  grid-column: span 2;
}

.section {
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.64);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading h2,
.site-footer h2,
.future-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section > h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
}

.about-card {
  padding: 28px;
}

.statement-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.facts-card {
  display: grid;
  gap: 18px;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.fact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-label {
  color: var(--text-soft);
}

.fact-value {
  font-weight: 700;
  text-align: right;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.interest-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease, border-color 220ms ease;
}

.interest-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(4px);
}

.interest-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 59, 122, 0.2);
  box-shadow: 0 20px 50px rgba(84, 87, 150, 0.16);
}

.interest-card h3 {
  position: relative;
  margin: 44px 0 12px;
  font-size: 1.55rem;
}

.interest-card p {
  position: relative;
  margin: 0;
  max-width: 26ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.interest-tag {
  position: relative;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
}

.football,
.music,
.travel,
.coding,
.gaming {
  grid-column: span 4;
}

.travel,
.gaming {
  grid-column: span 6;
}

.football::before {
  background: radial-gradient(circle, rgba(95, 208, 179, 0.58), transparent 68%);
}

.music::before {
  background: radial-gradient(circle, rgba(255, 143, 177, 0.56), transparent 70%);
}

.travel::before {
  background: radial-gradient(circle, rgba(255, 184, 108, 0.62), transparent 70%);
}

.coding::before {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.58), transparent 70%);
}

.gaming::before {
  background: radial-gradient(circle, rgba(255, 122, 89, 0.54), transparent 70%);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(36, 59, 122, 0.18);
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 54px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--coral);
  border-radius: 50%;
  background: #fff7ea;
}

.timeline-stage {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 8px 0 0;
  font-size: 1.22rem;
}

.future-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(36, 59, 122, 0.92), rgba(255, 122, 89, 0.84)),
    var(--surface);
  color: #f8f3eb;
}

.future-card .eyebrow {
  color: rgba(248, 243, 235, 0.72);
}

.future-card p:last-child {
  margin: 0;
  line-height: 1.8;
  color: rgba(248, 243, 235, 0.88);
}

.football-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 20px;
}

.football-hero-copy,
.football-hero-side {
  display: grid;
  gap: 18px;
}

.football-hero-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.club-pills,
.player-chip-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.club-pills span,
.player-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.football-overview,
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.football-overview {
  grid-template-columns: 1fr;
}

.favorite-player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.favorite-player-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 16px 36px rgba(84, 87, 150, 0.1);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease, border-color 220ms ease;
}

.favorite-player-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 59, 122, 0.22);
  box-shadow: 0 24px 44px rgba(84, 87, 150, 0.16);
}

.favorite-player-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(255, 240, 221, 0.94), rgba(240, 247, 255, 0.98));
}

.favorite-player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 320ms var(--ease-spring);
}

.favorite-player-card:hover .favorite-player-photo img {
  transform: scale(1.04);
}

.favorite-player-meta {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.favorite-player-meta h3 {
  margin: 0;
}

.favorite-player-tag {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.football-block,
.asset-card {
  display: grid;
  gap: 18px;
}

.football-block h3,
.asset-card h3,
.moment-card h3 {
  margin: 0;
}

.club-list {
  display: grid;
  gap: 14px;
}

.team-showcase {
  display: grid;
  gap: 20px;
}

.team-feature {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.team-feature-barca {
  background:
    linear-gradient(135deg, rgba(36, 59, 122, 0.08), rgba(255, 122, 89, 0.08)),
    rgba(255, 255, 255, 0.54);
}

.team-feature-gz {
  background:
    linear-gradient(135deg, rgba(255, 184, 108, 0.12), rgba(255, 122, 89, 0.08)),
    rgba(255, 255, 255, 0.54);
}

.team-copy {
  display: grid;
  gap: 8px;
}

.team-copy h3 {
  margin: 0;
}

.team-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.team-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-gallery {
  display: grid;
  gap: 12px;
}

.team-gallery-barca {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-gallery-gz {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-photo {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(84, 87, 150, 0.1);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease;
}

.team-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(84, 87, 150, 0.16);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--ease-spring);
}

.team-photo:hover img {
  transform: scale(1.04);
}

.team-photo {
  aspect-ratio: 16 / 10;
}

.club-card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}

.club-card p,
.asset-card p,
.moment-meta p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.club-card h3 {
  margin: 0 0 8px;
}

.club-barca {
  background:
    linear-gradient(135deg, rgba(36, 59, 122, 0.12), rgba(255, 122, 89, 0.1)),
    rgba(255, 255, 255, 0.55);
}

.club-gz {
  background:
    linear-gradient(135deg, rgba(255, 184, 108, 0.16), rgba(255, 143, 177, 0.12)),
    rgba(255, 255, 255, 0.55);
}

.asset-note {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
}

.asset-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.asset-note code,
.asset-card code,
.moment-meta code {
  font-family: inherit;
  font-weight: 800;
  color: var(--navy);
}

.formation-board {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(95, 208, 179, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(71, 171, 122, 0.92), rgba(52, 132, 94, 0.95));
  box-shadow: 0 22px 60px rgba(43, 102, 74, 0.18);
}

.formation-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 26px;
}

.formation-board::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  bottom: 22%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.25);
}

.formation-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.formation-row:last-child {
  margin-bottom: 0;
}

.formation-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.formation-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.formation-row-1 {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.formation-row-mid {
  padding-inline: 56px;
}

.formation-row-defense {
  padding-inline: 24px;
}

.keeper-card {
  max-width: 220px;
}

.formation-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(244, 255, 248, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(20, 77, 50, 0.16);
  transition: transform 200ms var(--ease-spring), background 200ms ease;
}

.formation-card:hover {
  transform: translateY(-4px) scale(1.01);
  background: rgba(248, 255, 250, 0.2);
}

.formation-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: #effff6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.formation-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 84px;
  height: 84px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(135deg, rgba(36, 59, 122, 0.7), rgba(255, 122, 89, 0.78));
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(28, 66, 46, 0.2);
}

.formation-avatar.has-image {
  background: rgba(255, 255, 255, 0.18);
}

.formation-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.formation-avatar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.formation-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.moment-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 36px rgba(84, 87, 150, 0.1);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease;
}

.moment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(84, 87, 150, 0.14);
}

.moment-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 24%, rgba(96, 165, 250, 0.22), transparent 20%),
    radial-gradient(circle at 82% 30%, rgba(255, 122, 89, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(255, 240, 221, 0.94), rgba(240, 247, 255, 0.98));
}

.moment-photo span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.moment-photo.has-image {
  padding: 0;
  background: #e9edf9;
}

.moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 280ms var(--ease-spring);
}

.moment-card:hover .moment-photo img {
  transform: scale(1.03);
}

.moment-meta {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.moment-time {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 22, 40, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms var(--ease-spring), background 180ms ease;
}

.lightbox-close:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.24);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.72);
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-strong);
  font-weight: 700;
  transition: transform 180ms var(--ease-spring), box-shadow 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 59, 122, 0.22);
  box-shadow: 0 12px 30px rgba(84, 87, 150, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  from {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 122, 89, 0.26);
  }

  to {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(255, 122, 89, 0);
  }
}

@media (max-width: 960px) {
  .hero,
  .about-layout,
  .football-hero,
  .asset-grid,
  .future-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .site-footer {
    padding: 28px;
  }

  .football,
  .music,
  .travel,
  .coding,
  .gaming {
    grid-column: span 6;
  }

  .formation-row-mid,
  .formation-row-defense {
    padding-inline: 0;
  }

  .favorite-player-grid,
  .moments-grid {
    grid-template-columns: 1fr;
  }

  .team-gallery-barca,
  .team-gallery-gz {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 12px), var(--max-width));
    padding-top: 10px;
  }

  .ambient-one,
  .ambient-two,
  .ambient-three {
    opacity: 0.45;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .hero {
    padding: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-wide {
    grid-column: span 1;
  }

  .section,
  .site-footer {
    padding: 18px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .formation-board {
    padding: 14px 10px 12px;
  }

  .formation-board::before {
    inset: 8px;
    border-radius: 18px;
  }

  .formation-board::after {
    display: none;
  }

  .formation-row-3,
  .formation-row-4 {
    gap: 8px;
    margin-bottom: 12px;
  }

  .formation-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .formation-row-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .formation-row-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .formation-row-mid {
    padding-inline: 16px;
  }

  .formation-row-defense {
    padding-inline: 0;
  }

  .formation-card {
    gap: 6px;
    padding: 10px 4px 8px;
    border-radius: 16px;
  }

  .formation-position {
    min-width: 38px;
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .formation-avatar {
    width: 48px;
    height: 48px;
  }

  .formation-card h3 {
    font-size: 0.68rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .keeper-card {
    max-width: 110px;
    width: 100%;
  }

  .football-hero,
  .football-overview,
  .asset-grid,
  .favorite-player-grid,
  .moments-grid {
    gap: 14px;
  }

  .team-feature,
  .about-card,
  .panel-card {
    padding: 16px;
  }

  .team-gallery-barca,
  .team-gallery-gz {
    gap: 10px;
  }

  .team-photo {
    aspect-ratio: 16 / 9;
  }

  .football,
  .music,
  .travel,
  .coding,
  .gaming {
    grid-column: auto;
  }

  .fact-item {
    flex-direction: column;
  }

  .fact-value {
    text-align: left;
  }
}
