/* The approved Club de exploradores design, with neutral paper and original branding. */
:root {
  --cream: #f5f6f5;
  --surface: #ffffff;
  --ink: #44251e;
  --muted: #725247;
  --orange: #b74229;
  --border: #44251e;
  --green: #587c50;
  --soft-green: #e6ebe4;
  --soft-orange: #f7e2d9;
  --blue: #dbe7e9;
  --shadow: 3px 3px 0 #44251e;
  --font-heading: 'Archivo Black', Arial, sans-serif;
  --font-body: 'Nunito Sans', Arial, sans-serif;
}

body { font-family: var(--font-body); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -.035em; }
.site-header { border-bottom: 0; }
.header-inner { gap: 28px; border-bottom: 2px solid var(--ink); }
.brand, .footer-brand { font-family: Manrope, sans-serif; color: #203630; }
.brand svg, .brand-dot { color: #e97048; }
.brand { font-weight: 800; font-size: 35px; letter-spacing: -2px; }
.brand svg { width: 35px; }
.header-inner nav { gap: 24px; }
.header-actions { gap: 12px; }
.streak-pill, .language-control { background: var(--surface); border-color: var(--border); }
.streak-pill { border-radius: 10px; }
.hero { grid-template-columns: 1.18fr 1fr; gap: 24px; padding: 48px 0 34px; }
.hero h1 { font-size: clamp(44px, 4.6vw, 60px); font-weight: 400; letter-spacing: -.05em; }
.hero p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero .eyebrow { font-size: 11px; }
.hero-caption { font-size: 12px; gap: 16px; flex-wrap: wrap; }
.float-note { border-color: var(--ink); background: var(--surface); }
.float-note small { font-size: 11px; }
.globe-art { background: #dce5d5; }
.daily-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 11px 0 30px; padding: 12px 0; border-bottom: 1px solid #44251e26; color: var(--muted); font-size: 13px; }
.daily-meta-date { font-weight: 700; }
.daily-meta-reset { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.daily-meta-reset time { color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .035em; white-space: nowrap; }
.section-head h2 { font-size: 28px; }
.section-head .games-heading { font-size: 28px; line-height: 1.2; }
.catalog-chip { color: var(--muted); }
.games-grid { gap: 20px; }
.games-grid .game-card {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--surface);
  min-width: 0;
}
.games-grid .atlas-card { grid-column: 1 / -1; }
.game-card:hover { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.game-card .card-art {
  height: 100%;
  min-height: 278px;
  border: 0;
  grid-template-columns: minmax(0, 1fr);
}
.card-art.speedrun { background: #e3e9c7; }
.card-art.flags { background: #f5d9c6; }
.card-art.country { background: #cde2e7; }
.card-art.comparison { background: #e8ecd9; }
.card-art.languages { background: #e4d9ea; }
.card-art.atlas { background: #dbe7e9; }
.atlas-card-art { position: relative; width: 100%; height: 100%; min-height: 150px; display: grid; place-items: center; overflow: hidden; }
.atlas-card-art > img { width: 125%; max-width: none; transform: rotate(-10deg); opacity: .7; filter: sepia(.2) saturate(.7); }
.atlas-art-pin { position: absolute; top: 38%; left: 42%; font-size: 54px; line-height: 1; color: var(--orange); }
.atlas-art-flag { position: absolute; top: 58%; left: 52%; width: 62px; padding: 8px; border: 1px solid var(--ink); background: white; border-radius: 6px; transform: rotate(8deg); box-shadow: 2px 2px 0 var(--ink); }
.atlas-art-flag img { width: 100%; display: block; }
.games-grid-six .language-card-art { width: 185px; transform: rotate(-5deg) scale(.85); }
.game-card .art-tag { display: none; }
.card-content { min-width: 0; padding: 24px 20px; gap: 0; }
.card-title-row { align-items: flex-start; }
.card-title-row :is(h2,h3) { font-family: var(--font-heading); font-size: 24px; font-weight: 400; letter-spacing: -.045em; line-height: 1.15; }
.card-title-row :is(h2,h3) svg { flex: 0 0 20px; margin-top: 3px; }
.card-number { display: none; }
.card-content > p { font-size: 14px; line-height: 1.5; min-height: 0; margin: 12px 0 16px; }
.card-meta { color: var(--muted); font-size: 11px; gap: 7px 12px; flex-wrap: wrap; margin-bottom: 18px; }
.button { background: var(--orange); border: 1px solid var(--ink); color: #fff; font-size: 13px; font-weight: 800; border-radius: 10px; box-shadow: 2px 2px 0 var(--ink); }
.button:hover, .button.orange:hover { background: #963823; }
.button.orange { border-color: var(--ink); }
.button.light { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.button.light:hover { background: var(--soft-green); }
.card-content > .button, .flag-card-actions { margin-top: auto; }
.card-content > .button { width: fit-content; max-width: 100%; gap: 12px; }
.game-card:first-child .button { background: var(--orange); color: #fff; border-color: var(--ink); }
.game-card:first-child .button:hover { background: #963823; }
.flag-card-actions { width: 100%; }
.flag-card-actions .button { border-color: var(--ink); font-size: 12px; }

/* Keep the existing illustrations and all their national flag colors. */
.speedrun-card-art { transform: rotate(-5deg) scale(.83); }
.speedrun-art-clock { font-size: 43px; }
.speedrun-art-clock > span { right: -8px; background: var(--surface); border-color: #c8d1c4; color: var(--orange); }
.speedrun-art-flags { grid-template-columns: repeat(3, 52px); gap: 8px; }
.speedrun-card-art img, .speedrun-card-art .speedrun-mini-flag { width: 52px; height: 39px; padding: 6px; border-radius: 6px; }
.flag-composition { flex-direction: row; gap: 13px; transform: scale(.55) rotate(-7deg); }
.flag-tile { width: 90px; height: 73px; border-color: #c8d1c4; }
.flag-tile img { width: 65px; height: 45px; }
.flag-tile:nth-child(2) { transform: translateY(-18px) rotate(13deg); }
.flag-tile:nth-child(3) { display: grid; }
.country-ring { width: 145px; height: 145px; }
.country-shape { width: 88px; height: 145px; }
.question-dot { right: 16%; top: 25%; }
.comparison-card-art { flex-direction: row; gap: 23px; transform: rotate(-5deg) scale(.72); }
.comparison-art-bars { height: 106px; gap: 8px; }
.comparison-art-bars i { width: 27px; }
.comparison-art-score { font-size: 47px; }
.comparison-art-score small { font-family: var(--font-body); font-size: 11px; }
.illustration-compass { font-size: 11px; }
.games-grid-five .language-card { grid-column: 1 / -1; grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
.games-grid-five .language-card .card-art { border: 0; min-height: 208px; }
.games-grid-five .language-card .card-content { padding: 25px 28px; }
.games-grid-five .language-card .card-content :is(h2,h3) { font-size: 27px; }
.language-card-art { width: 230px; gap: 10px; }
.language-card-art > span { background: var(--surface); border-color: #c8c0cc; padding: 10px 22px; font-size: 22px; }
.language-card-art > span:nth-child(2) { align-self: flex-end; padding: 10px 22px; font-size: 19px; }
.language-card-art > span:nth-child(3) { padding: 10px 22px; min-width: 120px; font-size: 22px; }
.journey { border: 2px solid var(--ink); background: var(--soft-green); border-radius: 12px; }
.journey h3 { font-size: 17px; }
.journey p { font-size: 12px; }
.journey .button { border: 1px solid var(--ink); }
.site-footer { border-top: 2px solid var(--ink); font-size: 12px; }
.site-footer button { font-size: 12px; }

@media (max-width: 1000px) {
  .header-inner { gap: 20px; }
  .header-inner nav { gap: 18px; }
  .header-actions { gap: 8px; }
  .card-content { padding: 22px 18px; }
  .card-title-row :is(h2,h3) { font-size: 22px; }
  .flag-card-actions { grid-template-columns: 1fr; }
  .flag-card-actions .button { justify-content: space-between; }
}
@media (max-width: 760px) {
  .brand { font-size: 30px; }
  .brand svg { width: 30px; }
  .hero { grid-template-columns: 1fr; gap: 12px; padding: 32px 0 25px; }
  .hero h1 { font-size: clamp(38px, 7vw, 54px); max-width: 600px; }
  .hero p { font-size: 14px; }
  .hero-caption { font-size: 11px; gap: 12px; }
  .hero-visual { position: relative; height: 280px; width: 100%; margin: 0; transform: scale(.85); opacity: 1; z-index: auto; top: auto; right: auto; }
  .float-note.a { left: 0; }
  .float-note.b { right: 0; }
  .games-grid.games-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid .game-card { grid-template-columns: minmax(0, 1fr); }
  .game-card .card-art { height: 160px; min-height: 160px; }
  .game-card .art-tag { display: block; font-size: 10px; }
  .card-title-row :is(h2,h3) { font-size: 23px; }
  .card-content { padding: 21px 20px; }
  .card-content > p { font-size: 13px; }
  .card-content > .button { margin-top: auto; }
  .flag-composition { transform: scale(.78) rotate(-7deg); }
  .country-ring { width: 200px; height: 200px; }
  .country-shape { width: 132px; height: 148px; }
  .question-dot { right: 19%; top: 40px; }
  .comparison-card-art { transform: rotate(-5deg) scale(.85); }
  .games-grid-five .language-card { grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
  .games-grid-five .language-card .card-art { height: 100%; min-height: 235px; }
  .games-grid-five .language-card .card-content { padding: 23px 21px; }
  .language-card-art { transform: rotate(-5deg) scale(.75); }
  .section-head h2 { font-size: 25px; }
}
@media (max-width: 540px) {
  .daily-meta { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; margin-bottom: 26px; }
  .header-inner { gap: 13px; padding: 0 18px; }
  .brand { font-size: 29px; gap: 7px; }
  .brand svg { width: 28px; }
  .header-inner nav { gap: 12px; }
  .header-inner nav [data-nav="atlas"] { display: block; }
  .header-actions { gap: 4px; }
  .hero h1 { font-size: clamp(36px, 9vw, 44px); max-width: none; }
  .hero-visual { display: grid; height: 238px; transform: scale(.72); }
  .float-note { padding: 9px 10px; }
  .float-note strong { font-size: 14px; }
  .float-note small { font-size: 13px; }
  .float-note.a { left: -25px; }
  .float-note.b { right: -25px; }
  .games-grid.games-grid-four { grid-template-columns: minmax(0, 1fr); }
  .games-grid .atlas-card { grid-column: auto; }
  .card-title-row :is(h2,h3) { font-size: 24px; }
  .card-content { padding: 21px; }
  .card-content > p { font-size: 14px; }
  .flag-card-actions { grid-template-columns: 1fr 1fr; margin-top: auto; }
  .games-grid-five .language-card { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .games-grid-five .language-card .card-art { height: 160px; min-height: 160px; }
  .games-grid-five .language-card .card-content { padding: 21px; }
  .games-grid-five .language-card .card-content :is(h2,h3) { font-size: 24px; }
  .language-card-art { transform: rotate(-5deg) scale(.7); }
  .section-head { align-items: flex-start; gap: 10px; flex-direction: column; }
  .catalog-chip { max-width: none !important; text-align: left; font-size: 11px !important; }
  .journey { align-items: flex-start; flex-wrap: wrap; padding: 20px; }
  .journey .button { margin-left: 0; }
}
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .header-inner nav { gap: 8px; font-size: 12px; }
  .brand { font-size: 26px; }
  .brand svg { width: 24px; }
  .header-actions .icon-button { width: 28px; }
}
@media (max-width: 360px) {
  .hero-visual { transform: scale(.68); }
  .float-note, .geo-label { display: none; }
  .orbit { width: 300px; }
  .card-content { padding: 19px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-card, .button { transition: none; }
  .game-card:hover { transform: none; }
}
