:root {
  color-scheme: dark;
  --download-bg: #070a10;
  --download-ink: #f5f1e9;
  --download-muted: #b4bdca;
  --download-gold: #f6ce7b;
  --download-line: rgba(246,206,123,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.download-body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--download-bg);
  color: var(--download-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--download-gold); outline-offset: 4px; }
.download-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.download-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.08); background: #090d14; }
.download-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.download-brand img { display: block; width: 56px; height: 56px; object-fit: contain; }
.download-brand span { display: grid; gap: 3px; }
.download-brand strong { font-family: Georgia, serif; font-size: 21px; letter-spacing: .02em; white-space: nowrap; }
.download-brand small { color: var(--download-gold); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.download-nav { display: flex; align-items: center; gap: 29px; }
.download-nav a { color: #cfd5df; font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s; }
.download-nav a:hover { color: var(--download-gold); }
.download-nav .download-nav-home { padding: 12px 16px; border: 1px solid var(--download-line); border-radius: 8px; color: var(--download-gold); }
.download-nav-home span { margin-left: 9px; }
.download-hero {
  position: relative;
  isolation: isolate;
  min-height: 475px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--download-line);
  background: #0b0c12;
}
.download-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../download/koc-download-hero.png") center center / cover no-repeat;
}
.download-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,11,18,.32),rgba(8,11,18,.2) 42%,rgba(8,11,18,.06) 76%),linear-gradient(0deg,rgba(7,10,16,.46),transparent 55%);
}
.download-hero-inner { position: relative; display: flex; align-items: center; min-height: 475px; padding-block: 60px; }
.download-hero-copy { max-width: 590px; }
.download-eyebrow,.download-section-label { display: inline-flex; align-items: center; gap: 12px; color: var(--download-gold); font-size: 11px; font-weight: 900; letter-spacing: .24em; }
.download-eyebrow-line { display: block; width: 30px; height: 1px; background: var(--download-gold); }
.download-hero h1 { margin: 24px 0 16px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(54px,7vw,96px); font-weight: 600; line-height: .97; letter-spacing: -.055em; text-wrap: balance; }
.download-hero h1 em { color: var(--download-gold); font-weight: 400; }
.download-hero p { max-width: 470px; margin: 0; color: #d0d5df; font-size: 16px; line-height: 1.75; }
.download-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 50px;
  margin-top: 30px;
  padding: 0 19px;
  border: 1px solid var(--download-gold);
  border-radius: 7px;
  background: rgba(246,206,123,.12);
  color: var(--download-gold);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: background .2s,transform .2s;
}
.download-hero-cta:hover { background: rgba(246,206,123,.22); transform: translateY(-2px); }
.download-hero-index { position: absolute; right: 0; bottom: 27px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.download-hero-index span:last-child { opacity: .55; }
.download-hero-index i { width: 65px; height: 1px; background: rgba(255,255,255,.45); }
.download-section { padding-block: 76px 83px; scroll-margin-top: 24px; }
.download-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 28px; }
.download-section-heading h2,.download-guide h2 { margin: 11px 0 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(34px,4vw,52px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.download-section-heading p { max-width: 350px; margin: 0 0 4px; color: var(--download-muted); font-size: 14px; line-height: 1.65; }
.download-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 418px;
  padding: 28px 30px 25px;
  overflow: hidden;
  border: 1px solid var(--download-line);
  border-radius: 14px;
  background: radial-gradient(circle at 100% 0,rgba(215,143,58,.15),transparent 38%),linear-gradient(145deg,#171c27,#0d121b 72%);
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
}
.download-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--download-gold),transparent 75%); }
.download-card-game { border-color: rgba(97,174,240,.25); background: radial-gradient(circle at 100% 0,rgba(37,117,186,.19),transparent 40%),linear-gradient(145deg,#141e2c,#0d121b 72%); }
.download-card-game::before { background: linear-gradient(90deg,#70baff,transparent 75%); }
.download-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.download-card-number { color: var(--download-gold); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.download-card-game .download-card-number { color: #89c7ff; }
.download-card-tag { padding: 7px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; color: #cbd2dd; font-size: 10px; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.download-card-media { position: relative; height: 182px; margin-top: 21px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: #0c111a; }
.download-card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(5,9,15,.32),transparent 55%); }
.download-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.download-card-media-launcher img { object-position: center 33%; }
.download-card h3 { position: relative; margin: 21px 0 12px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(34px,4vw,49px); font-weight: 500; line-height: 1.03; letter-spacing: -.04em; }
.download-card p { position: relative; max-width: 445px; min-height: 70px; margin: 0; color: #bdc7d5; font-size: 14px; line-height: 1.65; }
.download-card-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 20px; }
.download-card-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 6px; color: #d5dce5; font-size: 11px; font-weight: 800; }
.download-card-button { display: flex; align-items: center; justify-content: space-between; min-height: 53px; margin-top: auto; padding: 0 17px; border-radius: 7px; background: var(--download-gold); color: #15120e; font-size: 14px; font-weight: 900; text-decoration: none; transition: filter .2s,transform .2s; }
.download-card-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.download-card-game .download-card-button { background: #b7ddff; color: #081627; }
.download-card-button span { font-size: 19px; font-weight: 400; }
.download-card small { display: block; margin-top: 13px; color: #9eaab9; font-size: 11px; line-height: 1.5; }
.download-card small strong { color: #cdd5e0; }
.download-showcase { padding: 0 0 90px; scroll-margin-top: 24px; }
.download-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.download-showcase-heading h2 { margin: 11px 0 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(34px,4vw,52px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.download-showcase-heading p { max-width: 340px; margin: 0 0 4px; color: var(--download-muted); font-size: 14px; line-height: 1.65; }
.download-showcase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.download-showcase-card { position: relative; min-width: 0; height: 292px; margin: 0; overflow: hidden; border: 1px solid var(--download-line); border-radius: 13px; background: #101722; }
.download-showcase-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .35s ease; }
.download-showcase-card:hover img { transform: scale(1.035); }
.download-showcase-card::after { content: ""; position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(0deg,rgba(3,7,12,.92),transparent); }
.download-showcase-card figcaption { position: absolute; z-index: 1; right: 24px; bottom: 23px; left: 24px; display: grid; gap: 5px; }
.download-showcase-card figcaption span { color: var(--download-gold); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.download-showcase-card figcaption strong { color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 500; }
.download-guide { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 54px; padding: 0 0 94px; scroll-margin-top: 24px; }
.download-guide-heading p { margin: 16px 0 0; color: var(--download-muted); font-size: 14px; line-height: 1.6; }
.download-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.download-guide-grid li { padding: 23px 20px; border-top: 1px solid rgba(246,206,123,.55); background: linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.download-guide-number { color: var(--download-gold); font-family: Georgia,serif; font-size: 30px; }
.download-guide-grid h3 { margin: 21px 0 9px; font-size: 17px; }
.download-guide-grid p { margin: 0; color: var(--download-muted); font-size: 13px; line-height: 1.65; }
.download-guide-grid strong { color: #e4e8ee; }
.download-guide-grid a { color: var(--download-gold); text-underline-offset: 3px; }
.download-footer { border-top: 1px solid rgba(255,255,255,.09); background: #090d14; }
.download-footer .download-container { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; color: #9eaab9; font-size: 12px; }
.download-footer a { color: var(--download-gold); text-decoration: none; }
@media (max-width:900px) {
  .download-guide { grid-template-columns: 1fr; gap: 25px; }
  .download-section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .download-section-heading p { max-width: 600px; }
  .download-showcase-heading { align-items: start; flex-direction: column; gap: 13px; }
  .download-showcase-heading p { max-width: 600px; }
  .download-hero::after { background: linear-gradient(90deg,rgba(8,11,18,.55),rgba(8,11,18,.26) 55%,rgba(8,11,18,.1)),linear-gradient(0deg,rgba(7,10,16,.58),transparent 60%); }
}
@media (max-width:690px) {
  .download-container { width: min(100% - 32px,1180px); }
  .download-header-inner { min-height: 72px; }
  .download-brand img { width: 44px; height: 44px; }
  .download-brand strong { font-size: 16px; }
  .download-brand small { font-size: 8px; }
  .download-nav>a:not(.download-nav-home) { display: none; }
  .download-nav .download-nav-home { font-size: 11px; padding: 10px; }
  .download-hero,.download-hero-inner { min-height: 440px; }
  .download-hero-inner { padding-block: 55px; }
  .download-hero h1 { font-size: clamp(49px,11vw,70px); }
  .download-hero::before { background-position: 47% center; }
  .download-hero::after { background: linear-gradient(90deg,rgba(8,11,18,.82),rgba(8,11,18,.47) 75%,rgba(8,11,18,.2)),linear-gradient(0deg,#080b12,transparent 70%); }
  .download-hero-index { display: none; }
  .download-section { padding-block: 55px 64px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 395px; }
  .download-card-media { height: 190px; }
  .download-showcase { padding-bottom: 66px; }
  .download-showcase-grid { grid-template-columns: 1fr; }
  .download-showcase-card { height: 260px; }
  .download-guide { padding-bottom: 65px; }
  .download-guide-grid { grid-template-columns: 1fr; }
  .download-guide-grid li { min-height: 132px; }
  .download-guide-grid h3 { margin-top: 10px; }
  .download-footer .download-container { flex-direction: column; gap: 8px; }
}
@media (max-width:390px) {
  .download-brand small { display: none; }
  .download-brand strong { font-size: 15px; }
  .download-card { padding: 23px 20px; }
  .download-card-tag { font-size: 9px; }
  .download-card h3 { font-size: 38px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .download-hero-cta,.download-card-button,.download-showcase-card img { transition: none; }
}
