:root {
  --bg: #06101f;
  --panel: rgba(10, 18, 34, 0.82);
  --panel-strong: rgba(8, 14, 28, 0.92);
  --panel-soft: rgba(12, 20, 36, 0.62);
  --border: rgba(123, 163, 255, 0.18);
  --text: #f8fbff;
  --muted: #b6c2d9;
  --btn: linear-gradient(180deg, #377dff 0%, #2353dc 100%);
  --btn-hover: linear-gradient(180deg, #4b8aff 0%, #2a5fe4 100%);
  --accent: #4ba3ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.36), rgba(5, 9, 18, 0.72)),
    url('/assets/yggdrasil.png') center center / cover no-repeat fixed;
  color: var(--text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 110, 37, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(44, 126, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.44));
  pointer-events: none;
  z-index: -3;
}


.shell {
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
  padding: 14px 0 48px;
}

.shell-wide {
  width: min(1560px, calc(100% - 56px));
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.88), rgba(10, 16, 28, 0.78));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  margin-bottom: 20px;
}

.brandWrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.brandBadge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 54px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brandBadge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brandName {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.navLink {
  color: rgba(237, 244, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.navLink:hover,
.navLink.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 rgba(61, 135, 255, 0.9);
}

.topActions,
.actionsRow,
.rightActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(143, 178, 255, 0.16);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.heroWide {
  min-height: 270px;
}

.compactHero {
  min-height: 230px;
}

.heroBackdrop {
  position: absolute;
  inset: 0;
  background-image: url('/assets/yggdrasil.png');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.58) saturate(1.04);
}

.heroBackdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.16), rgba(5, 9, 18, 0.60)),
    linear-gradient(90deg, rgba(6, 10, 18, 0.72) 0%, rgba(6, 10, 18, 0.30) 36%, rgba(6, 10, 18, 0.68) 100%);
}

.heroInner {
  position: relative;
  z-index: 1;
  padding: 44px 48px;
}

.heroSplit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(241, 246, 255, 0.76);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(232, 240, 255, 0.86);
  font-size: 1.35rem;
  line-height: 1.55;
}

.heroGamePreview,
.posterMini {
  width: 240px;
  height: 160px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  background-size: cover;
  background-position: center;
}

.poster-minecraft { background-image: url('/assets/minecraft-official.png'); }
.poster-rust { background-image: url('/assets/rust-official.jpg'); }
.poster-ark { background-image: url('/assets/ark-official.jpg'); }
.poster-satisfactory { background-image: url('/assets/satisfactory-official.png'); }

.poster-icarus {
  background-image:
    linear-gradient(180deg, rgba(20, 12, 8, 0.18), rgba(20, 12, 8, 0.38)),
    url('/assets/yggdrasil.png');
  background-position: center;
}
.poster-factorio {
  background-image:
    linear-gradient(180deg, rgba(60, 30, 10, 0.24), rgba(14, 14, 14, 0.42)),
    url('/assets/yggdrasil.png');
  background-position: center;
}
.poster-ark-ascended {
  background-image:
    linear-gradient(180deg, rgba(14, 26, 24, 0.24), rgba(10, 12, 18, 0.42)),
    url('/assets/ark-official.jpg');
  background-position: center;
}
.catalogSection {
  padding: 28px;
  margin-bottom: 24px;
}
.catalogHeading {
  margin-bottom: 18px;
}
.catalogBlock + .catalogBlock {
  margin-top: 26px;
}
.catalogBlockHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.catalogBlockHeader h3 {
  margin: 0;
  font-size: 1.35rem;
}
.catalogHint {
  color: var(--muted);
  font-size: 0.95rem;
}
.catalogGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.catalogGridSoon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.catalogCard {
  min-height: 420px;
}
.display-none {
  display: none !important;
}
.status.info {
  display: block;
  background: rgba(26, 56, 112, 0.34);
  border: 1px solid rgba(102, 157, 255, 0.34);
  color: #dbe9ff;
}
@media (max-width: 1100px) {
  .catalogGrid,
  .catalogGridSoon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .catalogGrid,
  .catalogGridSoon {
    grid-template-columns: 1fr;
  }
}


.gamesGrid {
  display: grid;
  gap: 18px;
}

.gamesGridShowcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gamesGridShowcaseThree {
  align-items: stretch;
}

.posterCard {
  position: relative;
  min-height: 580px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(163, 189, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.posterCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
}

.posterCard.active,
.posterCard[data-theme="minecraft"]:hover {
  border-color: rgba(91, 255, 169, 0.52);
  box-shadow: 0 0 0 1px rgba(91, 255, 169, 0.24), 0 34px 90px rgba(0, 0, 0, 0.46);
}


.posterCardFeatured {
  min-height: 610px;
}

.posterCardSoon {
  opacity: 0.97;
}
.posterVisual,
.posterOverlay,
.posterContent {
  position: absolute;
  inset: 0;
}

.posterVisual {
  background-size: cover;
  background-position: center;
}

.posterOverlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(5,9,18,0.14) 38%, rgba(5,9,18,0.84) 100%);
}

.posterContent {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px 26px;
}

.posterBadge {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
}

.gameLogo {
  font-size: clamp(2.2rem, 2.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.gameDesc {
  color: rgba(235, 242, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.posterTags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 32, 47, 0.76);
  border: 1px solid rgba(255,255,255,0.12);
  color: #eef5ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.chip-green { background: rgba(17, 111, 52, 0.76); }
.chip-warn { background: rgba(120, 49, 16, 0.74); }
.chip-amber { background: rgba(115, 77, 12, 0.76); }

button,
.linkBtn,
.posterBtn {
  appearance: none;
  border: 1px solid rgba(111, 154, 255, 0.18);
  border-radius: 14px;
  background: var(--btn);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(37, 83, 220, 0.22);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.linkBtn:hover,
.posterBtn:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(42, 95, 228, 0.28);
}

.posterBtn {
  width: 100%;
  min-height: 62px;
  font-size: 1.28rem;
  border-radius: 18px;
}

.mutedBtn {
  background: linear-gradient(180deg, rgba(60, 70, 92, 0.88), rgba(39, 46, 63, 0.88));
  box-shadow: none;
}

.secondary {
  background: linear-gradient(180deg, rgba(84, 99, 128, 0.94), rgba(62, 74, 98, 0.94));
}

.compactBtn { min-height: 42px; padding: 0 15px; }

.statsStrip {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.miniStatCard,
.cardSurface,
.summaryBox,
.emptyBox,
.selectedInfo {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.miniStatCard {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 280px;
  padding: 20px 22px;
  border-radius: 22px;
}

.miniStatIcon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(49, 114, 255, 0.14);
  border: 1px solid rgba(83, 138, 255, 0.22);
  font-size: 1.45rem;
}

.miniStatValue {
  font-size: 1.55rem;
  font-weight: 800;
}

.miniStatLabel {
  color: var(--muted);
  margin-top: 4px;
}

.offersLayout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
}

.card {
  padding: 24px;
  border-radius: 24px;
}

.card h1,
.card h2,
.card h3,
h1,
h2,
h3 {
  margin-top: 0;
}

.card h2 {
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.offersGridPremium {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.offerCard {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(147, 180, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 19, 34, 0.88), rgba(7, 13, 24, 0.95));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.offerCard:hover,
.offerCard.active {
  transform: translateY(-3px);
  border-color: rgba(78, 142, 255, 0.34);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.offerGlow {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 130px;
  background: radial-gradient(circle at top left, rgba(70, 135, 255, 0.24), transparent 56%);
  pointer-events: none;
}

.offerTitle {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.offerDesc {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.offerMetaGrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metaItem {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}

.metaItem span {
  display: block;
  color: #9aaccc;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.metaItem strong {
  font-size: 1rem;
}

.selectedInfo {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: #edf5ff;
  font-size: 0.95rem;
}

.selectedInfoHero { margin-top: 18px; }

.configGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(155, 186, 255, 0.18);
  background: rgba(8, 13, 24, 0.82);
  color: var(--text);
  font-size: 0.98rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(155, 186, 255, 0.18);
  background: rgba(8, 13, 24, 0.82);
  color: var(--text);
  font-size: 0.98rem;
  box-sizing: border-box;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f90b2;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(75, 163, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(75, 163, 255, 0.12);
}

.fieldSpan2 {
  grid-column: span 2;
}

.factorioFieldGrid {
  margin-top: 14px;
}

.factorioAdminHint {
  margin-bottom: 14px;
}

.summaryBox {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
}

.summaryBox h3 { margin-bottom: 12px; }

.summaryLine {
  color: #d5def0;
  margin-bottom: 8px;
}

.status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  display: none;
  white-space: pre-wrap;
  font-weight: 700;
}

.success { display: block; background: rgba(18, 93, 49, 0.88); color: #dbfee8; }
.error { display: block; background: rgba(124, 24, 31, 0.90); color: #ffe5e7; }
.loading { display: block; background: rgba(32, 43, 65, 0.92); color: #e7eefc; }

.emptyBox {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  color: var(--muted);
}

.footerNote,
.small,
.muted {
  color: var(--muted);
}

.hidden,
.display-none {
  display: none !important;
}

@media (max-width: 1320px) {
  .gamesGridShowcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offersLayout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .shell,
  .shell-wide { width: min(100%, calc(100% - 24px)); }
  .heroInner { padding: 28px 24px; }
  .heroSplit { flex-direction: column; align-items: flex-start; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .configGrid { grid-template-columns: 1fr; }
  .statsStrip { flex-direction: column; }
}

@media (max-width: 640px) {
  .gamesGridShowcase { grid-template-columns: 1fr; }
  .posterCard,
  .posterCardFeatured { min-height: 500px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.02rem; }
  .brandName { font-size: 1.5rem; }
  .topnav { gap: 6px; }
}

.craftcoinStage {
  margin-top: 26px;
}

.sectionHeaderInline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tokenBadgeLarge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(75, 163, 255, 0.14);
  border: 1px solid rgba(75, 163, 255, 0.24);
  font-weight: 800;
}

.craftcoinGrid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.craftcoinCard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.craftcoinValue {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.craftcoinBuyBtn {
  width: 100%;
}


.offersLayoutRefined {
  align-items: start;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.82fr);
}

.sectionHeadingRow,
.summaryCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.sectionStep {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(75, 163, 255, 0.12);
  border: 1px solid rgba(75, 163, 255, 0.22);
  color: #ddecff;
  margin-bottom: 12px;
}

.sectionIntro {
  margin-top: -2px;
  margin-bottom: 0;
}

.offersGridRefined {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.refinedOfferCard {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.refinedOfferCard.recommended {
  border-color: rgba(123, 210, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(123, 210, 255, 0.10), 0 18px 42px rgba(0,0,0,0.28);
}

.offerTopRow,
.offerMainRow {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.offerBadge,
.offerSelectedPill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.offerBadgeFree {
  background: rgba(37, 167, 79, 0.18);
  border-color: rgba(65, 210, 114, 0.28);
  color: #ddffea;
}

.offerBadgeRecommended {
  background: rgba(75, 163, 255, 0.18);
  border-color: rgba(75, 163, 255, 0.30);
  color: #e8f3ff;
}

.offerSelectedPill {
  background: rgba(133, 92, 255, 0.18);
  border-color: rgba(156, 121, 255, 0.28);
  color: #efe7ff;
}

.offerPriceBlock {
  text-align: right;
  min-width: 98px;
}

.offerPrice {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.offerPriceSub {
  margin-top: 6px;
  color: #9eb2d7;
  font-size: 0.82rem;
}

.offerUsage {
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: #edf4ff;
}

.refinedMetaGrid {
  margin-top: auto;
}

.offerFooterNote {
  position: relative;
  z-index: 1;
  color: #9fb1d3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.configColumnSticky {
  position: sticky;
  top: 18px;
  align-self: start;
}

.configPanelStack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.miniInfoCard {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.miniInfoTitle {
  color: #9db0d4;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.miniInfoValue {
  font-size: 1.2rem;
  font-weight: 800;
}

.refinedConfigGrid {
  grid-template-columns: 1fr 1fr;
}

.helperNote {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d8e5ff;
  line-height: 1.5;
}

.helperNoteAccent {
  background: rgba(75, 163, 255, 0.10);
  border-color: rgba(75, 163, 255, 0.22);
}

.refinedSummaryBox {
  margin-top: 0;
}

.summaryHeroRow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.summaryLabel {
  color: #9fb0d0;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.summaryOfferName {
  font-size: 1.25rem;
  font-weight: 900;
}

.summaryPriceBadge {
  min-width: 110px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(75, 163, 255, 0.14);
  border: 1px solid rgba(75, 163, 255, 0.24);
  font-size: 1.05rem;
  font-weight: 900;
}

.summaryList {
  display: grid;
  gap: 4px;
}

.summaryTip {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbe7ff;
}

.summaryTipWarn {
  background: rgba(160, 107, 18, 0.16);
  border-color: rgba(228, 169, 74, 0.24);
}

.actionsRowSticky {
  margin-top: 4px;
}

@media (max-width: 1320px) {
  .offersLayoutRefined {
    grid-template-columns: 1fr;
  }

  .configColumnSticky {
    position: static;
  }
}

@media (max-width: 860px) {
  .offersGridRefined,
  .refinedConfigGrid {
    grid-template-columns: 1fr;
  }

  .offerMainRow,
  .summaryHeroRow {
    flex-direction: column;
    align-items: flex-start;
  }

  .offerPriceBlock {
    text-align: left;
  }
}


/* Harmonisation globale légère */
.sideRail {
  display: none !important;
}

.topbar {
  border-radius: 20px;
}

.hero,
.cardSurface,
.posterCard,
.miniStatCard,
.helperNote,
.miniInfoCard,
.summaryBox {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.sectionStep,
.posterBadge,
.badge {
  letter-spacing: 0;
}

.heroInner p,
.sectionIntro,
.gameDesc,
.miniStatLabel,
.helperNote,
.selectedInfo,
.muted {
  color: #c1cbe0;
}

.posterBtn,
.linkBtn,
button {
  min-height: 48px;
  border-radius: 16px;
}

.gamesShowcase,
.statsStrip,
.offersLayout {
  gap: 18px;
}

.status {
  min-height: 0;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .shell,
  .shell-wide {
    width: min(100%, calc(100% - 28px));
  }

  .topbar {
    padding: 12px 14px;
    gap: 14px;
  }

  .heroInner {
    padding: 28px 24px;
  }
}


/* V1 harmonisation paiement / finalisation */
.checkoutPage {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.checkoutCard {
  padding: 26px;
  border-radius: 28px;
}

.checkoutHeader {
  margin-bottom: 22px;
}

.checkoutEyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(241, 246, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.checkoutCard > h1,
.checkoutHeader h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.checkoutHeader .muted,
.checkoutCard > .muted:first-of-type {
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.checkoutGrid {
  display: grid;
  gap: 18px;
}

.checkoutGridTop {
  grid-template-columns: 1.35fr .85fr;
  align-items: stretch;
  margin-bottom: 18px;
}

.checkoutPanel,
.checkoutPriceBox,
.checkoutConsentBlock {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018));
  border: 1px solid rgba(151, 184, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.checkoutPanel {
  padding: 20px;
}

.checkoutPanelWide {
  margin-top: 2px;
}

.checkoutPriceBox {
  padding: 20px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.priceMain {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.priceSub {
  color: var(--muted);
  line-height: 1.5;
}

.summaryBox {
  padding: 20px;
  border-radius: 22px;
}

.summaryBox h2,
.summaryBox h3 {
  margin: 0 0 14px;
  line-height: 1.12;
}

.summaryLine {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.summaryLine:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summaryLine strong {
  color: rgba(241, 246, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.summaryLine span,
.summaryLine:not(:has(strong)) {
  color: #fff;
}

#summaryContent,
#userContent,
#configContent,
#paymentContent {
  display: grid;
}

.checkoutBanner {
  margin-bottom: 18px;
}

.checkoutConsentBlock {
  padding: 18px 20px;
  margin-top: 18px;
  border-radius: 20px;
}

.checkoutActions {
  margin-top: 20px;
}

.checkoutActions > * {
  min-width: 170px;
}

.infoNote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .checkoutPage {
    width: min(100%, calc(100% - 24px));
  }

  .checkoutCard {
    padding: 20px;
  }

  .checkoutGridTop {
    grid-template-columns: 1fr;
  }

  .summaryLine {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .checkoutActions > * {
    width: 100%;
  }
}


.guestCheckoutBox {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: linear-gradient(180deg, rgba(10, 18, 38, 0.86), rgba(6, 12, 28, 0.92));
  color: rgba(230, 238, 255, 0.94);
}

.guestCheckoutBox strong {
  font-size: 1rem;
  color: #ffffff;
}

.guestCheckoutBox span {
  color: rgba(191, 212, 255, 0.86);
  line-height: 1.55;
}

/* ---- Harmonisation catalogue public / cartes jeux ---- */
.poster-icarus {
  background-image:
    linear-gradient(180deg, rgba(16, 10, 12, 0.08), rgba(7, 10, 18, 0.38)),
    url('/assets/icarus-poster.jpg');
  background-position: center center;
}

.poster-factorio {
  background-image:
    linear-gradient(180deg, rgba(30, 14, 4, 0.12), rgba(7, 10, 18, 0.42)),
    url('/assets/factorio-poster.jpg');
  background-position: center center;
}

.poster-ark-ascended {
  background-image:
    linear-gradient(180deg, rgba(8, 20, 30, 0.08), rgba(7, 10, 18, 0.38)),
    url('/assets/ark-ascended-poster.jpg');
  background-position: center center;
}

.poster-ark-evolved {
  background-image:
    linear-gradient(180deg, rgba(10, 18, 16, 0.08), rgba(7, 10, 18, 0.42)),
    url('/assets/ark-evolved-poster.jpg');
  background-position: center top;
}

.catalogSection {
  padding: 28px;
  margin-bottom: 24px;
}

.catalogHeading {
  margin-bottom: 22px;
}

.catalogBlock + .catalogBlock {
  margin-top: 34px;
}

.catalogBlockHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.catalogBlockHeader h3 {
  margin: 0;
  font-size: 1.48rem;
  letter-spacing: -0.02em;
}

.catalogSubcopy {
  margin: 8px 0 0;
  color: rgba(223, 233, 250, 0.72);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 720px;
}

.catalogHint {
  color: rgba(223, 233, 250, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.catalogGrid {
  display: grid;
  gap: 18px;
}

.catalogGridAvailable {
  grid-template-columns: minmax(320px, 1fr);
}

.catalogGridSoon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalogCard {
  min-height: 430px;
  border-radius: 26px;
  border: 1px solid rgba(146, 177, 255, 0.18);
  background: rgba(9, 15, 28, 0.44);
}

.catalogCardFeatured {
  min-height: 540px;
}

.catalogCard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 1;
}

.posterCardSoon {
  opacity: 1;
}

.posterVisual {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.posterOverlay {
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.02) 0%, rgba(5, 9, 18, 0.18) 24%, rgba(5, 9, 18, 0.62) 72%, rgba(5, 9, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 9, 18, 0.18) 0%, rgba(5, 9, 18, 0.02) 45%, rgba(5, 9, 18, 0.28) 100%);
}

.posterOverlayStrong {
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.12) 0%, rgba(5, 9, 18, 0.14) 30%, rgba(5, 9, 18, 0.56) 72%, rgba(5, 9, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 9, 18, 0.14) 0%, rgba(5, 9, 18, 0.08) 50%, rgba(5, 9, 18, 0.28) 100%);
}

.posterContent {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.catalogMeta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 18, 35, 0.62);
  border: 1px solid rgba(148, 177, 255, 0.18);
  color: rgba(236, 244, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.gameLogo {
  font-size: clamp(2.2rem, 2.5vw, 3.25rem);
  line-height: 0.98;
  margin-bottom: 12px;
}

.catalogCard .gameDesc {
  color: rgba(236, 243, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.48;
  margin-bottom: 18px;
  max-width: 38ch;
}

.posterTags {
  margin-bottom: 20px;
}

.chip {
  min-height: 36px;
  padding: 7px 13px;
  background: rgba(21, 28, 44, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}

.posterBtn {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.posterBtn.mutedBtn {
  background: linear-gradient(180deg, rgba(124, 141, 186, 0.72), rgba(87, 101, 140, 0.72));
  border-color: rgba(152, 173, 224, 0.16);
  box-shadow: none;
}

.posterBtn.mutedBtn:hover {
  background: linear-gradient(180deg, rgba(136, 154, 202, 0.8), rgba(97, 113, 154, 0.8));
  transform: translateY(-1px);
}

.posterBadge {
  top: 16px;
  right: 16px;
  z-index: 3;
  backdrop-filter: blur(8px);
}

.catalogCard[data-theme="minecraft"] {
  border-color: rgba(91, 255, 169, 0.28);
  box-shadow: 0 0 0 1px rgba(91, 255, 169, 0.12), 0 24px 60px rgba(0, 0, 0, 0.34);
}

.catalogCard[data-theme="minecraft"] .posterBtn {
  box-shadow: 0 16px 28px rgba(37, 83, 220, 0.28);
}

@media (max-width: 1180px) {
  .catalogGridSoon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogCardFeatured {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .catalogBlockHeader {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalogGridSoon,
  .catalogGridAvailable {
    grid-template-columns: 1fr;
  }

  .catalogCard,
  .catalogCardFeatured {
    min-height: 380px;
  }

  .catalogSection {
    padding: 20px;
  }

  .posterContent {
    padding: 20px;
  }
}


.salesBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 24px 28px;
}
.salesBannerMain h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}
.salesBannerEyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(49, 114, 255, 0.12);
  border: 1px solid rgba(82, 140, 255, 0.2);
  color: #dfeaff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.salesBannerAside {
  min-width: 280px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(33, 61, 126, 0.42), rgba(17, 24, 43, 0.88));
  border: 1px solid rgba(108, 157, 255, 0.24);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}
.promoSpotlightCode {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.promoSpotlightText {
  color: var(--muted);
  line-height: 1.45;
}
.salesOfferCard {
  padding-top: 30px;
}
.offerCardRecommended {
  border-color: rgba(255, 172, 73, 0.42);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 172, 73, 0.12);
}
.offerPopularBadge {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9d2f, #ffd36a);
  color: #131722;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 166, 58, 0.28);
}
.offerTarget {
  color: #d3e4ff;
  font-size: 0.92rem;
  font-weight: 700;
}
.offerPromoLine {
  position: relative;
  z-index: 1;
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(30, 59, 123, 0.26);
  border: 1px solid rgba(96, 150, 255, 0.18);
  color: #dfeaff;
}
.offerBenefitsList {
  position: relative;
  z-index: 1;
  margin: 16px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.offerBenefitsList li {
  padding-left: 20px;
  position: relative;
  color: #e7efff;
}
.offerBenefitsList li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #75e69d;
  font-weight: 900;
}
.checkoutPromoPanel {
  margin-top: 18px;
}
.promoInlineRow {
  display: flex;
  gap: 12px;
  align-items: center;
}
.promoCodeInput {
  flex: 1;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(155, 186, 255, 0.18);
  background: rgba(8, 13, 24, 0.82);
  color: var(--text);
  font-size: 1rem;
}
.promoCodeInput:focus {
  outline: none;
  border-color: rgba(98, 154, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(67, 121, 255, 0.16);
}
.priceOld {
  display: inline-block;
  margin-right: 10px;
  color: rgba(224, 230, 245, 0.58);
  text-decoration: line-through;
  font-size: 1.15rem;
}
@media (max-width: 980px) {
  .salesBanner {
    flex-direction: column;
    align-items: flex-start;
  }
  .salesBannerAside {
    min-width: 0;
    width: 100%;
  }
  .promoInlineRow {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Landing dynamic catalog */
.landingCatalogSection {
  display: grid;
  gap: 24px;
}

.landingCatalogGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landingCatalogCard {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(163, 189, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 18, 35, 0.88), rgba(10, 18, 35, 0.72));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landingCatalogCard:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 157, 255, 0.35);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.3);
}

.landingCatalogCard.is-live {
  border-color: rgba(91, 255, 169, 0.22);
}

.landingCatalogCard.is-selected {
  box-shadow: 0 0 0 1px rgba(91, 255, 169, 0.28), 0 26px 54px rgba(0, 0, 0, 0.32);
}

.landingCatalogPoster {
  min-height: 128px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.landingCatalogBody {
  display: grid;
  gap: 10px;
  align-content: start;
}

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

.landingCatalogTagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9db4d7;
}

.landingCatalogBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landingCatalogBody h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.landingCatalogBody p {
  margin: 0;
  color: rgba(235, 242, 255, 0.84);
  line-height: 1.45;
  font-size: 0.96rem;
}

.landingCatalogMeta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badgeNew {
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fde68a;
}

@media (max-width: 1100px) {
  .landingCatalogGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landingCatalogGrid {
    grid-template-columns: 1fr;
  }

  .landingCatalogCard {
    grid-template-columns: 1fr;
  }

  .landingCatalogPoster {
    min-height: 180px;
  }
}

.posterBadgeSecondary {
  top: 18px;
  right: 138px;
}

@media (max-width: 720px) {
  .posterBadgeSecondary {
    right: 126px;
  }
}
/* =========================================================
   OFFERS - cartes compactes au même format que l'accueil
   ========================================================= */

.store-offers .catalogSectionCompact {
  padding: 28px;
}

.store-offers .catalogBlock {
  margin-top: 26px;
}

.store-offers .catalogBlockHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.store-offers .offersCompactGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.store-offers .offersCompactGrid .offersPosterCard {
  position: relative;
  min-height: 420px;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.store-offers .offersCompactGrid .offersPosterCard .posterVisual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.store-offers .offersCompactGrid .offersPosterCard .posterOverlay {
  position: absolute;
  inset: 0;
}

.store-offers .offersCompactGrid .offersPosterCard .posterContent {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.store-offers .offersCompactGrid .offersPosterCard .gameTitle {
  margin-bottom: 10px;
}

.store-offers .offersCompactGrid .offersPosterCard .gameDesc {
  margin-bottom: 14px;
  max-width: 56ch;
}

.store-offers .offersCompactGrid .offersPosterCard .posterTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.store-offers .offersCompactGrid .offersPosterCard .posterBtn {
  width: 100%;
  margin-top: auto;
}

.store-offers .offersCompactGrid .offersPosterCard .posterBadge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.store-offers .offersCompactGrid .offersPosterCard .posterBadgeSecondary {
  position: absolute;
  top: 16px;
  right: 128px;
  z-index: 3;
}

.store-offers .offersCompactGrid .offersPosterCard.is-selected {
  outline: 2px solid rgba(88, 140, 255, 0.65);
  outline-offset: -2px;
}

.store-offers .catalogHint {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .store-offers .offersCompactGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .store-offers .offersCompactGrid {
    grid-template-columns: 1fr;
  }

  .store-offers .offersCompactGrid .offersPosterCard,
  .store-offers .offersCompactGrid .offersPosterCard .posterContent {
    min-height: 360px;
  }

  .store-offers .offersCompactGrid .offersPosterCard .posterBadgeSecondary {
    right: 110px;
  }
}

.factorioWorldBox,
#factorioConfigSection,
#factorioConfigSection .summaryBox,
#factorioConfigSection .configGrid,
#factorioConfigSection .field,
#factorioConfigSection .summaryCardHeader {
  position: relative;
}

#factorioConfigSection,
#factorioConfigSection .summaryBox,
#factorioConfigSection .configGrid,
#factorioConfigSection .field {
  overflow: visible;
}

#factorioConfigSection {
  z-index: 30;
}

.factorioWorldGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.factorioToggleStack {
  display: grid;
  gap: 14px;
}

.toggleCard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}

.toggleCard input[type="checkbox"] {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.toggleCardCopy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggleCardCopy strong {
  font-size: 1rem;
}

.toggleCardCopy small {
  color: #a9bad9;
  line-height: 1.4;
}

.toggleCard:has(input:disabled) {
  opacity: 0.66;
  cursor: not-allowed;
}

@media (max-width: 860px) {
  .factorioWorldGrid {
    grid-template-columns: 1fr;
  }
}


/* V2 UX polish */
button.is-loading,
.btn.is-loading,
.linkBtn.is-loading {
  pointer-events: none;
  opacity: .72;
}

.badgeRunning::before,
.badgeUnknown::before,
.badgeOffline::before,
.badgeSoon::before,
.badgeLive::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 8px;
  display: inline-block;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.card,
.cardSurface,
.choiceCard,
.gameCard,
.offerCard,
.summaryBox,
.profileBox,
.serverBox {
  transition: transform .18s ease, border-color .2s ease, box-shadow .22s ease;
}

.card:hover,
.cardSurface:hover,
.choiceCard:hover,
.gameCard:hover,
.offerCard:hover,
.summaryBox:hover,
.profileBox:hover,
.serverBox:hover {
  transform: translateY(-2px);
}

.salesOfferCard .refinedMetaGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .salesOfferCard .refinedMetaGrid {
    grid-template-columns: 1fr;
  }
}


.linkBtn,
button,
.offerCard,
.gameCard,
.catalogCard {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}

.linkBtn:hover,
button:hover {
  transform: translateY(-1px);
}

.offerCard:hover,
.gameCard:hover,
.catalogCard:hover {
  transform: translateY(-3px);
}

.helperNote {
  line-height: 1.5;
}

/* Promo automatique visible avant Stripe */
.offerPriceBlockPromo {
  align-items: flex-end;
  gap: 4px;
}
.offerPriceOld {
  color: rgba(224, 230, 245, 0.58);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.offerPromoPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 113, 246, 0.95), rgba(255, 126, 92, 0.95));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 12px 26px rgba(120, 90, 255, 0.22);
}
.summaryPriceStack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  line-height: 1.05;
}
.summaryPriceStack .priceOld {
  margin-right: 0;
  font-size: 0.95rem;
}
.promoSummaryLine {
  color: rgba(132, 255, 178, 0.96);
}

/* Minecraft modpack entry card V2 */
.modpackEntryCard {
  border-color: rgba(124, 108, 255, .46) !important;
  background: linear-gradient(180deg, rgba(17, 42, 86, .94), rgba(8, 15, 32, .96)) !important;
  position: relative;
  overflow: hidden;
}

.modpackEntryCard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(124, 108, 255, .24), transparent 36%), radial-gradient(circle at 92% 18%, rgba(255, 129, 95, .18), transparent 34%);
}

.modpackEntryCard > * {
  position: relative;
  z-index: 1;
}

.modpackEntryCard.active {
  border-color: rgba(34, 197, 94, .55) !important;
  box-shadow: 0 24px 55px rgba(34, 197, 94, .08), inset 0 0 0 1px rgba(34, 197, 94, .16);
}

.modpackSummaryLine strong {
  color: #bfdbfe;
}
