/**
 * Closeburn Option-1 overrides on top of kb-hw-home.css
 * Homepage game tiles match HWER: 768×576 frame + contain.
 */
body.kb-lean-site {
  margin: 0;
  background: #020617 !important;
  color: #e2e8f0;
}

#kb-hw-games .kb-hw-games__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  #kb-hw-games .kb-hw-games__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

#kb-hw-games .kb-hw-game__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1220;
  display: block;
  padding: 6px 6px 0;
  box-sizing: border-box;
}

#kb-hw-games .kb-hw-game__media > .kb-hw-game__sticker,
#kb-hw-games .kb-hw-game__sticker {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  border-radius: 8px 8px 0 0;
}

#kb-hw-games .kb-hw-game:hover .kb-hw-game__sticker {
  transform: scale(1.015);
}

.kb-hw-game--seasonal .kb-hw-game__media {
  background: radial-gradient(120% 90% at 50% 10%, #1e3a5f 0%, #0b1220 72%);
}

#kb-cb-gifts {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem 2.85rem;
  box-sizing: border-box;
}
#kb-cb-gifts * { box-sizing: border-box; }
.kb-cb-gifts__go {
  margin: 0.35rem 0 0;
  text-align: center;
}
.kb-cb-gift-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: 920px;
  margin: 0.25rem auto 0;
  background: var(--kb-hw-card, #1e293b);
  border: 1px solid var(--kb-hw-line, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kb-cb-gift-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 144, 208, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.kb-cb-gift-feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #0b1220;
  text-decoration: none;
  padding: 1.4rem;
}
.kb-cb-gift-feature__paper {
  display: flex;
  flex-direction: column;
  width: min(100%, 240px);
  min-height: 150px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.kb-cb-gift-feature__kicker {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}
.kb-cb-gift-feature__paper-title {
  margin-top: 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kb-cb-gift-feature__paper-line {
  display: block;
  height: 6px;
  margin-top: 0.7rem;
  border-radius: 99px;
  background: #111;
}
.kb-cb-gift-feature__paper-line--short {
  width: 62%;
  margin-top: 0.4rem;
}
.kb-cb-gift-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.45rem;
}
.kb-cb-gift-feature__mark {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--kb-hw-blue, #0e90d0);
}
.kb-cb-gift-feature__title {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kb-cb-gift-feature__title a {
  color: #fff;
  text-decoration: none;
}
.kb-cb-gift-feature__title a:hover { color: var(--kb-hw-blue, #0e90d0); }
.kb-cb-gift-feature__teaser {
  margin: 0;
  max-width: 36rem;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.5;
}
.kb-cb-gift-feature__body .kb-hw-game__cta {
  align-self: flex-start;
  min-width: 14rem;
  margin-top: 0.45rem;
}
@media (max-width: 720px) {
  .kb-cb-gift-feature { grid-template-columns: 1fr; }
  .kb-cb-gift-feature__body .kb-hw-game__cta { align-self: stretch; }
}
#kb-cb-gifts .kb-hw-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0e90d0;
  color: #041018;
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(14, 144, 208, 0.35), 0 10px 28px rgba(14, 144, 208, 0.22);
}
#kb-cb-gifts .kb-hw-hero-cta:hover {
  filter: brightness(1.06);
  color: #041018;
}
.kb-cb-gifts__panel {
  max-width: 720px;
  margin: 0 auto;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1rem 1.15rem;
}
.kb-cb-gifts__label {
  margin: 0.9rem 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
.kb-cb-gifts__label:first-child { margin-top: 0; }
.kb-cb-gifts__note {
  margin: 0 0 0.55rem;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.45;
}
.kb-cb-gifts__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kb-cb-gifts__chip,
.kb-cb-gifts__tour {
  text-decoration: none;
  color: #fff;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.kb-cb-gifts__chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 5.6rem;
  padding: 0.65rem 0.75rem;
}
.kb-cb-gifts__chip strong,
.kb-cb-gifts__tour strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.kb-cb-gifts__chip span,
.kb-cb-gifts__tour span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}
.kb-cb-gifts__chip:hover,
.kb-cb-gifts__tour:hover {
  border-color: #0e90d0;
  color: #fff;
}
.kb-cb-gifts__tour {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
}
