/* Barcelona V Real Madrid — Apple Glassmorphism Design System */

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
:root {
  /* Base — visionOS near-black */
  --bg:          #07080f;
  --bg-elevated: #0c0d17;
  --bg-card:     rgba(255, 255, 255, 0.048);
  --bg-hover:    rgba(255, 255, 255, 0.075);
  --bg-soft:     #09090f;

  /* Glass surfaces */
  --glass:        rgba(255, 255, 255, 0.055);
  --glass-hover:  rgba(255, 255, 255, 0.085);
  --glass-strong: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --glass-inset:  inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text:       #f0f2f8;
  --text-muted: rgba(240, 242, 248, 0.65);
  --text-dim:   rgba(240, 242, 248, 0.38);

  /* Madrid gold */
  --accent:          #d4af37;
  --accent-bright:   #fdb913;
  --accent-deep:     #c9a227;
  --accent-soft:     rgba(253, 185, 19, 0.10);
  --madrid:          #d4af37;
  --madrid-gold:     #fdb913;
  --madrid-gold-deep:#c9a227;
  --madrid-white:    #ffffff;
  --madrid-offwhite: #f5f7fa;
  --madrid-soft:     rgba(253, 185, 19, 0.08);

  /* Barcelona blaugrana */
  --barca:            #004d98;
  --barca-mid:        #0052a5;
  --barca-bright:     #2e75c7;
  --barca-gold:       #fdb913;
  --barca-grana:      #a50044;
  --barca-red:        #c60c30;
  --barca-soft:       rgba(0, 77, 152, 0.22);
  --barca-grana-soft: rgba(165, 0, 68, 0.15);

  /* Historic purple */
  --historic-purple:      #6b2d8b;
  --historic-purple-soft: rgba(107, 45, 139, 0.10);

  /* Dual identity gradients */
  --dual-line: linear-gradient(
    90deg,
    var(--barca) 0%,
    var(--barca-bright) 22%,
    var(--barca-grana) 42%,
    var(--accent) 68%,
    var(--accent-bright) 100%
  );
  --dual-line-soft: linear-gradient(
    90deg,
    var(--barca-bright),
    var(--barca-grana),
    var(--accent)
  );
  --glow-barca:  rgba(46, 117, 199, 0.18);
  --glow-madrid: rgba(253, 185, 19, 0.10);
  --glow-grana:  rgba(165, 0, 68, 0.08);

  /* Semantic */
  --success: #3dba7a;
  --danger:  #e85d5d;

  /* Layout */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:       0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-glow:  0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.50);
  --shadow-gold:  0 0 0 1px rgba(253,185,19,0.18), 0 12px 40px rgba(0,0,0,0.40);
  --shadow-barca: 0 0 0 1px rgba(46,117,199,0.20), 0 12px 36px rgba(0,0,0,0.38);
  --blur:    blur(24px) saturate(1.8);
  --blur-sm: blur(12px) saturate(1.6);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(46,117,199,0.22), transparent 55%),
    radial-gradient(ellipse 65% 45% at 90% 5%,   rgba(253,185,19,0.12), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 90%,  rgba(165,0,68,0.08),   transparent 55%),
    radial-gradient(ellipse 30% 40% at 20% 60%,  rgba(107,45,139,0.06), transparent 55%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-bright); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--barca-bright); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600; letter-spacing: -0.035em;
}
h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--text-muted); }
ul, ol { color: var(--text-muted); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #111;
  padding: 0.5rem 1rem; z-index: 1000; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* =====================================================================
   GLASS UTILITY
   ===================================================================== */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), 0 8px 32px rgba(0,0,0,0.35);
}

/* =====================================================================
   CLUB ACCENT UTILITIES
   ===================================================================== */
.accent-barca {
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--barca), var(--barca-grana)) 1;
  padding-left: 1rem;
}
.accent-madrid { border-left: 3px solid var(--accent); padding-left: 1rem; }

/* =====================================================================
   HEADER — Full Glass Nav
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 15, 0.60);
  backdrop-filter: blur(28px) saturate(2.0);
  -webkit-backdrop-filter: blur(28px) saturate(2.0);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s var(--ease);
}
.site-header::after {
  content: ""; display: block; height: 1px;
  background: var(--dual-line); opacity: 0.70;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; opacity: 0.88; }
.brand-logo    { height: 34px; width: auto; max-width: 210px; }
.brand-logo-sm { height: 26px; width: auto; }
.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-width: max-content;
  height: 48px;
}
.brand-crest {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.35));
}
.brand-v {
  color: var(--accent-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  min-width: 1.05em;
  text-align: center;
  transform: translateY(-1px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.nav-toggle {
  display: none;
  background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); color: var(--text); border-radius: 10px;
  padding: 0.5rem 0.85rem; cursor: pointer; font-size: 0.875rem; font-weight: 600; font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(253,185,19,0.35); background: rgba(253,185,19,0.08); color: var(--accent-bright);
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  color: rgba(240,242,248,0.70); padding: 0.42rem 0.72rem; border-radius: 9px;
  font-size: 0.84rem; font-weight: 500; text-decoration: none; letter-spacing: 0.005em;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--text); background: rgba(255,255,255,0.07); text-decoration: none;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); color: var(--accent-bright); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(7,8,15,0.85);
    backdrop-filter: blur(28px) saturate(2); -webkit-backdrop-filter: blur(28px) saturate(2);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.85rem 1rem 1.35rem; box-shadow: 0 24px 48px rgba(0,0,0,0.50);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { display: block; padding: 0.8rem 1rem; font-size: 0.95rem; }
}

/* =====================================================================
   MAIN
   ===================================================================== */
main { flex: 1; padding-block: 2.5rem 4.5rem; }
.page-header { margin-bottom: 2.25rem; }
.page-header h1 { margin: 0.5rem 0 0.85rem; }
.page-header p.lead, .lead { font-size: 1.12rem; max-width: 48rem; color: var(--text-muted); line-height: 1.75; }

/* =====================================================================
   HOME HERO — Apple Glass Match Dashboard
   ===================================================================== */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  min-height: min(620px, calc(100vh - var(--header-h) - 3rem));
  margin: -0.35rem 0 2.2rem;
  padding: clamp(1.35rem, 4vw, 3.25rem);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    radial-gradient(ellipse at 16% 18%, rgba(46,117,199,0.24), transparent 46%),
    radial-gradient(ellipse at 84% 22%, rgba(253,185,19,0.16), transparent 42%),
    rgba(255,255,255,0.035);
  backdrop-filter: blur(30px) saturate(1.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  box-shadow: var(--glass-inset), 0 32px 90px rgba(0,0,0,0.52);
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,0.075) 26%, transparent 38%),
    linear-gradient(90deg, rgba(0,77,152,0.18), rgba(165,0,68,0.10), rgba(253,185,19,0.14));
  opacity: 0.55;
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--dual-line);
  opacity: 0.9;
}
.home-hero > * { position: relative; z-index: 1; }
.home-hero h1 {
  max-width: 9.5em;
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 6.2vw, 5.45rem);
  line-height: 0.96;
}
.home-hero .lead {
  max-width: 39rem;
  margin: 0;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  color: rgba(240,242,248,0.78);
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}
.home-hero__panel {
  min-height: 380px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-match-glow {
  position: absolute;
  width: min(34vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, rgba(0,77,152,0.42), rgba(165,0,68,0.30), rgba(253,185,19,0.40), rgba(0,77,152,0.42));
  filter: blur(34px);
  opacity: 0.55;
  animation: heroGlow 8s var(--ease) infinite alternate;
  z-index: -1;
}
.hero-match-card {
  width: min(100%, 430px);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045) 45%, rgba(255,255,255,0.025)),
    rgba(10,11,20,0.56);
  backdrop-filter: blur(30px) saturate(1.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.48);
  animation: floatCard 7s var(--ease) infinite alternate;
}
.hero-match-card__title {
  margin: 0 0 1rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.home-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.home-hero__stats div {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px) saturate(1.65);
  -webkit-backdrop-filter: blur(18px) saturate(1.65);
  box-shadow: var(--glass-inset);
}
.home-hero__stats strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.home-hero__stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-reveal {
  animation: revealUp 0.7s var(--ease) both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatCard {
  from { transform: translateY(0) rotate(-0.4deg); }
  to { transform: translateY(-10px) rotate(0.4deg); }
}
@keyframes heroGlow {
  from { transform: translate3d(-4%, 4%, 0) scale(0.96); opacity: 0.42; }
  to { transform: translate3d(5%, -5%, 0) scale(1.08); opacity: 0.68; }
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.35rem;
  }
  .home-hero h1 {
    max-width: 8.5em;
    font-size: clamp(2.6rem, 12vw, 4.25rem);
  }
  .home-hero__panel { min-height: 300px; }
  .home-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  main { padding-block-start: 1rem; }
  .home-hero {
    margin-top: 0;
    border-radius: 18px;
    gap: 1rem;
  }
  .home-hero h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .home-hero .lead { line-height: 1.55; }
  .home-hero__actions { margin-top: 1rem; }
  .home-hero__panel { min-height: auto; }
  .hero-match-card { padding: 1rem; }
  .hero-match-card__title { font-size: 1.1rem; margin-bottom: 0.7rem; }
  .hero-match-card .match-teams { gap: 0.45rem; margin-bottom: 0.7rem; }
  .hero-match-card .club-mark { width: 46px; height: 46px; }
  .hero-match-card .team-name { font-size: 0.95rem; }
  .hero-match-card .team-role { font-size: 0.62rem; }
  .hero-match-card .vs-or-score { min-width: 2.15rem; font-size: 1.25rem; }
  .hero-match-card .match-meta { font-size: 0.78rem; }
  .home-hero__stats { display: none; }
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none;
  margin: 0 0 0.85rem; padding: 0; font-size: 0.78rem; color: var(--text-dim);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--barca-bright); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: rgba(255,255,255,0.20); }

/* =====================================================================
   HERO — Glass Card
   ===================================================================== */
.hero {
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  margin-bottom: 1.75rem; position: relative; overflow: hidden;
  box-shadow: var(--glass-inset), var(--shadow);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 5% 20%,  var(--barca-soft), transparent 50%),
    radial-gradient(ellipse at 15% 85%, var(--barca-grana-soft), transparent 45%),
    radial-gradient(ellipse at 95% 75%, var(--madrid-soft), transparent 48%);
  pointer-events: none;
}
.hero::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dual-line); opacity: 0.85; }
.hero > * { position: relative; }
.hero-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-bright);
  background: rgba(253,185,19,0.10); backdrop-filter: blur(8px);
  padding: 0.38rem 0.85rem; border-radius: 999px; margin-bottom: 1.1rem;
  border: 1px solid rgba(253,185,19,0.22);
}
.hero h1 { margin-bottom: 0.85rem; }
.hero .lead { font-size: 1.12rem; max-width: 38rem; }

/* =====================================================================
   CARDS & GRIDS
   ===================================================================== */
.grid   { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 801px) and (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 1.35rem 1.45rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative; overflow: hidden;
  box-shadow: var(--glass-inset), 0 4px 24px rgba(0,0,0,0.30);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--dual-line-soft); opacity: 0.40; transition: opacity 0.2s var(--ease);
}
.card:hover {
  background: var(--glass-hover); border-color: var(--glass-border-hover);
  box-shadow: var(--glass-inset), 0 12px 40px rgba(0,0,0,0.40);
}
.card:hover::before { opacity: 0.90; }
.card h2, .card h3 { margin-top: 0; }
.card-link {
  display: block; color: inherit; text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card-link:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--glass-inset), 0 20px 56px rgba(0,0,0,0.45); }
.card-link h3 { color: var(--text); }
.card-meta { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.5rem; letter-spacing: 0.03em; text-transform: uppercase; }

.card.stripe-barca  { border-left: 2px solid rgba(0,77,152,0.70); }
.card.stripe-madrid { border-left: 2px solid rgba(212,175,55,0.70); }
.card.stripe-blaugrana { border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--barca), var(--barca-grana)) 1; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { margin-bottom: 2.5rem; }
.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--glass-border); position: relative;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 4.5rem; height: 1px; background: var(--dual-line-soft); border-radius: 1px;
}
.section-title a { font-size: 0.875rem; font-weight: 600; }

/* =====================================================================
   CLUB MARKS & CRESTS
   ===================================================================== */
.club-mark { display: block; width: 56px; height: 56px; margin: 0 auto 0.55rem; object-fit: contain; flex-shrink: 0; }
.competition-logo { object-fit: contain; flex-shrink: 0; }
.team { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.match-teams .club-mark { width: 56px; height: 56px; }
@media (min-width: 640px) { .match-teams .club-mark { width: 68px; height: 68px; } }
.dual-marks { display: flex; align-items: center; justify-content: center; gap: 0.85rem; margin: 0.75rem 0 0.35rem; }
.dual-marks .club-mark { margin: 0; width: 44px; height: 44px; }
.dual-marks-vs { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent-bright); letter-spacing: 0.04em; }
.marks-caption { text-align: center; font-size: 0.72rem; color: var(--text-dim); margin: 0 0 0.75rem; letter-spacing: 0.02em; }

/* =====================================================================
   MATCH CARDS — Glass
   ===================================================================== */
.match-card {
  background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 1.5rem; overflow: hidden; position: relative;
  box-shadow: var(--glass-inset), 0 8px 32px rgba(0,0,0,0.35);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.match-card::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0,77,152,0.06), transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(253,185,19,0.05), transparent 55%);
  pointer-events: none;
}
.match-card > * { position: relative; z-index: 1; }
.match-card.highlight { border-color: rgba(253,185,19,0.25); box-shadow: var(--glass-inset), var(--shadow-gold); }
.match-card.highlight::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--dual-line); z-index: 2; }

.match-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.32rem 0.72rem; border-radius: 999px; margin-bottom: 1rem; backdrop-filter: blur(8px);
}
.match-status.scheduled { background: rgba(253,185,19,0.10); color: var(--accent-bright); border: 1px solid rgba(253,185,19,0.20); }
.match-status.final { background: rgba(61,186,122,0.10); color: var(--success); border: 1px solid rgba(61,186,122,0.20); }

.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: center; text-align: center; margin-bottom: 1rem; }
.team-name { font-weight: 700; font-size: 1.08rem; color: var(--text); letter-spacing: -0.01em; }
.team-role  { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.team-barca .team-name  { color: #a8c8ef; }
.team-madrid .team-name { color: var(--accent-bright); }
.vs-or-score { font-size: 1.55rem; font-weight: 800; color: var(--accent); min-width: 3rem; font-variant-numeric: tabular-nums; }
.score-final { color: var(--text); letter-spacing: 0.06em; }
.match-meta { font-size: 0.875rem; color: var(--text-muted); text-align: center; }
.match-meta strong { color: var(--text); }
.countdown { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--glass-border); text-align: center; font-size: 0.88rem; color: var(--text-muted); }
.countdown #next-match-countdown, .countdown .countdown-value { color: var(--accent-bright); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; margin-top: 0.25rem; }

/* =====================================================================
   STATS
   ===================================================================== */
.stat-bar-wrap { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,0.05); margin: 0.4rem 0 0.85rem; }
.stat-bar-barca  { background: linear-gradient(90deg, var(--barca), var(--barca-bright) 70%, var(--barca-grana)); }
.stat-bar-madrid { background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); }
.stat-label { color: var(--text-dim); font-size: 0.78rem; text-align: center; letter-spacing: 0.04em; text-transform: uppercase; }
.big-stat { text-align: center; padding: 1.15rem 0.75rem; }
.big-stat .num { font-family: var(--font-display); font-size: 2.35rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -0.04em; }
.big-stat .lbl { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.35rem; }

/* =====================================================================
   TABLES — Glass
   ===================================================================== */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--glass-inset), 0 8px 32px rgba(0,0,0,0.30); position: relative;
}
.table-wrap::before { content: ""; display: block; height: 1px; background: var(--dual-line); opacity: 0.70; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 480px; }
table.data th, table.data td { padding: 0.85rem 1.05rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
table.data th { background: rgba(255,255,255,0.03); color: var(--text-dim); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(253,185,19,0.15); }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: rgba(255,255,255,0.03); }
table.data .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }

/* =====================================================================
   FAQ ACCORDION — Glass
   ===================================================================== */
.faq-accordion, .faq { margin: 1.5rem 0 2rem; }
.faq-accordion details, .faq-accordion .faq-item, .faq details {
  background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  margin-bottom: 0.6rem; padding: 1.1rem 1.25rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--glass-inset);
}
.faq-accordion details:hover, .faq details:hover { border-color: rgba(253,185,19,0.22); background: var(--glass-hover); }
.faq-accordion details[open], .faq details[open] { border-color: rgba(253,185,19,0.30); background: rgba(255,255,255,0.065); box-shadow: var(--glass-inset), 0 8px 24px rgba(0,0,0,0.30); }
.faq-accordion summary, .faq summary, details summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--text);
  list-style: none !important; list-style-type: none !important;
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; user-select: none;
}
.faq-accordion summary::-webkit-details-marker, .faq summary::-webkit-details-marker, details summary::-webkit-details-marker { display: none !important; }
.faq-accordion summary::marker, .faq summary::marker, details summary::marker { display: none !important; }
.faq-accordion summary::after, .faq summary::after { content: "+"; color: var(--accent-bright); font-size: 1.4rem; font-weight: 400; transition: transform 0.25s var(--ease); flex-shrink: 0; line-height: 1; }
.faq-accordion details[open] summary::after, .faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq-accordion .faq-answer, .faq details p, .faq-accordion details p { margin: 0.9rem 0 0.2rem; color: var(--text-muted); line-height: 1.75; font-size: 0.95rem; }
.faq-accordion .faq-answer strong { color: var(--text); }

/* =====================================================================
   QUICK JUMP BAR — Glass Pill
   ===================================================================== */
.quick-jump-bar {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 0.6rem 1rem; margin: 1.25rem 0 1.75rem; align-items: center; box-shadow: var(--glass-inset);
}
.quick-jump-bar .jump-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-bright); margin-right: 0.25rem; }
.quick-jump-bar a {
  display: inline-flex; align-items: center; font-size: 0.82rem;
  padding: 0.3rem 0.75rem; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 999px;
  color: var(--text-muted); text-decoration: none; transition: all 0.2s ease;
}
.quick-jump-bar a:hover { color: var(--accent-bright); border-color: rgba(253,185,19,0.30); background: rgba(253,185,19,0.08); }

/* =====================================================================
   EXEC SUMMARY
   ===================================================================== */
.exec-summary {
  background: rgba(212,175,55,0.06); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(212,175,55,0.20); border-left: 3px solid rgba(212,175,55,0.60);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem;
}
.exec-summary h2, .exec-summary h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--accent-bright); display: flex; align-items: center; gap: 0.5rem; }
.exec-summary p { margin: 0; font-size: 0.98rem; line-height: 1.7; color: var(--text); }

/* =====================================================================
   EDITORIAL INTROS & KEY FACTS
   ===================================================================== */
.article-intro p {
  font-size: 1.15rem; line-height: 1.85; color: rgba(240,242,248,0.88);
  margin-bottom: 1.25rem;
}
.article-intro p:last-child { margin-bottom: 0; }
.article-intro strong { color: #fff; font-weight: 600; }

.page-intro-card {
  background: transparent;
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.75rem;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.page-intro-card h2 { margin-top: 0; font-size: 1.35rem; color: var(--text); margin-bottom: 0.75rem; }
.page-intro-card p  {
  font-size: 1.12rem;
  line-height: 1.85;
  color: rgba(240, 242, 248, 0.85);
  margin-bottom: 1.25rem;
}
.page-intro-card p:last-child { margin-bottom: 0; }
.page-intro-card strong { color: #ffffff; font-weight: 600; }

.key-facts-card {
  background: rgba(253, 185, 19, 0.04);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(253, 185, 19, 0.18);
  border-left: 3px solid var(--madrid-gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.6rem;
  margin: 1.5rem 0 2.25rem;
  box-shadow: inset 0 1px 0 rgba(253, 185, 19, 0.08);
}
.key-facts-title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--madrid-gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.key-facts-list {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(240, 242, 248, 0.88);
  font-size: 0.96rem;
  line-height: 1.75;
}
.key-facts-list li { margin-bottom: 0.45rem; }
.key-facts-list li:last-child { margin-bottom: 0; }
.key-facts-list strong { color: #ffffff; font-weight: 600; }

/* =====================================================================
   BUTTONS — Glass Pills
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.68rem 1.35rem; border-radius: 999px; font-weight: 600;
  font-size: 0.9rem; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; font-family: inherit; letter-spacing: -0.01em;
  transition: filter 0.15s, transform 0.15s var(--ease), box-shadow 0.15s, border-color 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: #0d0d0d; box-shadow: 0 4px 20px rgba(253,185,19,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { filter: brightness(1.07); color: #0d0d0d; box-shadow: 0 8px 28px rgba(253,185,19,0.35); }
.btn-secondary {
  background: linear-gradient(135deg, var(--barca) 0%, var(--barca-mid) 55%, var(--barca-grana) 100%);
  color: #fff; border-color: rgba(46,117,199,0.30); box-shadow: 0 4px 16px rgba(0,77,152,0.25);
}
.btn-secondary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: var(--glass-border); color: var(--text); box-shadow: var(--glass-inset);
}
.btn-ghost:hover { border-color: rgba(253,185,19,0.30); color: var(--accent-bright); background: rgba(253,185,19,0.07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }

/* =====================================================================
   BADGES / CHIPS
   ===================================================================== */
.chip { display: inline-block; font-size: 0.72rem; padding: 0.28rem 0.65rem; border-radius: 999px; background: rgba(255,255,255,0.07); color: var(--text-muted); border: 1px solid var(--glass-border); font-weight: 600; letter-spacing: 0.03em; backdrop-filter: blur(8px); }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.30rem 0.65rem; border-radius: 999px; backdrop-filter: blur(8px); }
.badge-barca, .chip-barca { background: rgba(0,77,152,0.18); color: #c5dbf5; border: 1px solid rgba(46,117,199,0.30); }
.badge-madrid, .chip-madrid { background: rgba(253,185,19,0.10); color: var(--accent-bright); border: 1px solid rgba(253,185,19,0.25); }

/* =====================================================================
   QUICK LINKS
   ===================================================================== */
.quick-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0.75rem; }
.quick-links a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
  padding: 1.05rem 1rem; background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s;
  position: relative; overflow: hidden; box-shadow: var(--glass-inset);
}
.quick-links a::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dual-line-soft); opacity: 0.30; transition: opacity 0.15s; }
.quick-links a:hover { border-color: rgba(253,185,19,0.28); color: var(--accent-bright); transform: translateY(-2px); background: var(--glass-hover); }
.quick-links a:hover::before { opacity: 0.90; }
.quick-links a span { font-weight: 450; font-size: 0.74rem; color: var(--text-dim); }

/* =====================================================================
   BANNER
   ===================================================================== */
.unofficial-banner {
  background: rgba(255,255,255,0.04); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); border-left: 2px solid rgba(165,0,68,0.55);
  border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.6rem;
}
.unofficial-banner strong { color: var(--accent-bright); }

/* =====================================================================
   HUB LIST
   ===================================================================== */
.hub-list { list-style: none; margin: 0; padding: 0; }
.hub-list li { border-bottom: 1px solid var(--glass-border); padding: 0.95rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; }
.hub-list li:last-child { border-bottom: none; }
.hub-list a { font-weight: 600; color: var(--text); }
.hub-list a:hover { color: var(--accent-bright); }
.hub-list .desc { flex: 1; min-width: 200px; font-size: 0.875rem; }

/* =====================================================================
   PROSE
   ===================================================================== */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.1rem; font-weight: 600; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--text); }

.cluster-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.cluster-strip a {
  font-size: 0.8rem; font-weight: 600; padding: 0.38rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted); text-decoration: none; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cluster-strip a:hover { border-color: rgba(253,185,19,0.30); color: var(--accent-bright); background: rgba(253,185,19,0.07); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: rgba(7,8,15,0.70);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid var(--glass-border); padding: 2.75rem 0 1.6rem; margin-top: auto; position: relative;
}
.site-footer::before { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dual-line); opacity: 0.60; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { margin-bottom: 0.75rem; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand .brand-crest { width: 38px; height: 38px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.85rem; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.42rem; }
.footer-col a { color: var(--text-muted); font-size: 0.875rem; }
.footer-col a:hover { color: var(--barca-bright); }
.footer-bottom { padding-top: 1.35rem; border-top: 1px solid var(--glass-border); font-size: 0.78rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =====================================================================
   SOURCE NOTE
   ===================================================================== */
.source-note { font-size: 0.8rem; color: var(--text-dim); border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--barca-bright), var(--accent)) 1; padding-left: 0.85rem; margin-top: 1.25rem; }
.source-panel .section-title { margin-bottom: 0.75rem; }
.updated-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(253,185,19,0.24);
  border-radius: 999px;
  background: rgba(253,185,19,0.08);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
}
.source-list a { color: var(--text); font-weight: 600; }
.source-list a:hover { color: var(--accent-bright); }
@media (max-width: 700px) { .source-list { grid-template-columns: 1fr; } }

/* =====================================================================
   BLOG / ARTICLE CARDS
   ===================================================================== */
.blog-index { display: flex; flex-direction: column; gap: 1rem; }
.blog-card {
  display: block; padding: 1.35rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--glass-border); background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s, transform 0.15s var(--ease);
  position: relative; overflow: hidden; box-shadow: var(--glass-inset), 0 4px 16px rgba(0,0,0,0.25);
}
.blog-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dual-line-soft); opacity: 0.35; transition: opacity 0.15s; }
.blog-card:hover { border-color: rgba(253,185,19,0.25); background: var(--glass-hover); text-decoration: none; box-shadow: var(--glass-inset), 0 16px 48px rgba(0,0,0,0.40); transform: translateY(-2px); }
.blog-card:hover::before { opacity: 0.90; }
.blog-card h2, .blog-card h3 { font-size: 1.25rem; margin: 0.35rem 0 0.55rem; color: var(--text); font-family: var(--font-display); font-weight: 600; }
.blog-card p { margin: 0; font-size: 0.95rem; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

.article-byline { display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem; align-items: center; margin: 0 0 1.5rem; padding: 0.85rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); font-size: 0.875rem; color: var(--text-muted); }
.article-byline a { font-weight: 600; color: var(--accent-bright); }
.article-byline a:hover { color: var(--barca-bright); }
.article-dates { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; color: var(--text-dim); font-size: 0.82rem; }
.article-dates time { color: var(--text-muted); }

.toc {
  background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border); border-top: 1px solid rgba(253,185,19,0.20);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 0 0 1.75rem; max-width: 42rem;
  box-shadow: var(--glass-inset);
}
.toc h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin: 0 0 0.65rem; font-family: var(--font); font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2rem; color: var(--text-muted); font-size: 0.9rem; }
.toc li { margin-bottom: 0.35rem; }

.prose { max-width: 42rem; }
.prose.article-body { max-width: 44rem; }
.prose.article-body p { margin-bottom: 1.05rem; }
.prose.article-body h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose.article-body h3 { margin-top: 1.5rem; color: var(--text); }
.prose .callout {
  background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-left: 2px solid rgba(253,185,19,0.50);
  padding: 0.9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.25rem 0; font-size: 0.92rem;
}
.prose .callout strong { color: var(--accent-bright); }

.related-reads { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.related-reads h2 { font-size: 1.15rem; margin-bottom: 0.85rem; }

.author-card {
  display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: flex-start; padding: 1.5rem;
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  margin: 1.5rem 0; position: relative; overflow: hidden;
  box-shadow: var(--glass-inset), 0 4px 20px rgba(0,0,0,0.25);
}
.author-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--dual-line); opacity: 0.60; }
.author-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--barca) 0%, var(--barca-grana) 45%, var(--accent) 100%);
  display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0;
  font-size: 1.1rem; letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px rgba(253,185,19,0.20), 0 4px 16px rgba(0,0,0,0.30);
}

/* =====================================================================
   HOME BLOG GRID
   ===================================================================== */
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .home-blog-grid { grid-template-columns: 1fr; } }
.home-blog-grid .blog-card h2, .home-blog-grid .blog-card h3 { font-size: 1.05rem; }

/* =====================================================================
   INTRO SECTION (Clean Editorial Flow)
   ===================================================================== */
.intro-section {
  display: block;
  max-width: 860px;
  margin: 0 0 2.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
