/* marchmadness2k.com, in the launcher's look (mods/Launcher/README.md, "The look"): hardwood under a warm dark tint,
   brand blue #249FEB and the 2K gradient (#249FEB to #1E7BAB), navy panels with blue outlines, condensed capitals
   for headings (Barlow Condensed here: Bahnschrift is Windows-only), white text with a dark shadow. */
:root {
  --blue: #249FEB;
  --blue-mid: #2398DE;
  --blue-deep: #1E7BAB;
  --navy: #0A1220;
  --chip: #121C2C;
  --edge: rgba(36, 159, 235, .35);
  --text: #F0F4FA;
  --body: #C8D2DE;
  --dim: #8C9AAD;
  --head: 'Barlow Condensed', 'Bahnschrift', 'Arial Narrow', sans-serif;
  --copy: 'Barlow Semi Condensed', 'Bahnschrift', 'Segoe UI', sans-serif;
  --shadow: 0 2px 2px rgba(0, 0, 0, .85);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--body); background: #160C06; font: 400 17px/1.6 var(--copy);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.floor {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22, 12, 6, .15), rgba(22, 12, 6, .55)), url(/img/wood.jpg) center / cover;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); color: var(--text); text-transform: uppercase; letter-spacing: .04em; margin: 0; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 12px 32px;
  background: rgba(10, 18, 32, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--head); color: var(--text); letter-spacing: .05em; }
.nav-brand b { color: var(--blue); }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-social { display: flex; gap: 8px; }
.nav-links a { font: 600 16px/1 var(--head); color: var(--body); text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 8px;
  font: 700 18px/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--text); text-shadow: var(--shadow);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary {
  min-width: 300px; padding: 14px 34px; background: linear-gradient(180deg, var(--blue), var(--blue-mid) 45%, var(--blue-deep));
  border-top: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}
.btn-title { font-size: 28px; font-weight: 800; }
.btn-sub { font: 500 14px/1.3 var(--copy); text-transform: none; letter-spacing: 0; color: #E2ECF7; margin-top: 4px; }
.btn-primary[data-ready="false"] { background: linear-gradient(180deg, #2B5F86, #1F4A6B); cursor: default; }
.btn-ghost { padding: 9px 18px; background: var(--chip); border: 1.5px solid var(--edge); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-big { padding: 0 30px; min-height: 76px; font-size: 22px; }

/* Hero */
.hero { position: relative; min-height: min(calc(100vh - 62px), 940px); display: flex; align-items: center; padding: 64px 32px 80px; overflow: hidden; }
.hero-ball {
  position: absolute; left: 0; bottom: 0; height: min(78vh, 760px); pointer-events: none; opacity: .97;
  filter: drop-shadow(14px -4px 26px rgba(0, 0, 0, .6)) brightness(.86);
}
.hero-inner { position: relative; width: min(1100px, 100%); margin: 0 auto; text-align: center; }
.wordmark img { width: min(860px, 92%); height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .7)); }
.tagline { display: flex; align-items: center; gap: 22px; width: min(860px, 92%); margin: 18px auto 0; }
.tagline::before, .tagline::after { content: ""; flex: 1; height: 4px; background: var(--blue); }
.tagline span {
  font: 700 clamp(15px, 2.1vw, 26px)/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #EBF0F8;
  text-shadow: var(--shadow); white-space: nowrap;
}
.lede { max-width: 680px; margin: 28px auto 0; font-size: 20px; color: var(--body); text-shadow: var(--shadow); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 34px 0 0; }
.chips li {
  padding: 7px 16px; background: var(--chip); border: 1.5px solid var(--blue); border-radius: 6px;
  font: 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--text);
}

/* Sections */
.section { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 8px; }
.heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; font-style: italic; }
.heading::after { content: ""; flex: 1; height: 3px; background: var(--edge); }
.heading span { text-shadow: 0 3px 6px rgba(0, 0, 0, .7); }
.panel, .card, .steps li, .faq details {
  background: rgba(10, 18, 32, .88); border: 1.5px solid var(--edge); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.panel { padding: 28px 32px; }
.muted { color: var(--dim); }

/* Features */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { padding: 26px 28px; border-color: var(--blue); }
.card-wide { grid-column: 1 / -1; }
.card h3 { font-size: 26px; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin: 8px 0; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--blue); }
.two-col { columns: 2; column-gap: 36px; }
.two-col li { break-inside: avoid; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--blue); background: #0A1220; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.empty { display: flex; align-items: center; justify-content: center; border-style: dashed; border-color: var(--edge); background: rgba(10, 18, 32, .7); }
.shot.empty span { font: 600 16px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }

/* Install */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; padding: 24px 22px; position: relative; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 50%; background: linear-gradient(180deg, var(--blue), var(--blue-deep)); font: 800 26px/1 var(--head); color: #fff;
  text-shadow: var(--shadow);
}
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 16px; }
.note { margin: 18px 4px 0; color: var(--dim); font-size: 15px; }

/* Changelog */
.changelog .entry + .entry { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(36, 159, 235, .18); }
.entry-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.entry-head h3 { font-size: 26px; font-weight: 800; }
.entry:first-child .entry-head h3 { color: var(--blue); }
.entry-head time { font: 700 15px/1 var(--head); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.entry p { margin: 6px 0; }
.entry ul { margin: 6px 0; padding: 0; list-style: none; }
.entry li { position: relative; padding-left: 22px; margin: 5px 0; }
.entry li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--blue); }

/* Support */
.support p { margin: 0 0 14px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.perk { padding: 20px 22px; background: var(--chip); border: 1.5px solid var(--blue); border-radius: 10px; }
.perk h3 { font-size: 22px; margin-bottom: 6px; }
.perk h3 em { font-style: normal; color: var(--blue); margin-left: 6px; }
.perk p { margin: 0; font-size: 16px; }
.support .cta { justify-content: flex-start; margin-top: 22px; }
.support .btn-big { min-height: 64px; }
.support .btn-primary { min-width: 0; min-height: 64px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font: 700 21px/1.2 var(--head); text-transform: uppercase;
  letter-spacing: .04em; color: var(--text); display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: .8; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; }

/* Footer */
.footer { margin-top: 90px; padding: 44px 24px 54px; text-align: center; background: rgba(10, 18, 32, .9); border-top: 1px solid var(--edge); }
.footer-mark { width: 260px; height: auto; }
.footer nav { display: flex; justify-content: center; gap: 26px; margin: 20px 0 14px; }
.footer nav a { font: 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.footer p { margin: 0; color: var(--dim); font-size: 14px; }

/* Smaller screens */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-social { margin-left: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding: 10px 16px; }
  .hero { padding: 40px 16px 60px; min-height: 0; }
  .hero-ball { height: 300px; opacity: .45; }
  .tagline { gap: 10px; }
  .tagline span { white-space: normal; text-align: center; }
  .cards, .perks, .steps, .shots { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .btn-primary { min-width: 0; width: 100%; }
  .btn-big { width: 100%; min-height: 60px; }
  .panel { padding: 22px 20px; }
}
