/* ========================================================================== 
   CheatMenus — Icy Glass storefront
   Platform layer: Bootstrap 5 + SellAuth Pro theme + Alpine.js
   ========================================================================== */

:root {
  --cm-bg-0: #071827;
  --cm-bg-1: #0a2235;
  --cm-bg-2: #0d2d45;
  --cm-bg-3: #103955;
  --cm-glass: rgba(11, 34, 54, 0.58);
  --cm-glass-strong: rgba(7, 27, 44, 0.82);
  --cm-glass-soft: rgba(178, 232, 255, 0.055);
  --cm-border: rgba(177, 232, 255, 0.19);
  --cm-border-bright: rgba(190, 240, 255, 0.38);
  --cm-text: #f7fcff;
  --cm-muted: rgba(222, 240, 250, 0.72);
  --cm-muted-2: rgba(210, 235, 247, 0.52);
  --cm-blue: #35c7ff;
  --cm-blue-2: #8eeaff;
  --cm-blue-3: #168cf3;
  --cm-white-glow: rgba(255, 255, 255, 0.16);
  --cm-shadow: 0 24px 80px rgba(0, 10, 24, 0.27);
  --cm-radius-lg: 28px;
  --cm-radius-md: 20px;
  --cm-section-space: clamp(7rem, 10vw, 10.5rem);
  --cm-mouse-x: -1000px;
  --cm-mouse-y: -1000px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body.cm-site {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cm-text);
  background: var(--cm-bg-0);
}

body.cm-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(60vw 44vw at 50% -10%, rgba(175, 237, 255, 0.18), transparent 70%),
    radial-gradient(42vw 34vw at 8% 30%, rgba(45, 177, 237, 0.12), transparent 72%),
    radial-gradient(44vw 36vw at 94% 44%, rgba(118, 219, 255, 0.1), transparent 74%),
    linear-gradient(180deg, #0b2b42 0%, #092439 30%, #071a2c 70%, #061522 100%);
}

/* Subtle icy atmosphere: no large illustrated background. */
.cm-site-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(203, 242, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 242, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 50% 7%, rgba(239, 252, 255, 0.09), transparent 19%),
    radial-gradient(circle at 19% 38%, rgba(79, 198, 255, 0.08), transparent 22%),
    radial-gradient(circle at 82% 56%, rgba(112, 218, 255, 0.07), transparent 25%);
  background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%, 100% 100%;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 62%, transparent 100%);
  animation: cm-background-drift 24s ease-in-out infinite alternate;
}

/* White/ice pointer glow sits behind all interface content. */
body.cm-site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    250px circle at var(--cm-mouse-x) var(--cm-mouse-y),
    rgba(255, 255, 255, 0.14) 0%,
    rgba(210, 245, 255, 0.08) 27%,
    rgba(115, 218, 255, 0.035) 48%,
    transparent 72%
  );
  mix-blend-mode: screen;
}

.flex-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.bg-image,
.grid-bg-true-background,
.background-glow-orbs {
  display: none !important;
}

::selection {
  color: #031321;
  background: #99edff;
}

a { transition: color 180ms ease; }

.cm-wide-container {
  width: min(1500px, calc(100% - 64px));
  max-width: none;
}

/* --------------------------------------------------------------------------
   Shared motion
   -------------------------------------------------------------------------- */
[data-cm-reveal] {
  opacity: 1;
  transform: none;
}
html.cm-motion-enabled [data-cm-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 700ms cubic-bezier(.22,.8,.25,1),
    transform 700ms cubic-bezier(.22,.8,.25,1);
}
html.cm-motion-enabled [data-cm-reveal].cm-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes cm-background-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 18px 12px, -14px 20px, 0 0, 0 0, 0 0; }
}

@keyframes cm-shimmer {
  0% { transform: translateX(-165%) skewX(-18deg); }
  55%, 100% { transform: translateX(230%) skewX(-18deg); }
}

@keyframes cm-soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes cm-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   Header / navbar
   -------------------------------------------------------------------------- */
.cm-site-header {
  padding: 14px 0 0;
  background: transparent !important;
  pointer-events: none;
}

.cm-site-header > * { pointer-events: auto; }

.announcement:empty,
.announcement:has(:empty:only-child) {
  display: none;
}

.cm-navbar {
  padding: 0 20px;
  background: transparent !important;
}

.cm-navbar__shell {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  min-height: 72px;
  padding: 10px 18px;
  border: 1px solid var(--cm-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(19, 54, 82, 0.78), rgba(7, 29, 48, 0.72));
  box-shadow:
    0 18px 55px rgba(0, 12, 30, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(116, 212, 255, 0.04);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.cm-navbar__shell:hover {
  border-color: rgba(200, 242, 255, 0.3);
  box-shadow:
    0 22px 64px rgba(0, 12, 30, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(62, 192, 255, 0.07);
}

.cm-navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 116px;
  padding: 0 8px;
  color: #fff !important;
  font-weight: 800;
}

.cm-navbar__brand img {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(102, 221, 255, 0.32));
}

.cm-navbar__links {
  align-items: center;
  gap: 24px;
}

.cm-navbar__links .nav-link {
  position: relative;
  padding: 13px 5px !important;
  color: rgba(243, 250, 255, 0.86) !important;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.cm-navbar__links .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #8eeaff, transparent);
  box-shadow: 0 0 10px rgba(129, 228, 255, 0.45);
  transition: width 220ms ease;
}

.cm-navbar__links .nav-link:hover,
.cm-navbar__links .nav-link.active {
  color: #fff !important;
}
.cm-navbar__links .nav-link:hover::after,
.cm-navbar__links .nav-link.active::after { width: 92%; }

.cm-navbar__actions {
  gap: 10px;
  margin-left: auto;
}

.cm-nav-button {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  overflow: hidden;
  border: 1px solid rgba(220, 247, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 25, 43, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  font-size: 0.95rem;
  font-weight: 650;
  white-space: nowrap;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

button.cm-nav-button { appearance: none; }

.cm-nav-button:hover,
.cm-nav-button:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(179, 235, 255, 0.34);
  background: rgba(20, 55, 82, 0.67);
  box-shadow: 0 0 20px rgba(105, 211, 255, 0.08), inset 0 1px 0 rgba(255,255,255,0.07);
}

.cm-nav-button--icon { width: 44px; padding-inline: 0; }

.cart .count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #062033;
  background: #b9f3ff;
  font-size: 0.66rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(166, 239, 255, 0.35);
}

.cm-currency-item {
  width: 64px;
  min-width: 64px;
}

.currency-selector,
.currency-selector .choices {
  width: 64px;
  min-width: 64px;
  margin: 0 !important;
}

.currency-selector select {
  width: 64px;
  min-height: 44px;
  padding: 0 23px 0 13px;
  border: 1px solid rgba(220, 247, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 25, 43, 0.55);
  text-align: center;
}

.currency-selector .choices__inner {
  width: 64px;
  min-height: 44px !important;
  padding: 10px 22px 8px 11px !important;
  border: 1px solid rgba(220, 247, 255, 0.14) !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: rgba(5, 25, 43, 0.55) !important;
  overflow: hidden;
}

.currency-selector .choices__list--single {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1;
}

.currency-selector .choices[data-type*=select-one]::after {
  right: 10px !important;
  margin-top: -2px !important;
  border-width: 4px !important;
  border-color: rgba(221, 247, 255, 0.78) transparent transparent transparent !important;
}

.currency-selector .choices[data-type*=select-one].is-open::after {
  margin-top: -6px !important;
  border-color: transparent transparent rgba(221, 247, 255, 0.78) transparent !important;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  z-index: 1085 !important;
  min-width: 84px;
  border: 1px solid var(--cm-border) !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: #0a2438 !important;
  box-shadow: var(--cm-shadow);
}
.choices__list--dropdown .choices__item--selectable.is-highlighted { background: rgba(73, 193, 241, 0.18) !important; }

.cm-navbar__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cm-border);
  border-radius: 14px;
  background: rgba(7, 28, 47, 0.7);
}
.cm-navbar__toggle:focus { box-shadow: none; }
.cm-navbar__toggle .navbar-toggler-icon { filter: invert(1) brightness(1.7); }

/* Navbar alignment fix: center the primary navigation independently of the right-side actions. */
@media (min-width: 992px) {
  .cm-navbar__shell {
    position: relative;
  }

  .cm-navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
  }

  .cm-navbar__links {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }

  .cm-navbar__actions {
    margin-left: auto;
  }
}

/* --------------------------------------------------------------------------
   Hero — keep the approved composition
   -------------------------------------------------------------------------- */
.cm-hero {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8.2rem) 0 0;
}

.cm-hero__container {
  width: min(1480px, calc(100% - 44px));
  max-width: none;
  text-align: center;
}

.cm-hero__content {
  max-width: 1060px;
  margin: 0 auto;
}

.cm-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 21px;
  border: 1px solid rgba(177, 235, 255, 0.34);
  border-radius: 999px;
  color: #f8fdff;
  background: linear-gradient(180deg, rgba(53, 180, 239, 0.43), rgba(20, 102, 169, 0.34));
  box-shadow: 0 0 28px rgba(69, 195, 246, 0.12), inset 0 1px 0 rgba(255,255,255,0.11);
  font-size: 0.95rem;
  font-weight: 750;
}

.cm-hero__title {
  margin: 24px 0 0;
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.cm-hero__title span,
.cm-hero__title strong { display: block; }

.cm-hero__title span {
  font-size: clamp(4rem, 8.4vw, 7.15rem);
  font-weight: 900;
  color: #f8fcff;
  background: linear-gradient(180deg, #ffffff 0%, #e4f5fb 57%, #b8d5e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 15px 54px rgba(169, 230, 255, 0.1);
}

.cm-hero__title strong {
  margin-top: 7px;
  font-size: clamp(3.8rem, 8vw, 6.85rem);
  font-weight: 900;
  background: linear-gradient(180deg, #effcff 4%, #9ceaff 45%, #34bfff 78%, #1d8dec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 11px 26px rgba(53, 186, 255, 0.13));
}

.cm-hero__copy {
  max-width: 690px;
  margin: 25px auto 0;
  color: var(--cm-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.cm-hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cm-button {
  position: relative;
  min-width: 170px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 13px 22px;
  border: 1px solid rgba(191, 239, 255, 0.24);
  border-radius: 17px;
  color: #fff;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cm-button::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -38%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-165%) skewX(-18deg);
}
.cm-button:hover::before { animation: cm-shimmer 900ms ease forwards; }
.cm-button:hover { color: #fff; transform: translateY(-2px); }

.cm-button--primary {
  background: linear-gradient(180deg, #44cbff 0%, #1d9bf1 58%, #1678df 100%);
  box-shadow: 0 13px 34px rgba(20, 133, 225, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cm-button--primary:hover { box-shadow: 0 18px 42px rgba(26, 150, 240, 0.31), 0 0 24px rgba(124, 224, 255, 0.11); }

.cm-button--glass {
  background: rgba(6, 29, 48, 0.48);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cm-button--glass:hover { border-color: rgba(191, 239, 255, 0.4); box-shadow: 0 13px 34px rgba(14, 113, 171, 0.11); }

/* Full-bleed automatic logo marquee. Two equal groups create a seamless loop. */
.cm-games {
  position: relative;
  width: 100vw;
  margin-top: clamp(4.8rem, 7vw, 7.2rem);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(195, 239, 255, 0.12);
  border-bottom: 1px solid rgba(195, 239, 255, 0.12);
  background: rgba(6, 26, 44, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.018);
}

.cm-games__track {
  display: flex;
  width: 200vw;
  min-width: 200vw;
  will-change: transform;
  animation: cm-ticker 28s linear infinite;
}

.cm-games__group {
  flex: 0 0 100vw;
  width: 100vw;
  min-width: 100vw;
  height: 108px;
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  align-items: center;
  justify-items: center;
  padding: 0 4vw;
}

.cm-game-logo {
  width: min(150px, 13vw);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.31;
  filter: grayscale(1);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.cm-game-logo:hover {
  opacity: 0.62;
  filter: grayscale(0.7);
  transform: translateY(-2px) scale(1.035);
}

.cm-game-logo img {
  display: block;
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}

.cm-game-logo--wide { width: min(175px, 15vw); }
.cm-game-logo--wide img { max-height: 38px; }
.cm-game-logo--dbd { width: 82px; height: 53px; overflow: hidden; align-items: flex-start; }
.cm-game-logo--dbd img { width: 76px; max-width: 76px; height: auto; max-height: none; transform: translateY(-1px); filter: grayscale(1) brightness(1.9) contrast(0.9); }

.cm-game-logo__fallback {
  color: #eaf7fc;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.cm-games__fade {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(9vw, 140px);
  pointer-events: none;
}
.cm-games__fade--left { left: 0; background: linear-gradient(90deg, rgba(8, 31, 49, 0.96), transparent); }
.cm-games__fade--right { right: 0; background: linear-gradient(-90deg, rgba(8, 31, 49, 0.96), transparent); }

.cm-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(4.2rem, 6vw, 6.5rem) auto 0;
}

.cm-benefit {
  min-height: 142px;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 26px;
  border: 1px solid var(--cm-border);
  border-radius: 23px;
  text-align: left;
  background: linear-gradient(145deg, rgba(22, 57, 83, 0.54), rgba(7, 29, 47, 0.46));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 18px 55px rgba(0, 15, 30, 0.11);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.cm-benefit:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 241, 255, 0.32);
  background: linear-gradient(145deg, rgba(29, 70, 99, 0.62), rgba(9, 34, 53, 0.52));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.075), 0 24px 65px rgba(1, 28, 49, 0.19);
}

.cm-benefit__icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 242, 255, 0.28);
  border-radius: 18px;
  color: #f7fdff;
  background: linear-gradient(145deg, rgba(117, 216, 255, 0.22), rgba(21, 109, 174, 0.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 0 24px rgba(84, 201, 255, 0.09);
  font-size: 1.35rem;
  animation: cm-soft-float 5s ease-in-out infinite;
}
.cm-benefit:nth-child(2) .cm-benefit__icon { animation-delay: -1.25s; }
.cm-benefit:nth-child(3) .cm-benefit__icon { animation-delay: -2.5s; }
.cm-benefit:nth-child(4) .cm-benefit__icon { animation-delay: -3.75s; }

.cm-benefit h3 { margin: 0 0 7px; color: #fff; font-size: 1.12rem; font-weight: 800; }
.cm-benefit p { margin: 0; color: var(--cm-muted); font-size: 0.91rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Section system / products
   -------------------------------------------------------------------------- */
.cm-products,
.cm-depth-section {
  position: relative;
  padding-top: var(--cm-section-space);
}

.cm-products { padding-bottom: clamp(2rem, 4vw, 4rem); }

.cm-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(3.4rem, 5vw, 5rem);
}
.cm-section-heading--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: block;
}

.cm-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #90e8ff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cm-section-heading h2,
.cm-process h2,
.cm-discord-card h2 {
  margin: 0;
  color: #f8fdff;
  font-size: clamp(2.4rem, 4.3vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.cm-section-heading p,
.cm-process__intro > p,
.cm-discord-card__content > p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--cm-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}
.cm-section-heading--center p { margin-inline: auto; }

.cm-products-grid {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

.cm-product-col { display: flex; }

.cm-product-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(155deg, rgba(20, 55, 82, 0.62), rgba(6, 26, 43, 0.7));
  box-shadow: 0 22px 65px rgba(1, 15, 28, 0.16), inset 0 1px 0 rgba(255,255,255,0.045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 280ms cubic-bezier(.22,.8,.25,1), border-color 280ms ease, box-shadow 280ms ease;
}

.cm-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.055) 47%, transparent 64%);
  transform: translateX(-25%);
  transition: opacity 280ms ease, transform 650ms ease;
}

.cm-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(191, 239, 255, 0.34);
  box-shadow: 0 28px 80px rgba(1, 20, 37, 0.24), 0 0 32px rgba(71, 190, 241, 0.06);
}
.cm-product-card:hover::after { opacity: 1; transform: translateX(25%); }

.cm-product-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(4, 21, 36, 0.65);
}
.cm-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 350ms ease;
}
.cm-product-card:hover .cm-product-card__media img { transform: scale(1.035); filter: saturate(1.05) brightness(1.04); }

.cm-product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(225, 245, 255, 0.38);
  font-size: 3rem;
}

.cm-product-card__delivery {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(210, 246, 255, 0.17);
  border-radius: 10px;
  background: rgba(4, 24, 40, 0.72);
  color: rgba(241, 251, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 750;
}

.cm-product-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 225px;
  padding: 25px;
}
.cm-product-card__body h3 {
  margin: 0 0 18px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cm-product-card__features {
  display: grid;
  gap: 9px;
  color: var(--cm-muted);
  font-size: 0.84rem;
}
.cm-product-card__features i { width: 16px; color: #8de9ff; }

.cm-product-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.cm-product-card__price-wrap { display: grid; gap: 3px; }
.cm-product-card__price-wrap small { color: var(--cm-muted-2); font-size: 0.72rem; }
.cm-product-card__price-wrap strong { color: #f8fdff; font-size: 1.2rem; }
.cm-product-card__cta {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(202, 242, 255, 0.24);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(65, 201, 255, 0.85), rgba(21, 124, 221, 0.9));
  transition: transform 200ms ease, box-shadow 200ms ease;
}
button.cm-product-card__cta { padding: 0; }
.cm-product-card__cta:hover { color: #fff; transform: translateX(2px); box-shadow: 0 0 22px rgba(69, 197, 255, 0.17); }

/* --------------------------------------------------------------------------
   Long-form home sections
   -------------------------------------------------------------------------- */
.cm-depth-section { padding-bottom: 0; }

.cm-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.cm-info-card {
  position: relative;
  min-height: 330px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--cm-border);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(21, 57, 84, 0.52), rgba(6, 27, 44, 0.5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 24px 70px rgba(0, 16, 31, 0.13);
  backdrop-filter: blur(15px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}
.cm-info-card:hover { transform: translateY(-7px); border-color: rgba(194, 239, 255, 0.3); background: linear-gradient(150deg, rgba(27, 69, 99, 0.62), rgba(7, 31, 49, 0.56)); }
.cm-info-card__number {
  position: absolute;
  top: 25px;
  right: 26px;
  color: rgba(225, 245, 255, 0.16);
  font-size: 1.35rem;
  font-weight: 900;
}
.cm-info-card > i {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 74px;
  border: 1px solid rgba(195, 239, 255, 0.22);
  border-radius: 17px;
  color: #a8efff;
  background: rgba(108, 210, 255, 0.08);
  font-size: 1.25rem;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.cm-info-card:hover > i { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 0 24px rgba(88, 205, 255, 0.11); }
.cm-info-card h3 { margin: 0 0 13px; font-size: 1.35rem; font-weight: 800; }
.cm-info-card p { margin: 0; color: var(--cm-muted); line-height: 1.7; font-size: 0.94rem; }

.cm-process__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(4rem, 7vw, 7rem);
  padding: clamp(3rem, 5vw, 5rem);
  border: 1px solid var(--cm-border);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(22, 59, 87, 0.48), rgba(5, 25, 42, 0.58));
  box-shadow: var(--cm-shadow), inset 0 1px 0 rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
}

.cm-process__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 28px;
  color: #99eaff;
  font-weight: 750;
}
.cm-text-link:hover { color: #fff; }
.cm-text-link i { transition: transform 190ms ease; }
.cm-text-link:hover i { transform: translateX(4px); }

.cm-process__steps { display: grid; gap: 18px; }
.cm-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
  padding: 23px;
  border: 1px solid rgba(194, 239, 255, 0.12);
  border-radius: 20px;
  background: rgba(5, 25, 42, 0.38);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}
.cm-step:hover { transform: translateX(5px); border-color: rgba(194, 239, 255, 0.23); background: rgba(16, 49, 72, 0.44); }
.cm-step > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #dff9ff;
  background: linear-gradient(150deg, rgba(76, 195, 243, 0.25), rgba(22, 107, 175, 0.26));
  font-weight: 900;
}
.cm-step h3 { margin: 2px 0 7px; font-size: 1.08rem; font-weight: 800; }
.cm-step p { margin: 0; color: var(--cm-muted); line-height: 1.65; font-size: 0.9rem; }

.cm-discord-section { padding-bottom: var(--cm-section-space); }
.cm-discord-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: clamp(2.8rem, 5vw, 4.8rem);
  border: 1px solid rgba(194, 239, 255, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 17% 50%, rgba(116, 218, 255, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(22, 62, 91, 0.58), rgba(6, 27, 46, 0.63));
  box-shadow: var(--cm-shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}
.cm-discord-card__icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(195, 239, 255, 0.24);
  border-radius: 26px;
  color: #f5fcff;
  background: rgba(91, 206, 255, 0.1);
  box-shadow: 0 0 36px rgba(91, 206, 255, 0.09);
  font-size: 2rem;
}
.cm-discord-card h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.cm-discord-card__content > p { max-width: 620px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.cm-footer {
  position: relative;
  padding: 5.8rem 0 2.2rem;
  border-top: 1px solid rgba(195, 239, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 24, 39, 0.24), rgba(3, 17, 28, 0.62));
  backdrop-filter: blur(14px);
}
.cm-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(130px, 0.6fr));
  gap: clamp(3rem, 6vw, 7rem);
}
.cm-footer__brand-row { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.cm-footer__brand-row img { height: 36px; width: auto; filter: drop-shadow(0 0 12px rgba(98, 216, 255, 0.25)); }
.cm-footer__brand-row strong { font-size: 1.25rem; font-weight: 850; }
.cm-footer__brand > p { max-width: 470px; margin: 0 0 22px; color: var(--cm-muted); line-height: 1.7; }
.cm-footer__discord { display: inline-flex; align-items: center; gap: 9px; color: #a6edff; font-weight: 700; }
.cm-footer__discord:hover { color: #fff; }
.cm-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cm-footer__column h3 { margin: 0 0 8px; color: #fff; font-size: 0.8rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.cm-footer__column a { color: rgba(222, 240, 250, 0.66); font-size: 0.91rem; }
.cm-footer__column a:hover { color: #a5edff; }
.cm-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(195, 239, 255, 0.1);
  color: rgba(219, 238, 248, 0.42);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Legal page
   -------------------------------------------------------------------------- */
.cm-legal-page { padding: clamp(7rem, 10vw, 10rem) 0 var(--cm-section-space); }
.cm-legal-container { width: min(980px, calc(100% - 40px)); }
.cm-legal-hero { margin-bottom: 5rem; text-align: center; }
.cm-legal-hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.3rem); font-weight: 900; letter-spacing: -0.055em; }
.cm-legal-hero > p { max-width: 680px; margin: 22px auto 0; color: var(--cm-muted); line-height: 1.75; }
.cm-legal-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cm-legal-nav a { padding: 10px 15px; border: 1px solid var(--cm-border); border-radius: 999px; color: #dff8ff; background: rgba(9, 31, 49, 0.45); }
.cm-legal-nav a:hover { color: #fff; border-color: var(--cm-border-bright); }
.cm-legal-card {
  position: relative;
  scroll-margin-top: 120px;
  margin-bottom: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--cm-border);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(20, 55, 82, 0.58), rgba(6, 26, 43, 0.7));
  box-shadow: var(--cm-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
}
.cm-legal-label { color: #86e5ff; font-weight: 900; letter-spacing: 0.12em; }
.cm-legal-card h2 { margin: 10px 0 6px; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; letter-spacing: -0.04em; }
.cm-legal-updated { color: var(--cm-muted-2) !important; font-size: 0.82rem; }
.cm-legal-card h3 { margin: 2.2rem 0 0.75rem; font-size: 1.1rem; font-weight: 800; }
.cm-legal-card p { color: var(--cm-muted); line-height: 1.8; }
.cm-legal-note { display: flex; gap: 15px; padding: 20px 22px; border: 1px solid var(--cm-border); border-radius: 18px; color: var(--cm-muted); background: rgba(10, 35, 53, 0.55); }
.cm-legal-note i { margin-top: 4px; color: #9aeaff; }
.cm-legal-note p { margin: 0; }

/* --------------------------------------------------------------------------
   Platform surfaces: preserve SellAuth markup / behavior, restyle only
   -------------------------------------------------------------------------- */
body.cm-site .section-title h1,
body.cm-site .section-title h2 { color: #fff; font-weight: 850; letter-spacing: -0.035em; }
body.cm-site .section-subtitle p,
body.cm-site .text-secondary { color: var(--cm-muted) !important; }

body.cm-site .card,
body.cm-site .modal-content,
body.cm-site .cart .product,
body.cm-site .cart .form,
body.cm-site .status-card,
body.cm-site .testimonial,
body.cm-site .socials .list .social,
body.cm-site .variants .variant,
body.cm-site .product-wrapper .thumbnails button,
body.cm-site .customer-sidebar,
body.cm-site .customer-sidebar .nav-link,
body.cm-site .accordion-item,
body.cm-site .bg-block-secondary,
body.cm-site .bg-block-primary {
  border-color: var(--cm-border) !important;
  background: linear-gradient(150deg, rgba(19, 53, 79, 0.58), rgba(6, 26, 43, 0.68)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

body.cm-site .product-wrapper,
body.cm-site .cart,
body.cm-site .status-cards,
body.cm-site .feedback-page,
body.cm-site .blog,
body.cm-site .customer-page,
body.cm-site .components > .component:not(.cm-hero):not(.cm-products) {
  position: relative;
}

body.cm-site .product-wrapper,
body.cm-site .cart .container,
body.cm-site [data-component-id="status-page"],
body.cm-site [data-component-id="feedback-page"],
body.cm-site .blog-post-page {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

body.cm-site .btn {
  border-radius: 14px;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background 190ms ease;
}
body.cm-site .btn:hover { transform: translateY(-1px); }
body.cm-site .btn-primary {
  border-color: rgba(172, 231, 255, 0.24) !important;
  color: #fff !important;
  background: linear-gradient(180deg, #3ecaff, #1886e6) !important;
  box-shadow: 0 10px 28px rgba(24, 133, 221, 0.17);
}
body.cm-site .btn-outline-primary { border-color: rgba(159, 226, 255, 0.28) !important; color: #a2edff !important; }
body.cm-site .btn-outline-primary:hover { color: #fff !important; background: rgba(54, 174, 229, 0.2) !important; }

body.cm-site .form-control,
body.cm-site .form-select,
body.cm-site textarea,
body.cm-site .input-group-text,
body.cm-site .choices__inner {
  border-color: rgba(190, 237, 255, 0.15) !important;
  border-radius: 13px !important;
  color: #fff !important;
  background: rgba(4, 23, 39, 0.66) !important;
  box-shadow: none !important;
}
body.cm-site .form-control:focus,
body.cm-site .form-select:focus,
body.cm-site textarea:focus {
  border-color: rgba(143, 229, 255, 0.46) !important;
  box-shadow: 0 0 0 3px rgba(79, 194, 242, 0.08) !important;
}

/* Modal behavior stays Bootstrap-native; these rules are visual only. */
.modal { z-index: 1055 !important; }
.modal-backdrop { z-index: 1050 !important; }
#customer-login-modal .modal-dialog { max-width: 480px; }
#customer-login-modal .modal-content,
#ticket-create-modal .modal-content {
  border: 1px solid rgba(190, 238, 255, 0.22) !important;
  border-radius: 24px !important;
  background: rgba(7, 28, 46, 0.96) !important;
  box-shadow: 0 32px 100px rgba(0, 7, 18, 0.48) !important;
  backdrop-filter: blur(24px);
}
.modal-backdrop.show { opacity: 0.62; }

/* Hide homepage-only legacy blocks if old saved settings reinsert them. */
.cm-home .faq-section,
.cm-home .feedbacks,
.cm-home [data-component-id^="faq-"],
.cm-home [data-component-id^="feedbacks-"] { display: none !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  :root { --cm-section-space: clamp(6.5rem, 10vw, 8.5rem); }
  .cm-wide-container { width: min(1200px, calc(100% - 44px)); }
  .cm-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-product-col { width: 50%; }
  .cm-discord-card { grid-template-columns: auto 1fr; }
  .cm-discord-card .cm-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 991.98px) {
  .cm-site-header { padding-top: 8px; }
  .cm-navbar { padding-inline: 10px; }
  .cm-navbar__shell {
    width: calc(100vw - 20px);
    padding: 10px 12px;
    border-radius: 24px;
  }
  .cm-navbar__brand { min-width: 0; }
  .cm-navbar__brand img { height: 34px; }
  .cm-navbar .navbar-collapse { margin-top: 13px; padding: 13px 8px 8px; border-top: 1px solid rgba(190, 237, 255, 0.1); }
  .cm-navbar__links { align-items: stretch; gap: 2px; }
  .cm-navbar__links .nav-link { padding: 10px 8px !important; }
  .cm-navbar__links .nav-link::after { display: none; }
  .cm-navbar__actions { align-items: stretch !important; gap: 8px; padding-top: 10px; }
  .cm-navbar__actions .cm-nav-button { width: 100%; }
  .cm-currency-item, .currency-selector, .currency-selector .choices { width: 100%; min-width: 0; }
  .currency-selector .choices__inner, .currency-selector select { width: 100%; }
  .cm-hero { padding-top: 4.7rem; }
  .cm-games__group { padding-inline: 3vw; }
  .cm-game-logo { width: 12vw; }
  .cm-process__shell { grid-template-columns: 1fr; gap: 3.5rem; }
  .cm-footer__top { grid-template-columns: 1.2fr repeat(2, 0.7fr); }
  .cm-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  :root { --cm-section-space: 6.2rem; }
  .cm-wide-container, .cm-hero__container { width: calc(100% - 30px); }
  .cm-hero { padding-top: 3.8rem; }
  .cm-hero__title span { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .cm-hero__title strong { font-size: clamp(3rem, 13vw, 4.3rem); }
  .cm-hero__copy { margin-top: 20px; }
  .cm-hero__buttons { margin-top: 26px; }
  .cm-button { min-width: 0; flex: 1 1 150px; }
  .cm-games { margin-top: 4.2rem; }
  .cm-games__group { height: 88px; grid-template-columns: repeat(6, minmax(92px, 1fr)); gap: 28px; padding: 0 26px; }
  .cm-games__track { width: max-content; min-width: 0; animation-duration: 23s; }
  .cm-games__group { width: max-content; min-width: 100vw; display: flex; }
  .cm-game-logo { width: 104px; min-width: 104px; }
  .cm-game-logo--wide { width: 132px; min-width: 132px; }
  .cm-game-logo--dbd { width: 72px; min-width: 72px; }
  .cm-benefits { grid-template-columns: 1fr; gap: 14px; margin-top: 4rem; }
  .cm-benefit { min-height: 118px; padding: 20px; }
  .cm-benefit__icon { flex-basis: 56px; width: 56px; height: 56px; }
  .cm-section-heading { margin-bottom: 3rem; }
  .cm-section-heading h2, .cm-process h2 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .cm-products-grid { --bs-gutter-y: 20px; }
  .cm-product-col { width: 100%; }
  .cm-info-grid { grid-template-columns: 1fr; gap: 18px; }
  .cm-info-card { min-height: 275px; padding: 28px 25px; }
  .cm-info-card > i { margin-bottom: 52px; }
  .cm-process__shell { padding: 28px 20px; border-radius: 26px; }
  .cm-step { grid-template-columns: 46px 1fr; gap: 15px; padding: 18px; }
  .cm-step > span { width: 46px; height: 46px; border-radius: 14px; }
  .cm-discord-card { grid-template-columns: 1fr; text-align: left; gap: 22px; padding: 30px 24px; border-radius: 26px; }
  .cm-discord-card__icon { width: 68px; height: 68px; border-radius: 20px; }
  .cm-discord-card .cm-button { grid-column: auto; width: 100%; }
  .cm-footer { padding-top: 4.5rem; }
  .cm-footer__top { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .cm-footer__brand { grid-column: 1 / -1; }
  .cm-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 3.5rem; }
  .cm-legal-card { padding: 26px 21px; border-radius: 22px; }
}

@media (max-width: 480px) {
  .cm-footer__top { grid-template-columns: 1fr 1fr; }
  .cm-footer__column:last-child { grid-column: 1 / -1; }
  .cm-hero__buttons { flex-direction: column; }
  .cm-hero__buttons .cm-button { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  body.cm-site::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-cm-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Login modal stacking fix
   Bootstrap appends the backdrop directly under <body>. The theme wrapper uses
   z-index: 1 for the cursor-glow layer, which creates a stacking context and can
   trap a modal underneath the body-level backdrop. Remove that stacking context
   only while a modal is open so the Bootstrap modal can sit above its backdrop.
   -------------------------------------------------------------------------- */
body.cm-site.modal-open .flex-wrapper {
  z-index: auto !important;
}

/* Keep the modal/backdrop in Bootstrap's expected order. */
body.cm-site.modal-open #customer-login-modal {
  z-index: 1055 !important;
  pointer-events: auto !important;
}

body.cm-site.modal-open .modal-backdrop {
  z-index: 1050 !important;
  pointer-events: auto;
}
