/* Home */
.atlas-home-hero {
  min-height: clamp(420px, 56vh, 560px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(250, 204, 21, .12), transparent 24%),
    linear-gradient(112deg, rgba(8, 13, 29, .98) 0%, rgba(6, 12, 27, .96) 62%, rgba(12, 17, 32, .94) 100%);
}
.atlas-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 72%, rgba(250, 204, 21, .08) 72%, transparent 73%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.024) 0 1px, transparent 1px 104px);
  opacity: .18;
  pointer-events: none;
}
.atlas-home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(22px, 4vw, 52px);
}

#homeHeroHeading {
  max-width: 840px;
  font-size: 38px;
  line-height: .97;
}

.atlas-home-hero__content > p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  #homeHeroHeading {
    font-size: 52px;
  }

  .atlas-home-hero__content > p {
    font-size: 18px;
  }
}

@media (min-width: 1280px) {
  #homeHeroHeading {
    font-size: 64px;
  }
}
.atlas-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .75rem;
  color: rgba(226, 232, 240, .78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.atlas-hero-kicker__medal {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff5bf;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, .22), rgba(219, 234, 254, .12));
  border: 1px solid rgba(250, 204, 21, .28);
  box-shadow: 0 0 24px rgba(250, 204, 21, .16);
}
.atlas-home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  max-width: 620px;
}
.atlas-home-proof {
  display: block;
  color: rgba(226, 232, 240, .54);
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.5;
}
.atlas-home-proof strong {
  color: rgba(248, 250, 252, .9);
  font-weight: 850;
}
.atlas-home-proof span[aria-hidden="true"] {
  color: rgba(250, 204, 21, .58);
}

.atlas-home-section {
  padding: 18px 0 0;
}

.atlas-home-beta-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(125, 211, 252, .18);
  border-left: 3px solid rgba(56, 189, 248, .78);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, .10), transparent 58%),
    rgba(8, 13, 29, .66);
  color: rgba(226, 232, 240, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.atlas-home-beta-notice__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(224, 242, 254, .96);
  background: rgba(14, 165, 233, .14);
  border: 1px solid rgba(125, 211, 252, .22);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atlas-home-beta-notice__badge i {
  color: rgba(250, 204, 21, .9);
}

.atlas-home-beta-notice p {
  margin: 0;
  color: rgba(226, 232, 240, .72);
  font-size: .92rem;
  line-height: 1.45;
}

.atlas-home-beta-notice strong {
  color: rgba(248, 250, 252, .94);
  font-weight: 850;
}

.atlas-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.atlas-home-section__head--compact {
  margin-bottom: 10px;
}

#searchFeedback,
.atlas-search-feedback {
  margin-top: 8px;
  min-height: 18px;
  color: rgba(226, 232, 240, .48);
  font-size: .82rem;
  line-height: 1.35;
}

.atlas-search-feedback--error {
  color: rgba(253, 164, 175, .9);
}

#homeCatalogProofText {
  margin-top: 1rem;
}

.atlas-home-cta-row {
  gap: 10px;
}

.atlas-home-section__head h2,
.atlas-home-feed__head h2 {
  letter-spacing: 0;
}

#homeHistoryTitle {
  font-size: 1.5rem;
  margin-top: .5rem;
}

#homeMomentTitle,
#homeFeaturedTitle {
  font-size: 1.75rem;
}

#homeDiscoveryTitle {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  #homeMomentTitle,
  #homeFeaturedTitle {
    font-size: 2.125rem;
  }

  #homeDiscoveryTitle,
  #homeHistoryTitle {
    font-size: 1.875rem;
  }
}

@media (max-width: 640px) {
  .atlas-home-beta-notice {
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
  }

  .atlas-home-beta-notice__badge {
    min-height: 28px;
    padding-inline: 9px;
    font-size: .7rem;
  }

  .atlas-home-beta-notice p {
    font-size: .86rem;
    line-height: 1.38;
  }
}

.atlas-intent-card {
  color: rgba(248, 250, 252, .92);
  width: 100%;
  min-height: 118px;
  text-align: left;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.055);
  border-left: 3px solid var(--intent-color, var(--accent));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--intent-color, var(--accent)) 8%, transparent), transparent 52%),
    rgba(7, 13, 28, .36);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.atlas-intent-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--intent-color, var(--accent)) 28%, rgba(255,255,255,.08));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--intent-color, var(--accent)) 12%, transparent), transparent 56%),
    rgba(10, 18, 36, .56);
}

.atlas-intent-card--short { --intent-color: #38bdf8; }
.atlas-intent-card--easy { --intent-color: #34d399; }
.atlas-intent-card--medium { --intent-color: #0ea5e9; }
.atlas-intent-card--challenge { --intent-color: var(--difficulty-high); }

.atlas-intent-card > * {
  position: relative;
}

.atlas-intent-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.atlas-intent-card__head i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--intent-color, var(--accent)) 12%, transparent);
  color: color-mix(in srgb, var(--intent-color, var(--accent)) 88%, white);
  flex: 0 0 auto;
}

.atlas-intent-card__label {
  color: color-mix(in srgb, var(--intent-color, var(--accent)) 82%, white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.atlas-intent-card strong {
  color: rgba(248, 250, 252, .96);
  font-size: .98rem;
  line-height: 1.25;
}

.atlas-intent-card p {
  color: rgba(226, 232, 240, .68);
  font-size: .84rem;
  line-height: 1.35;
  margin: 0;
  flex: 1 1 auto;
}

.atlas-intent-card__meta {
  align-self: flex-start;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.026);
  border: 1px solid rgba(255,255,255,.052);
  font-size: .76rem;
  font-weight: 800;
}

.atlas-intent-empty {
  grid-column: 1 / -1;
}

.atlas-featured-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(128px, 180px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
}

.atlas-featured-game::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(219,234,254,.05);
}

.atlas-featured-game__cover {
  width: 100%;
  max-width: 180px;
  min-height: 0;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(250, 204, 21, .18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .30);
}

.atlas-featured-game__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-home-image-shell {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 25% 20%, rgba(250, 204, 21, .16), transparent 34%),
    linear-gradient(135deg, rgba(18, 27, 48, .96), rgba(6, 10, 22, .98));
}

.atlas-home-image-shell img {
  position: relative;
  z-index: 2;
}

.atlas-home-image-fallback {
  position: absolute;
  inset: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 250, 252, .78);
  font-size: clamp(.9rem, 2vw, 1.25rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
}

.atlas-home-image-shell--fallback-visible .atlas-home-image-fallback {
  opacity: 1;
}

.atlas-featured-game__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 4px 6px 4px 0;
}

.atlas-featured-game h3 {
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.04;
  font-weight: 900;
}

.atlas-featured-game p {
  max-width: 560px;
  color: rgba(226, 232, 240, .68);
  line-height: 1.45;
  font-size: .95rem;
}

.atlas-featured-game__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: rgba(226, 232, 240, .78);
  font-size: .92rem;
}

.atlas-featured-game__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.atlas-featured-game__meta i {
  color: rgba(203, 213, 225, .58);
}

.atlas-featured-game__meta .atlas-meta-signal i {
  color: color-mix(in srgb, var(--meta-color) 88%, white);
}

.atlas-featured-game .atlas-card__actions {
  margin-top: 2px;
}

.atlas-featured-game__cta {
  min-height: 46px;
  height: 46px;
  min-width: 164px;
  padding-inline: 18px;
  gap: 8px;
  border-radius: 14px;
  font-size: .92rem;
  box-shadow:
    0 12px 30px rgba(14, 165, 233, .26),
    0 0 32px rgba(250, 204, 21, .13);
}

.atlas-home-section--feeds {
  padding-top: 18px;
}

.atlas-home-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 22px;
  align-items: start;
}

.atlas-home-feed {
  min-width: 0;
}

.atlas-home-feed__head {
  margin-bottom: 12px;
}

.atlas-home-feed__head p {
  max-width: 62ch;
}

.atlas-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.atlas-discovery-card {
  min-height: 100%;
}

.atlas-discovery-card__media {
  aspect-ratio: 2 / 3;
}

.atlas-discovery-card .atlas-card__body {
  padding: 14px;
  gap: 9px;
}

.atlas-discovery-card .atlas-card__title {
  font-size: 1.02rem;
}

.atlas-discovery-card .atlas-card__status {
  color: rgba(250, 204, 21, .88);
}

.atlas-editorial-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.055);
}

.atlas-editorial-update {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.atlas-editorial-update time {
  color: rgba(203, 213, 225, .48);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.atlas-editorial-update__body {
  min-width: 0;
}

.atlas-editorial-update h3 {
  color: #fff;
  font-size: .92rem;
  font-weight: 850;
  line-height: 1.25;
}

.atlas-editorial-update p {
  margin-top: 3px;
  color: rgba(226, 232, 240, .58);
  font-size: .8rem;
  line-height: 1.32;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.atlas-editorial-update__link {
  min-height: 32px;
  padding-inline: 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(226, 246, 255, .86);
  border: 1px solid rgba(125, 211, 252, .13);
  background: rgba(14, 165, 233, .045);
  font-size: .76rem;
  font-weight: 850;
  white-space: nowrap;
}

.atlas-editorial-update__link:hover {
  color: #fff;
  border-color: rgba(125, 211, 252, .24);
  background: rgba(14, 165, 233, .09);
}


.atlas-clear-filter--feature {
  border-color: rgba(56, 189, 248, .24);
  background: linear-gradient(135deg, rgba(56, 189, 248, .12), rgba(255,255,255,.04));
}

.atlas-decision-panel {
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14,165,233,.10), rgba(255,255,255,.025));
  border: 1px solid rgba(125,211,252,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.atlas-decision-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 900px) {
  .atlas-home-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .atlas-featured-game {
    grid-template-columns: minmax(104px, 150px) minmax(0, 1fr);
  }

  .atlas-featured-game__cover {
    width: min(150px, 42vw);
    min-height: 0;
    justify-self: start;
  }

  .atlas-featured-game__body {
    padding: 0;
  }

  .atlas-home-feed-grid,
  .atlas-discovery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-decision-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
