:root {
  --wine: #820000;
  --wine-dark: #4f0000;
  --blue: #163a8a;
  --blue-dark: #071b43;
  --gold: #e5b62f;
  --ink: #101218;
  --muted: #6f7480;
  --line: #e4e7ed;
  --soft: #f5f6f8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  height: 84px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(18, 18, 22, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  box-shadow: 0 12px 40px rgba(30, 14, 18, .06);
}
.brand { height: 64px; display: flex; align-items: center; }
.brand img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
nav > a:not(.nav-cta) { color: #595860; transition: color .2s; }
nav > a:not(.nav-cta):hover { color: var(--wine); }
.nav-cta { padding: 13px 19px; border-radius: 10px; color: white; background: var(--wine); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px max(6vw, 24px) 70px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5vw;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 52vw;
  height: 52vw;
  right: -18vw;
  top: -20vw;
  border-radius: 50%;
  background: #f3f5fa;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -5px;
  line-height: .92;
  text-transform: uppercase;
}
h1 { font-size: clamp(65px, 8.5vw, 132px); }
h2 { font-size: clamp(54px, 6vw, 92px); }
h1 em, h2 em { color: var(--wine); font-style: normal; font-weight: 900; }
.hero-text { max-width: 510px; margin: 30px 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-slogan { margin: 18px 0 0; color: var(--wine); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; }
.hero-actions, .match-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button {
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  transition: transform .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--wine); }
.button-ghost { border-color: var(--line); background: white; }
.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-visual::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #b12727, var(--wine) 58%, var(--wine-dark));
  box-shadow: 0 35px 70px rgba(130, 0, 0, .25);
}
.orbit { position: absolute; border: 1px solid #e2ddde; border-radius: 50%; }
.orbit-one { inset: 12%; }
.orbit-two { inset: 2%; border-style: dashed; }
.hero-badge {
  z-index: 2;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-badge small, .hero-badge span { font-size: 9px; text-transform: uppercase; letter-spacing: 1.4px; }
.hero-badge strong { margin: 4px; color: var(--gold); font-family: "Montserrat", sans-serif; font-size: clamp(28px, 4vw, 58px); font-weight: 900; }
.floating-card {
  position: absolute;
  z-index: 3;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 15px 40px rgba(30, 14, 18, .08);
  font-size: 11px;
  font-weight: 700;
}
.floating-card span { color: var(--wine); }
.floating-card span { margin-right: 7px; }
.card-one { top: 18%; left: 5%; }
.card-two { right: 2%; top: 35%; }
.card-three { bottom: 16%; left: 11%; }
.hero-scroll { position: absolute; bottom: 25px; left: max(6vw, 24px); color: #99969c; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }
.hero-scroll span { margin-left: 8px; color: var(--gold); }

.section { padding: 120px max(6vw, 24px); }
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 4px solid var(--gold);
  background: var(--soft);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 80px 8vw;
}
.manifesto-copy { padding-top: 32px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.video-story { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 7vw; }
.video-story>div:first-child>p:last-child { max-width: 480px; margin-top: 25px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.video-frame { aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 18px; background: var(--blue-dark); overflow: hidden; box-shadow: 0 24px 60px rgba(7,27,67,.14); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.text-link { display: inline-flex; gap: 16px; margin-top: 18px; color: var(--ink); border-bottom: 1px solid var(--ink); font-weight: 700; font-size: 12px; }
.stat { border-top: 1px solid #d9d5d3; padding-top: 24px; display: flex; align-items: flex-end; gap: 18px; }
.stat strong { color: var(--wine); font-family: "Montserrat", sans-serif; font-size: 74px; font-weight: 900; line-height: .8; }
.stat span { color: var(--muted); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: 1.2px; }

.section-heading { margin-bottom: 55px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.member-tools { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.member-tools>p { margin: 0; color: var(--wine); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.search-box { width: min(340px, 100%); padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 9px; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.filters { display: flex; gap: 6px; }
.filter { padding: 10px 13px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.filter.active { color: white; background: var(--ink); }
.filter span { margin-left: 5px; opacity: .55; }
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.member-card { min-height: 245px; padding: 18px; border: 1px solid var(--line); border-left: 2px solid transparent; border-radius: 14px; background: white; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.member-card:hover { border-left-color: var(--blue); transform: translateY(-4px); box-shadow: 0 18px 45px rgba(30, 14, 18, .07); }
.member-avatar {
  width: 60px;
  height: 60px;
  margin-bottom: auto;
  border-radius: 50%;
  color: var(--wine);
  background: #f5e8e8;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}
.member-number { align-self: flex-end; margin-top: -58px; color: #aaa6aa; font-size: 9px; letter-spacing: 1px; }
.member-card h3 { margin: 52px 0 4px; font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.member-recognitions { margin-top: 5px; display: flex; gap: 4px; flex-wrap: wrap; }
.member-recognitions span { padding: 3px 5px; border-radius: 4px; color: var(--wine); background: #f7ebeb; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.member-recognitions span:last-child { color: var(--blue); background: #edf1f9; }
.member-location { margin: 0 0 14px; color: var(--muted); font-size: 10px; }
.member-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.member-tags span { padding: 5px 7px; border-radius: 5px; color: var(--blue); background: #edf1f9; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.members-footer { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.members-footer p { color: var(--muted); font-size: 11px; }
.protected-members { padding: clamp(28px, 6vw, 75px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, #f5f6f8, #edf2fb); display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 8vw; }
.protected-members>div:first-child { text-align: center; }
.protected-members>div:first-child span { color: var(--blue); font-size: clamp(90px, 15vw, 190px); font-weight: 900; line-height: .8; letter-spacing: -10px; }
.protected-members>div:first-child p { margin: 22px auto 0; max-width: 180px; color: var(--muted); font-size: 9px; line-height: 1.6; text-transform: uppercase; letter-spacing: 1.2px; }
.protected-members h3 { max-width: 500px; margin: 0 0 15px; font-size: clamp(25px, 3vw, 40px); letter-spacing: -2px; }
.protected-members>div:last-child>p { max-width: 560px; margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.world { color: white; background: var(--wine-dark); }
.world .section-heading.light .eyebrow,.world .section-heading.light h2 em { color: var(--gold); }
.world-layout { display: grid; grid-template-columns: 1.45fr .55fr; gap: 35px; align-items: start; }
.world-map { position: relative; min-height: 440px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: radial-gradient(circle at 25% 30%, rgba(130,0,0,.9), rgba(7,27,67,.88)); overflow: hidden; }
.world-map svg { width: 100%; height: 100%; opacity: .42; }
.world-map path { fill: #fff; stroke: rgba(255,255,255,.25); stroke-width: 2; }
#map-markers { position: absolute; inset: 20px; }
.map-marker { position: absolute; width: 17px; height: 17px; padding: 0; border: 3px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--wine-dark); background: var(--gold); transform: translate(-50%,-50%); box-shadow: 0 0 0 8px rgba(255,215,0,.12); }
.map-marker span { position: absolute; min-width: 20px; padding: 3px 5px; left: 12px; top: -15px; border-radius: 5px; color: white; background: var(--wine); font-size: 8px; font-weight: 800; }
.country-list { max-height: 440px; overflow: auto; display: grid; gap: 8px; }
.country-list article { padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.05); display: grid; grid-template-columns: 1fr auto; gap: 5px; }
.country-list strong { font-size: 11px; }.country-list span { color: var(--gold); font-size: 9px; }.country-list small { grid-column: 1/-1; color: rgba(255,255,255,.48); font-size: 8px; line-height: 1.5; }
.matches { color: white; background: linear-gradient(145deg,var(--blue-dark),#101218); }
.section-heading.light .eyebrow, .section-heading.light h2 em { color: var(--gold); }
.section-heading.light > p { color: rgba(255,255,255,.55); }
.next-match { padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.04); }
.match-meta { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); display: flex; justify-content: space-between; font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; }
.teams { padding: 60px 8vw; display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; text-align: center; }
.team { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.team strong { font-family: "Montserrat", sans-serif; font-size: clamp(20px, 3vw, 36px); font-weight: 800; }
.team-crest { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-size: 24px; font-weight: 900; }
.team-crest.madrid { color: var(--blue); background: white; box-shadow: inset 0 0 0 4px var(--gold); }
.team-crest.rival { border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.match-center { display: flex; flex-direction: column; gap: 6px; }
.match-center span, .match-center small { color: rgba(255,255,255,.45); font-size: 8px; text-transform: uppercase; letter-spacing: 1.2px; }
.match-center strong { color: var(--gold); font-size: 26px; }
.match-actions { justify-content: center; }
.button-white { color: var(--blue-dark); background: white; }
.button-dark-ghost { border-color: rgba(255,255,255,.2); color: white; }
.match-note { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 9px; color: rgba(255,255,255,.5); font-size: 10px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7dd18b; box-shadow: 0 0 0 4px rgba(125, 209, 139, .1); }

.join { text-align: center; background: linear-gradient(135deg, var(--soft), #eef2fa); display: flex; flex-direction: column; align-items: center; }
.join .eyebrow { justify-content: center; }
.join > p:not(.eyebrow) { max-width: 490px; margin: 28px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.shop-preview { border-top: 5px solid var(--wine); display: grid; grid-template-columns: 1fr 1.1fr .9fr; align-items: center; gap: 5vw; }
.shop-preview>div:last-child p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.scarf-art { position: relative; min-height: 190px; padding: 35px 25px; border-radius: 8px; color: white; background: repeating-linear-gradient(90deg,var(--wine) 0 45px,var(--blue-dark) 45px 90px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 25px 60px rgba(130,0,0,.2); transform: rotate(-3deg); }
.scarf-art::before,.scarf-art::after { content:""; position:absolute; left:-15px; right:-15px; height:12px; background:repeating-linear-gradient(90deg,var(--gold) 0 4px,transparent 4px 9px); }.scarf-art::before{top:-9px}.scarf-art::after{bottom:-9px}
.scarf-art span { font-size: clamp(20px,3vw,40px); font-weight:900; letter-spacing:-2px; }.scarf-art b { margin-top:8px; color:var(--gold); font-size:8px; letter-spacing:2px; }
.faq { background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.faq-grid article { padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 14px; }
.faq-grid h3 { margin: 0 0 14px; color: var(--blue); font-size: 15px; line-height: 1.4; }
.faq-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
footer { padding: 28px max(6vw, 24px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p, footer a { color: var(--muted); font-size: 10px; }
footer .brand { color: var(--ink); font-size: 13px; }
footer > div { display: flex; gap: 18px; }

@media (max-width: 900px) {
  nav { display: none; position: absolute; top: 92px; left: 0; width: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; flex-direction: column; align-items: stretch; box-shadow: 0 18px 40px rgba(30,14,18,.1); }
  nav.open { display: flex; }
  .menu-toggle { display: block; padding: 10px 12px; border: 0; border-radius: 8px; background: var(--soft); font-size: 11px; font-weight: 700; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 140px; }
  .hero-visual { width: min(560px, 100%); margin: auto; }
  .hero-scroll { display: none; }
  .manifesto { grid-template-columns: 1fr; gap: 45px; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .protected-members { grid-template-columns: 1fr; }
  .world-layout,.shop-preview { grid-template-columns: 1fr; }
  .video-story { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .site-header { height: 74px; }
  .site-header .brand { width: calc(100% - 64px); height: 54px; }
  .section { padding: 85px 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  h1, h2 { letter-spacing: -2px; }
  .hero-text { font-size: 14px; }
  .section-heading, .member-tools, .members-footer, footer { align-items: stretch; flex-direction: column; }
  .filters { overflow-x: auto; }
  .filter { white-space: nowrap; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .member-card { min-height: 220px; padding: 14px; }
  .world-map { min-height: 280px; }
  .teams { padding: 42px 0; grid-template-columns: 1fr 55px 1fr; }
  .team-crest { width: 62px; height: 62px; font-size: 18px; }
  .match-meta { gap: 15px; flex-direction: column; text-align: center; }
  footer > div { flex-wrap: wrap; }
}

/* Refined visual balance: royal blue leads, wine signs the identity. */
h1 em,h2 em{color:var(--blue)}.button-primary{background:var(--blue)}.hero-visual::after{background:radial-gradient(circle at 30% 25%,#315db7,var(--blue) 58%,var(--blue-dark));box-shadow:0 35px 70px rgba(22,58,138,.25)}.stat strong{color:var(--blue)}.world{background:var(--blue-dark)}.world-map{min-height:400px;border-radius:16px;background:radial-gradient(circle at 25% 30%,rgba(30,58,138,.95),rgba(7,27,67,.95))}.section{padding-top:95px;padding-bottom:95px}
.member-grid{grid-template-columns:repeat(4,1fr);gap:8px}.member-card{min-height:82px;padding:12px;border-radius:10px;align-items:center;flex-direction:row;gap:11px}.member-avatar{width:46px;height:46px;flex:none;margin:0;font-size:13px}.member-photo{object-fit:cover}.member-card h3{margin:0 0 4px;font-size:12px}.member-location,.member-birthplace{margin:0;color:var(--muted);font-size:8px;line-height:1.5}.member-birthplace{color:var(--wine)}.member-tags{display:none}
.scarf-art{padding:20px;min-height:0;border-radius:12px;background:var(--soft);box-shadow:0 18px 45px rgba(7,27,67,.1);transform:rotate(-2deg)}.scarf-art::before,.scarf-art::after{display:none}.scarf-art img{width:100%;height:auto;display:block}
@media(max-width:650px){.section{padding-top:68px;padding-bottom:68px}h1,h2{max-width:100%;font-size:clamp(42px,14vw,62px);letter-spacing:-2px;overflow-wrap:anywhere}.hero h1{font-size:clamp(42px,13vw,58px);line-height:.98}.member-grid{grid-template-columns:1fr}.member-card{min-height:68px;padding:10px}.world-map{min-height:280px}}
