:root {
  --bg: #edf3f2;
  --card: #fffefa;
  --ink: #102321;
  --muted: #647875;
  --blue: #0e7168;
  --blue-dark: #062f31;
  --orange: #d9891b;
  --yellow: #f4d77a;
  --line: #d4e1de;
  --body: 'Onest', sans-serif;
  --display: 'Unbounded', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.72 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.site-head {
  height: 76px; padding: 0 max(24px,calc((100vw - 1280px)/2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 10;
}
.logo { display: flex; align-items: center; gap: 10px; width: max-content; font: 700 12px/1.05 var(--display); letter-spacing: -.04em; }
.logo i { width: 39px; height: 39px; display: grid; place-items: center; background: var(--orange); color: #fff; font: normal 800 13px var(--display); border-radius: 3px 9px 3px 9px; box-shadow: 0 5px 16px rgba(217,137,27,.2); }
.logo b { color: var(--blue); font-weight: 800; }
.site-head nav { display: flex; gap: 34px; color: #536b68; font-size: 13px; font-weight: 600; }
.site-head nav a:hover { color: var(--blue); }
.head-live { justify-self: end; display: flex; align-items: center; gap: 9px; color: #566c69; font-size: 12px; font-weight: 700; }
.head-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(217,137,27,.14); }
.menu { display: none; border: 0; background: none; }
.menu span { display: block; width: 23px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  width: min(1280px,calc(100% - 48px)); min-height: 620px; margin: 34px auto 0;
  display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 18px 54px rgba(9,56,53,.06);
}
.hero-copy { padding: 70px 58px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag { width: max-content; padding: 8px 12px; border: 1px solid #bcd4cf; border-radius: 50px; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { max-width: 700px; margin: 25px 0 23px; font: 700 clamp(37px,4.3vw,64px)/1.12 var(--display); letter-spacing: -.06em; }
.hero h1 em { display: block; color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; }
.hero-actions a:first-child { padding: 15px 18px 15px 22px; display: flex; align-items: center; gap: 18px; background: var(--blue); color: #fff; border-radius: 8px; font-weight: 800; box-shadow: 0 10px 24px rgba(14,113,104,.2); transition: transform .18s ease, background .18s ease; }
.hero-actions a:first-child:hover { background: #0a625a; transform: translateY(-1px); }
.hero-actions a:first-child b { width: 30px; height: 30px; display: grid; place-items: center; background: #fff; color: var(--blue); border-radius: 50%; font-size: 11px; }
.hero-actions a:last-child { color: #506966; font-size: 13px; font-weight: 700; }
.hero-data { margin-top: 50px; padding-top: 21px; display: grid; grid-template-columns: .8fr 1fr 1.3fr; gap: 20px; border-top: 1px solid var(--line); }
.hero-data small, .facts dt { display: block; color: #81918e; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-data strong { display: block; margin-top: 5px; font-size: 14px; }
.match-poster { margin: 14px; position: relative; overflow: hidden; border-radius: 17px; background: var(--blue-dark); color: #fff; }
.match-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; filter: saturate(.66) contrast(1.12); }
.match-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg,rgba(14,113,104,.8),rgba(4,37,39,.22) 47%,rgba(217,137,27,.46)); }
.poster-top,.poster-teams,.poster-time { position: absolute; z-index: 2; }
.poster-top { top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.poster-top b { width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 9px 3px 9px 3px; }
.poster-teams { inset: 0; display: grid; grid-template-columns: 1fr 55px 1fr; align-items: center; padding: 50px 30px; }
.poster-teams > div { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.poster-teams .flag { width: 64px; height: 42px; margin-bottom: 9px; }
.poster-teams strong { font: 700 clamp(42px,5vw,68px)/1 var(--display); }
.poster-teams small { font-size: 12px; text-transform: uppercase; }
.poster-teams em { text-align: center; color: var(--yellow); font: normal 700 14px var(--display); }
.poster-time { left: 25px; right: 25px; bottom: 25px; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; background: rgba(3,35,36,.75); border: 1px solid rgba(244,215,122,.14); border-radius: 8px; font: 600 12px var(--display); backdrop-filter: blur(8px); }
.poster-time b { color: var(--yellow); font-size: 20px; }
.flag { display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.france { background: linear-gradient(90deg,#153a8a 0 33.33%,#fff 33.33% 66.66%,#ef3340 66.66%); }
.spain { background: linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }

.player-section {
  margin-top: 90px; padding: 80px max(24px,calc((100vw - 1120px)/2)) 90px;
  background: #052c30; color: #fff;
}
.player-section header { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; }
.player-section header p { margin: 0 0 8px; color: #86cfc5; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.player-section h2 { max-width: 760px; margin: 0; font: 700 clamp(29px,3.5vw,47px)/1.18 var(--display); letter-spacing: -.045em; }
.on-air { display: flex; align-items: center; gap: 10px; color: #a9c0bd; font-size: 12px; }
.on-air i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(217,137,27,.17); }
.player-frame { overflow: hidden; background: #03191b; border: 1px solid #245054; border-radius: 12px; box-shadow: 0 28px 70px rgba(0,15,16,.78); }
.player-label { height: 54px; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #8da6a3; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.player-label b { color: #fff; font: 600 13px var(--display); }
.player-label em { margin: 0 9px; color: var(--orange); font-style: normal; }
.player-label span:last-child { justify-self: end; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #03191b; }
.dreams-player,.player-placeholder { width: 100%; height: 100%; position: relative; display: grid; place-items: center; background: linear-gradient(rgba(3,34,35,.43),rgba(2,28,30,.82)),url('cm-stadium-hero.png') center/cover; }
.dreams-player iframe,.dreams-player video,.video-wrapper > iframe { position: absolute!important; inset: 0; width: 100%!important; height: 100%!important; border: 0; }
.loading { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loading i { width: 43px; height: 43px; margin-bottom: 5px; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
.loading b { font-size: 14px; }
.loading span { color: #93aaa7; font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
.under-player { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; color: #8fa6a3; font-size: 12px; }
.under-player button { padding: 11px 15px; border: 1px solid #557675; border-radius: 7px; background: none; color: #fff; font-size: 11px; font-weight: 700; transition: border-color .18s ease, color .18s ease; }
.under-player button:hover { border-color: var(--yellow); color: var(--yellow); }

article { width: min(1180px,calc(100% - 48px)); margin: 90px auto 0; padding: 75px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 15px 48px rgba(9,56,53,.045); }
.article-head { max-width: 940px; margin: auto; }
.article-head > .section-no { display: none; }
.overline { margin: 0; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-head h2 { margin: 14px 0 22px; font: 700 clamp(36px,4.6vw,60px)/1.14 var(--display); letter-spacing: -.055em; }
.lead { max-width: 820px; color: #5e716e; font-size: 20px; line-height: 1.55; }
.meta { margin-top: 34px; padding-top: 16px; display: flex; gap: 28px; border-top: 1px solid var(--line); color: #788b88; font-size: 11px; }
.meta button { margin-left: auto; padding: 0; border: 0; background: none; color: var(--blue); font-size: 11px; font-weight: 700; }
.article-grid { max-width: 940px; margin: 85px auto 0; display: grid; grid-template-columns: 210px minmax(0,650px); gap: 50px; }
.facts { align-self: start; position: sticky; top: 24px; padding: 23px; background: #e8f2ef; border: 1px solid #cce0db; border-radius: 12px; }
.facts h3 { margin: 0 0 14px; font: 700 13px var(--display); }
.facts dl { margin: 0; }
.facts dl div { padding: 12px 0; border-top: 1px solid #cddfdb; }
.facts dd { margin: 3px 0 0; font-size: 13px; font-weight: 800; }
.copy { font-size: 17px; }
.copy p { margin: 0 0 25px; }
.copy .opening { font-size: 25px; font-weight: 600; line-height: 1.55; letter-spacing: -.025em; }
.copy section { margin-top: 68px; scroll-margin-top: 30px; }
.copy h3 { margin: 0 0 19px; font: 700 29px/1.28 var(--display); letter-spacing: -.04em; }
.stat-line { margin: 38px 0; padding: 24px; display: grid; grid-template-columns: 88px 1fr; align-items: center; background: #e4f2ef; border-left: 5px solid var(--blue); border-radius: 0 10px 10px 0; }
.stat-line.spanish { background: #fff4df; border-color: var(--orange); }
.stat-line strong { color: var(--blue); font: 700 58px/1 var(--display); }
.stat-line.spanish strong { color: var(--orange); }
.stat-line p { margin: 0; font-size: 14px; }
.copy figure { margin: 70px 0; padding: 32px; background: var(--blue-dark); color: #fff; border-radius: 14px; }
.copy figcaption { color: #8cc8bf; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.copy blockquote { margin: 14px 0 0; font: 600 24px/1.48 var(--display); letter-spacing: -.03em; }
.duels-list { border-top: 1px solid var(--line); }
.duels-list > div { padding: 21px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; border-bottom: 1px solid var(--line); }
.duels-list span { grid-row: 1/3; color: var(--orange); font: 700 12px var(--display); }
.duels-list h4 { margin: 0 0 6px; font-size: 17px; }
.duels-list p { margin: 0; color: #60736f; font-size: 14px; }
.history-board { margin-top: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.history-board > div { padding: 15px; display: grid; grid-template-columns: 65px 1fr 190px; align-items: center; border-bottom: 1px solid var(--line); }
.history-board > div:last-child { border: 0; }
.history-board time { font-weight: 800; }
.history-board span { color: #718681; font-size: 12px; }
.history-board b { text-align: right; }
.history-board .next { background: var(--blue); color: #fff; }
.history-board .next span { color: #b9ddd7; }

.faq { width: min(1180px,calc(100% - 48px)); margin: 30px auto 90px; padding: 65px 75px; background: var(--yellow); border-radius: 22px; }
.faq > header { max-width: 940px; margin: auto; }
.faq .section-no { display: none; }
.faq h2 { max-width: 850px; margin: 13px 0 42px; font: 700 clamp(32px,4vw,50px)/1.15 var(--display); letter-spacing: -.055em; }
.faq-grid { max-width: 940px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { padding: 0 20px; background: var(--card); border: 1px solid rgba(85,68,17,.08); border-radius: 9px; }
.faq summary { padding: 19px 28px 19px 0; font-weight: 800; cursor: pointer; }
.faq details p { margin: 0 0 19px; color: #63736f; font-size: 14px; }
.source-strip { padding: 28px max(24px,calc((100vw - 1120px)/2)); display: flex; gap: 28px; align-items: center; background: #dbe8e5; color: #566d68; font-size: 11px; }
.source-strip > span { color: var(--ink); font-weight: 800; text-transform: uppercase; }
.source-strip a { text-decoration: underline; }
footer { min-height: 130px; padding: 30px max(24px,calc((100vw - 1280px)/2)); display: flex; align-items: center; gap: 35px; background: var(--card); border-top: 1px solid var(--line); font-size: 11px; }
footer p { color: #748783; }
footer > a:last-child { margin-left: auto; color: var(--blue); font-weight: 700; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; padding: 13px 17px; background: var(--orange); color: #fff; border-radius: 7px; box-shadow: 0 10px 25px rgba(96,57,4,.18); font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(15px); transition: .2s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-head { grid-template-columns: 1fr auto; }
  .site-head nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px; flex-direction: column; background: var(--card); border-bottom: 1px solid var(--line); }
  .site-head nav.open { display: flex; }
  .head-live { display: none; }
  .menu { display: block; justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 55px 40px; }
  .match-poster { min-height: 500px; }
  article { padding: 55px 40px; }
  .article-grid { grid-template-columns: 180px minmax(0,1fr); gap: 35px; }
  .faq { padding: 55px 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head { height: 66px; padding: 0 14px; }
  .site-head nav { top: 66px; }
  .hero { width: calc(100% - 20px); margin-top: 10px; border-radius: 18px; }
  .hero-copy { padding: 42px 22px; }
  .hero h1 { font-size: 35px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a:first-child { justify-content: space-between; }
  .hero-data { grid-template-columns: 1fr 1fr; }
  .hero-data div:last-child { grid-column: 1/3; }
  .match-poster { min-height: 410px; margin: 8px; border-radius: 13px; }
  .poster-teams { grid-template-columns: 1fr 35px 1fr; padding-inline: 13px; }
  .poster-teams .flag { width: 39px; height: 26px; }
  .poster-teams strong { font-size: 36px; }
  .player-section { margin-top: 55px; padding: 60px 10px 70px; }
  .player-section header { display: block; padding: 0 5px; }
  .player-section h2 { font-size: 28px; }
  .on-air { margin-top: 15px; }
  .player-label { height: 45px; padding: 0 10px; grid-template-columns: 1fr auto; }
  .player-label span:last-child { display: none; }
  .under-player { align-items: flex-start; gap: 12px; font-size: 10px; }
  .under-player button { flex: none; padding: 8px; }
  article { width: calc(100% - 20px); margin-top: 35px; padding: 38px 18px 60px; border-radius: 16px; }
  .article-head h2 { font-size: 34px; }
  .lead { font-size: 18px; }
  .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .meta button { margin: 8px 0 0; text-align: left; }
  .article-grid { display: block; margin-top: 60px; }
  .facts { display: none; }
  .copy { font-size: 16px; }
  .copy .opening { font-size: 21px; }
  .copy section { margin-top: 55px; }
  .copy h3 { font-size: 25px; }
  .stat-line { grid-template-columns: 62px 1fr; padding: 19px 16px; }
  .stat-line strong { font-size: 45px; }
  .copy figure { margin: 55px 0; padding: 24px 19px; }
  .copy blockquote { font-size: 20px; }
  .history-board > div { grid-template-columns: 50px 1fr; }
  .history-board b { grid-column: 2; text-align: left; }
  .faq { width: calc(100% - 20px); margin: 10px auto 50px; padding: 40px 18px; border-radius: 16px; }
  .faq h2 { font-size: 31px; }
  .faq-grid { grid-template-columns: 1fr; }
  .source-strip { padding: 25px 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer > a:last-child { width: 100%; margin: 0; }
}
