* {
  box-sizing: border-box;
}

html {
  background: #160707;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--apex-bg);
  color: var(--apex-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.apex-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--apex-icon);
  mask-image: var(--apex-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.apex-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--apex-primary) 18%, transparent), transparent 250px),
    linear-gradient(180deg, var(--apex-surface), var(--apex-bg) 34%, #050202);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.apex-transaction-popup {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .72);
}

.apex-transaction-popup.is-open {
  display: grid;
}

.apex-transaction-popup__panel {
  display: grid;
  justify-items: center;
  gap: 11px;
  width: min(100%, 360px);
  padding: 22px 18px 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--apex-primary) 28%, transparent), transparent 160px),
    linear-gradient(180deg, color-mix(in srgb, var(--apex-panel) 94%, var(--apex-bg)), color-mix(in srgb, var(--apex-bg) 82%, #000));
  color: var(--apex-text);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 24px 55px rgba(0, 0, 0, .55);
}

.apex-transaction-popup__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-accent) 74%, #f2dfb2), color-mix(in srgb, var(--apex-accent) 42%, var(--apex-primary)));
  color: color-mix(in srgb, var(--apex-bg) 90%, #000);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--apex-accent) 15%, transparent);
}

.apex-transaction-popup__icon .apex-icon {
  width: 28px;
  height: 28px;
}

.apex-transaction-popup h2 {
  margin: 0;
  color: var(--apex-accent);
  font-size: 21px;
  line-height: 1.15;
}

.apex-transaction-popup p {
  margin: 0;
  color: var(--apex-text);
  font-size: 14px;
  line-height: 1.45;
}

.apex-transaction-popup small {
  color: var(--apex-muted);
  font-size: 12px;
  line-height: 1.4;
}

.apex-transaction-popup button {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-accent) 76%, #f2dfb2), color-mix(in srgb, var(--apex-accent) 50%, var(--apex-primary)));
  color: color-mix(in srgb, var(--apex-bg) 90%, #000);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.apex-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 10px 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 22%, #170606), #130505);
  border-bottom: 1px solid var(--apex-line);
}

.apex-member-bar {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 40px;
  margin: 8px 10px;
  overflow: hidden;
  border: 0px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--apex-primary) 22%, var(--apex-panel));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .42),
    0 6px 14px rgba(0, 0, 0, .34);
}

.apex-member-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 16%, rgba(255, 255, 255, .08) 34%, transparent 56%);
  pointer-events: none;
}

.apex-member-identity,
.apex-member-balance {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
}

.apex-member-identity {
  gap: 9px;
}

.apex-member-medallion {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fafbfd, #b4bac4 54%, #717784);
  color: #3c4451;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .9),
    inset 0 -1px 1px rgba(0, 0, 0, .28),
    0 1px 3px rgba(0, 0, 0, .42);
}

.apex-member-medallion.is-balance {
  border-color: rgba(255, 214, 75, .92);
  background: linear-gradient(145deg, #ffe943, #f2aa00 58%, #b66a00);
  color: #fff9da;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .75),
    inset 0 -1px 1px rgba(123, 64, 0, .5),
    0 0 0 2px rgba(255, 190, 0, .16),
    0 1px 4px rgba(0, 0, 0, .46);
}

.apex-member-medallion .apex-icon {
  width: 17px;
  height: 17px;
}

.apex-member-identity strong,
.apex-member-balance strong {
  min-width: 0;
  overflow: hidden;
  color: #fefefe;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apex-member-balance {
  align-self: center;
  gap: 8px;
  min-height: 36px;
  margin: 4px 6px 4px 0;
  padding: 0 9px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%),
    linear-gradient(180deg, rgba(17, 18, 23, .92), rgba(31, 35, 43, .96));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 1px rgba(0, 0, 0, .36),
    0 1px 2px rgba(0, 0, 0, .18);
}

.apex-member-balance strong {
  flex: 1;
  text-align: left;
  color: #fff;
}

.apex-member-balance button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.apex-member-balance button:hover,
.apex-member-balance button:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.apex-member-balance button .apex-icon {
  width: 19px;
  height: 19px;
}

.apex-member-balance button.is-loading .apex-icon {
  animation: apexBalanceRefresh .7s linear infinite;
}

.apex-member-balance button.is-error {
  color: #ff7373;
}

@keyframes apexBalanceRefresh {
  to {
    transform: rotate(360deg);
  }
}

.apex-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 48%;
  font-weight: 900;
  color: var(--apex-accent);
  letter-spacing: 0;
}

.apex-logo img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.apex-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.apex-live-chat,
.apex-menu-button {
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--apex-accent) 55%, transparent);
  background: linear-gradient(180deg, var(--apex-primary), color-mix(in srgb, var(--apex-primary) 58%, #250505));
  color: #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--apex-accent) 12%, transparent) inset;
}

.apex-live-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  place-items: center;
  min-width: 98px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  animation: apexLiveChatMonochrome .9s linear infinite;
}

.apex-live-chat .apex-icon {
  width: 17px;
  height: 17px;
  animation: apexLiveChatIconNeon .9s linear infinite;
}

@keyframes apexLiveChatMonochrome {

  0%,
  38%,
  58%,
  100% {
    color: #fff;
    text-shadow:
      0 0 3px #fff,
      0 0 7px color-mix(in srgb, var(--apex-accent) 88%, #fff),
      0 0 12px var(--apex-accent);
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--apex-accent) 18%, transparent) inset,
      0 0 6px color-mix(in srgb, var(--apex-accent) 72%, transparent),
      0 0 13px color-mix(in srgb, var(--apex-accent) 30%, transparent);
  }

  39%,
  57% {
    color: #160505;
    text-shadow: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--apex-accent) 10%, transparent) inset;
  }
}

@keyframes apexLiveChatIconNeon {

  0%,
  38%,
  58%,
  100% {
    filter:
      drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px var(--apex-accent));
  }

  39%,
  57% {
    filter: none;
  }
}

.apex-menu-button {
  width: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 9px 11px;
}

.apex-menu-button .apex-icon {
  width: 27px;
  height: 27px;
}

.apex-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.apex-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(88vw, 380px);
  height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: linear-gradient(180deg, #260707, #1a0505 58%, #100303);
  border-left: 1px solid rgba(255, 255, 255, .14);
  transform: translateX(100%);
  transition: transform .24s ease;
}

.is-drawer-open .apex-drawer {
  transform: translateX(0);
}

.is-drawer-open .apex-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.apex-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 18px 8px;
}

.apex-drawer-head strong {
  font-size: 17px;
  line-height: 1.25;
}

.apex-drawer-head button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: #160505;
  font-size: 24px;
  line-height: 1;
}

.apex-drawer-head button .apex-icon {
  width: 21px;
  height: 21px;
}

.apex-drawer-auth {
  padding: 6px 18px 16px;
  text-align: center;
}

.apex-drawer-auth img {
  max-width: 148px;
  max-height: 56px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.apex-drawer-auth p,
.apex-drawer-auth span {
  color: rgba(255, 255, 255, .82);
}

.apex-drawer-auth p {
  margin: 8px 0 14px;
  font-size: 14px;
}

.apex-drawer-auth strong {
  display: block;
  margin: 6px 0 12px;
  font-size: 24px;
  color: var(--apex-accent);
}

.apex-drawer-auth-member {
  display: grid;
  gap: 8px;
  padding: 10px 14px 12px;
  text-align: left;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 16%, transparent), transparent 48%),
    color-mix(in srgb, var(--apex-panel) 92%, #000);
}

.apex-drawer-member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 0;
  min-height: 38px;
}

.apex-drawer-member-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  color: #fff;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  place-items: initial;
  justify-content: flex-start;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.apex-drawer-auth-member .apex-drawer-member-profile,
.apex-drawer-auth-member .apex-drawer-member-profile:hover,
.apex-drawer-auth-member .apex-drawer-member-profile:focus-visible {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  place-items: initial;
}

.apex-drawer-member-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-accent) 88%, #fff 10%), var(--apex-accent) 48%, color-mix(in srgb, var(--apex-primary) 72%, #4a120b));
  color: color-mix(in srgb, var(--apex-panel) 88%, #000);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .42),
    inset 0 -1px 1px rgba(0, 0, 0, .32),
    0 1px 3px rgba(0, 0, 0, .36);
}

.apex-drawer-member-avatar .apex-icon {
  width: 19px;
  height: 19px;
}

.apex-drawer-member-profile strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.apex-drawer-member-notif {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--apex-accent) 18%, transparent), transparent 58%),
    color-mix(in srgb, var(--apex-primary) 18%, transparent);
  color: var(--apex-accent);
}

.apex-drawer-member-notif-icon {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

.apex-drawer-member-notif-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--apex-accent) 88%, #fff 8%);
  color: color-mix(in srgb, var(--apex-panel) 88%, #000);
  font-size: 9px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .34);
}

.apex-drawer-member-wallet {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--apex-primary) 22%, var(--apex-panel));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .035),
    inset 0 -1px 1px rgba(0, 0, 0, .48);
}

.apex-drawer-member-wallet-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--apex-primary) 22%, #000);
  color: var(--apex-accent);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .04),
    inset 0 -1px 1px rgba(0, 0, 0, .38);
}

.apex-drawer-member-wallet-icon .apex-icon {
  width: 18px;
  height: 18px;
}

.apex-drawer-member-wallet strong {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  color: color-mix(in srgb, var(--apex-accent) 84%, #fff 4%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.apex-drawer-member-wallet button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: color-mix(in srgb, var(--apex-accent) 76%, #fff 10%);
}

.apex-drawer-member-wallet button .apex-icon {
  width: 19px;
  height: 19px;
}

.apex-drawer-member-wallet button.is-loading .apex-icon {
  animation: apexBalanceRefresh .7s linear infinite;
}

.apex-drawer-member-wallet button.is-error {
  color: #ff7373;
}

.apex-drawer-auth:not(.apex-drawer-auth-member) div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.apex-drawer-auth:not(.apex-drawer-auth-member) a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 82%, #fff 4%), color-mix(in srgb, var(--apex-primary) 58%, #240404));
  font-size: 16px;
  font-weight: 700;
}

.apex-drawer-auth:not(.apex-drawer-auth-member) a+a {
  background: linear-gradient(180deg, #f4b000, color-mix(in srgb, var(--apex-accent) 62%, #f4b000));
  color: var(--apex-panel);
}

.apex-drawer-menu a,
.apex-drawer-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}

.apex-drawer-menu .apex-icon {
  width: 24px;
  height: 24px;
  text-align: center;
  color: color-mix(in srgb, var(--apex-accent) 82%, #fff 8%);
}

.apex-drawer-games {
  padding: 20px 18px 30px;
}

.apex-drawer-games h2 {
  margin: 0 0 12px;
  color: var(--apex-accent);
  font-size: 18px;
  line-height: 1.25;
}

.apex-drawer-games div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.apex-drawer-games a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 12%, transparent), transparent),
    color-mix(in srgb, var(--apex-panel) 78%, #000);
  font-size: 14px;
  font-weight: 600;
}

.apex-drawer-games .apex-icon {
  width: 20px;
  height: 20px;
  color: color-mix(in srgb, var(--apex-accent) 82%, #fff 8%);
}

.apex-drawer-game-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

main {
  padding-bottom: 16px;
}

.apex-game-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 10px;
  background: rgba(16, 3, 3, .96);
  border-bottom: 1px solid var(--apex-line);
  scrollbar-width: none;
}

.apex-game-nav::-webkit-scrollbar {
  display: none;
}

.apex-game-nav a {
  position: relative;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 72px;
  padding: 8px 6px 6px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: linear-gradient(180deg, #780c09, #300604);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.apex-game-nav .apex-game-nav-icon {
  width: 28px;
  height: 28px;
  color: #fff;
}

.apex-game-nav .apex-game-nav-label {
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.apex-game-nav small {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #ff2727;
  font-size: 9px;
  font-weight: 900;
}

.apex-running-text {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--apex-accent) 65%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--apex-accent) 65%, transparent);
  background: linear-gradient(110deg, var(--apex-primary) 0 10%, #160505 10% 100%);
  color: #fff;
}

.apex-running-text::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 58px;
  height: 100%;
  background: var(--apex-primary);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.apex-running-text>.apex-running-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  font-weight: 900;
}

.apex-running-icon .apex-icon {
  width: 20px;
  height: 20px;
}

.apex-running-text marquee {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding-right: 0;
  font-size: 13px;
  font-weight: 700;
}

.apex-hero {
  position: relative;
  aspect-ratio: 16 / 7;
  margin: 10px 10px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(135deg, #1d0707, #4a0b08 48%, #120303);
}

.apex-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.apex-hero-slide.is-active {
  opacity: 1;
}

.apex-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apex-hero-slide span {
  font-size: 30px;
  font-weight: 900;
  color: color-mix(in srgb, var(--apex-accent) 70%, #2a0805);
}

.apex-hero-controls {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.apex-hero-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--apex-accent) 62%, transparent);
  border-radius: 50%;
  background: rgba(18, 3, 3, .72);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .38);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.apex-hero-controls button:active {
  transform: scale(.92);
  background: var(--apex-primary);
}

.apex-hero-controls .apex-icon {
  width: 21px;
  height: 21px;
}

.apex-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.apex-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}

.apex-hero-dots button.is-active {
  width: 20px;
  border-radius: 999px;
  background: var(--apex-primary);
}

.apex-jackpot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 64px;
  margin: 12px 10px 0;
  overflow: hidden;
  border-radius: 8px;
}

.apex-jackpot img {
  width: 100%;
  min-height: 64px;
  object-fit: cover;
}

.apex-jackpot strong {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  text-align: center;
  text-shadow: 0 2px 6px #000;
  white-space: nowrap;
}

.apex-login-card,
.apex-section,
.apex-service,
.apex-latest,
.apex-article,
.apex-footer {
  margin: 14px 10px 0;
}

.apex-login-card {
  padding: 12px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--apex-accent) 12%, transparent), transparent 16%),
    rgba(30, 3, 3, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.apex-login-card form {
  display: grid;
  gap: 10px;
}

.apex-login-card label {
  position: relative;
  display: block;
}

.apex-login-card .apex-login-icon {
  position: absolute;
  z-index: 2;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(180deg, #fff000, #ffd400);
  color: #180500;
  box-shadow: 2px 0 5px rgba(0, 0, 0, .28);
  pointer-events: none;
}

.apex-login-card .apex-login-icon>.apex-icon {
  width: 25px;
  height: 25px;
}

.apex-login-card input {
  width: 100%;
  height: 48px;
  padding: 0 54px;
  border: 1px solid color-mix(in srgb, var(--apex-primary) 72%, transparent);
  border-radius: 999px;
  outline: 0;
  background: rgba(70, 5, 0, .7);
  color: #fff;
  text-align: center;
  font-size: 16px;
}

.apex-login-card input::placeholder {
  color: color-mix(in srgb, var(--apex-muted) 82%, transparent);
}

.apex-login-card input:focus {
  border-color: color-mix(in srgb, var(--apex-accent) 72%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--apex-accent) 9%, transparent);
}

.apex-login-card [data-password-toggle] {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 4px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--apex-accent);
  cursor: pointer;
}

.apex-login-card [data-password-toggle] .apex-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.apex-login-card [data-password-toggle] .apex-eye-on {
  display: none;
}

.apex-login-card [data-password-toggle][aria-pressed="true"] .apex-eye-off {
  display: none;
}

.apex-login-card [data-password-toggle][aria-pressed="true"] .apex-eye-on {
  display: block;
}

.apex-login-card form>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.apex-login-card form>div a,
.apex-login-card form>div button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe100, #f29e00);
  color: var(--apex-panel);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.apex-login-card form>div button {
  background: linear-gradient(180deg, #ff3e3e, #c80f0f);
  color: #fff;
}

.apex-login-card form>div a,
.apex-login-card form>div button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  animation: apexLoginButtonGlow 2.4s ease-in-out infinite;
}

.apex-login-card form>div button {
  animation-delay: .45s;
}

.apex-login-card form>div a>span,
.apex-login-card form>div button>span {
  position: relative;
  z-index: 3;
}

.apex-login-card form>div a::before,
.apex-login-card form>div button::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -55% -35%;
  background: linear-gradient(112deg,
      transparent 38%,
      rgba(255, 255, 255, .2) 44%,
      rgba(255, 255, 255, .95) 50%,
      rgba(255, 255, 255, .2) 56%,
      transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: apexLoginButtonShine 2.4s ease-in-out infinite;
}

.apex-login-card form>div button::before {
  animation-delay: .45s;
}

.apex-login-card form>div a::after,
.apex-login-card form>div button::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 3px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, .95) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, .9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 72%, rgba(255, 235, 145, .95) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 78%, rgba(255, 255, 255, .85) 0 1px, transparent 2px);
  opacity: 0;
  pointer-events: none;
  animation: apexLoginButtonSparkle 2.4s linear infinite;
}

.apex-login-card form>div button::after {
  animation-delay: .45s;
}

@keyframes apexLoginButtonShine {

  0%,
  22% {
    transform: translateX(-120%);
  }

  58%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes apexLoginButtonSparkle {

  0%,
  24%,
  100% {
    opacity: 0;
  }

  38%,
  58% {
    opacity: .9;
  }

  72% {
    opacity: .25;
  }
}

@keyframes apexLoginButtonGlow {

  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 transparent;
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .35),
      0 0 8px color-mix(in srgb, var(--apex-accent) 58%, transparent);
  }
}

.apex-form-error {
  margin: 0;
  color: #ffcbcb;
  font-size: 12px;
}

.apex-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.apex-section-title-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  text-align: center;
}

.apex-section-title-center h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--apex-accent);
  font-size: 18px;
}

.apex-section-title-center h2 .apex-icon {
  width: 19px;
  height: 19px;
}

.apex-section-title-center p {
  margin: 0;
  color: var(--apex-muted);
  font-size: 12px;
  font-weight: 700;
}

.apex-section-title-center a {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}

.apex-section-title-center h2,
.apex-section-title-center p {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 380px) {
  .apex-section-title-center {
    padding: 0;
  }

  .apex-section-title-center a {
    position: static;
    transform: none;
    margin-top: 2px;
  }
}

.apex-section-title h2,
.apex-service h2,
.apex-latest h2,
.apex-article h2 {
  margin: 0;
  color: var(--apex-primary);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apex-section-title.apex-section-title-center h2 {
  color: var(--apex-accent);
  font-size: 18px;
}

.apex-section-title a {
  flex: 0 0 auto;
  color: var(--apex-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.apex-hot-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.apex-hot-games a {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 0 0 10px;
  border: 1px solid color-mix(in srgb, var(--apex-accent) 34%, transparent);
  border-radius: 9px;
  background: #f5ead9;
  color: #2a100b;
  min-width: 0;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.apex-hot-games div {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #180606;
}

.apex-hot-games img,
.apex-hot-games div>span {
  width: 100%;
  height: 100%;
  background: #180606;
  object-fit: cover;
}

.apex-hot-games div>span {
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--apex-accent);
}

.apex-hot-games strong {
  display: block;
  overflow: hidden;
  margin: 7px 7px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.25;
  text-transform: uppercase;
}

.apex-hot-games small {
  display: block;
  overflow: hidden;
  margin: 2px 7px 0;
  color: rgba(42, 16, 11, .62);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apex-hot-games b {
  position: absolute;
  top: 5px;
  left: -5px;
  z-index: 2;
  transform: rotate(-18deg);
  color: #e42113;
  font-size: 18px;
  font-weight: 1000;
  text-shadow: 1px 1px 0 #fff, 0 0 4px rgba(255, 210, 0, .9);
}

.apex-hot-games i {
  position: absolute;
  left: 0;
  bottom: 66px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 25px;
  height: 24px;
  border-radius: 0 6px 6px 0;
  background: rgba(255, 255, 255, .86);
  color: #8b806d;
  font-style: normal;
  font-size: 12px;
}

.apex-hot-games i .apex-icon {
  width: 13px;
  height: 13px;
}

.apex-hot-games em {
  display: block;
  height: 18px;
  margin: 6px 8px 0;
  padding: 2px;
  border-radius: 999px;
  background: #2d251c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45);
  font-style: normal;
}

.apex-hot-games em span {
  display: grid;
  place-items: center;
  height: 100%;
  min-width: 46px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 5px, transparent 5px 10px),
    #28a745;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}

.apex-empty {
  margin: 0;
  color: var(--apex-muted);
}

.apex-mini-banners {
  display: grid;
  gap: 8px;
  margin: 16px 10px 0;
}

.apex-mini-banners img {
  width: 100%;
  aspect-ratio: 12 / 2;
  border-radius: 10px;
  object-fit: cover;
}

.apex-provider-strip,
.apex-payments-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 128px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.apex-provider-strip::-webkit-scrollbar,
.apex-payments::-webkit-scrollbar {
  display: none;
}

.apex-provider-strip {
  grid-auto-columns: calc((100% - 10px) / 2);
  gap: 10px;
  scroll-snap-type: x proximity;
}

.apex-provider-strip a {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  aspect-ratio: 7 / 9;
  min-height: 0;
  padding: 12px 10px;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--apex-panel) 78%, #ffffff 6%);
  scroll-snap-align: start;
}

.apex-provider-strip a.has-portrait {
  display: block;
  padding: 0;
}

.apex-provider-strip img,
.apex-provider-strip span {
  width: min(112px, 82%);
  height: 64px;
  object-fit: contain;
}

.apex-provider-strip a.has-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apex-provider-strip span {
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: var(--apex-accent);
  font-weight: 900;
}

.apex-provider-strip strong {
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.apex-service {
  position: relative;
  margin-top: 32px;
  padding: 18px 16px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: var(--apex-bg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.apex-service::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  z-index: 1;
  width: 150px;
  height: 5px;
  transform: translateX(-50%);
  background: var(--apex-bg);
}

.apex-service h2 {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 2;
  padding: 0 18px;
  transform: translateX(-50%);
  background: transparent;
  color: var(--apex-accent);
  font-size: 26px;
  text-transform: none;
}

.apex-service article {
  position: relative;
  padding: 12px 0 18px;
}

.apex-service article strong,
.apex-service article span {
  display: block;
}

.apex-service article strong {
  font-size: 19px;
}

.apex-service article span {
  margin-top: 2px;
  font-size: 14px;
}

.apex-service article b {
  position: absolute;
  top: 12px;
  right: 0;
  font-size: 34px;
}

.apex-service article small {
  font-size: 16px;
}

.apex-service article i {
  display: block;
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--apex-accent) var(--value), rgba(255, 255, 255, .9) var(--value));
}

.apex-service p {
  margin: 14px 0 9px;
  font-weight: 900;
}

.apex-service-image-row {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.apex-service-image-row img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.apex-service-responsible img {
  height: 30px;
}

.apex-service-browser img {
  height: 30px;
}

.apex-latest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.apex-latest article {
  height: 188px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--apex-primary) 42%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--apex-panel) 80%, #ffffff 5%);
}

.apex-latest header {
  position: relative;
  z-index: 2;
  padding: 10px 12px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--apex-accent) 18%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--apex-panel) 92%, #000), var(--apex-panel));
}

.apex-latest header span {
  display: block;
  margin-bottom: 2px;
  color: var(--apex-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.apex-latest h2 {
  margin: 0;
  color: var(--apex-primary);
  font-size: 15px;
  line-height: 1;
}

.apex-latest-window {
  position: relative;
  height: 126px;
  overflow: hidden;
  padding: 8px 12px 10px;
}

.apex-latest-window::before,
.apex-latest-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 16px;
  pointer-events: none;
}

.apex-latest-window::before {
  top: 0;
  background: linear-gradient(180deg, var(--apex-panel), transparent);
}

.apex-latest-window::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--apex-panel), transparent);
}

.apex-latest-track {
  animation: apexTicker 9s linear infinite;
}

.apex-latest p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 0;
}

.apex-latest span {
  overflow: hidden;
  color: var(--apex-muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apex-latest strong {
  color: var(--apex-accent);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

@keyframes apexTicker {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.apex-payments {
  overflow: hidden;
  padding-bottom: 2px;
}

.apex-payments-track {
  grid-auto-columns: calc((100% - 24px) / 4);
  width: max-content;
  min-width: 200%;
  animation: apexPaymentLoop 18s linear infinite;
}

.apex-payments:hover .apex-payments-track {
  animation-play-state: paused;
}

.apex-payments article {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  border-radius: 6px;
  background: #f2f2f2;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.apex-payments i {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19e646;
}

.apex-payments img {
  max-width: 92%;
  max-height: 34px;
  object-fit: contain;
}

.apex-payments strong {
  color: #171717;
  font-size: 12px;
  text-align: center;
}

@keyframes apexPaymentLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.apex-article {
  padding: 14px;
  border-top: 1px solid var(--apex-line);
  border-bottom: 1px solid var(--apex-line);
  background: color-mix(in srgb, var(--apex-panel) 74%, #ffffff 4%);
  border-radius: 8px;
}

.apex-article h2 {
  margin-bottom: 8px;
}

.apex-article p {
  margin: 0 0 12px;
  color: var(--apex-muted);
  font-size: 13px;
  line-height: 1.55;
}

.apex-article-copy {
  margin-bottom: 12px;
}

.apex-article-copy p {
  max-height: 3.1em;
  margin-bottom: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.apex-article-copy.is-expanded p {
  max-height: var(--apex-article-full-height, 1000px);
}

.apex-article-copy button {
  display: block;
  margin: 7px 0 0 auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--apex-accent) 55%, transparent);
  background: transparent;
  color: var(--apex-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.apex-article-copy button[hidden] {
  display: none;
}

.apex-article details {
  padding: 10px 0;
  border-top: 1px solid var(--apex-line);
}

.apex-article summary {
  font-weight: 900;
}

.apex-provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apex-provider-logos span {
  display: grid;
  place-items: center;
  width: calc((100% - 24px) / 3);
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: color-mix(in srgb, var(--apex-panel) 76%, #ffffff 5%);
  color: var(--apex-text);
  font-size: 10px;
}

.apex-provider-logos img {
  max-width: 90%;
  max-height: 30px;
  object-fit: contain;
}

.apex-footer {
  padding: 18px 0 4px;
  color: var(--apex-muted);
}

.apex-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 12px 6px;
  border-top: 1px solid color-mix(in srgb, var(--apex-primary) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--apex-primary) 12%, transparent);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, 0));
}

.apex-footer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: color-mix(in srgb, var(--apex-text) 78%, transparent);
  font-size: 12px;
  font-weight: 700;
}

.apex-footer a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  width: 1px;
  height: 12px;
  background: color-mix(in srgb, var(--apex-accent) 22%, transparent);
}

.apex-footer a:active,
.apex-footer a:hover {
  color: color-mix(in srgb, var(--apex-accent) 82%, #ffffff);
}

.apex-footer p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 0;
  color: var(--apex-muted);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.apex-footer p::before,
.apex-footer p::after {
  content: "";
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--apex-primary) 55%, transparent));
}

.apex-footer p::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--apex-primary) 55%, transparent), transparent);
}

.apex-footer p span {
  white-space: nowrap;
}

.apex-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: -1px;
  z-index: 60;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 520px);
  height: calc(72px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateX(-50%);
}

.apex-bottom-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-top: 0px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 22%, #170606), #130505);
  box-shadow: 0 -12px 24px rgba(0, 0, 0, .35);
  -webkit-mask: radial-gradient(circle 40px at 50% 18px, transparent 39px, #000 40px);
  mask: radial-gradient(circle 40px at 50% 18px, transparent 39px, #000 40px);
}

.apex-bottom-nav a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  min-width: 0;
  color: var(--apex-accent);
  font-weight: 900;
}

.apex-bottom-nav a>.apex-icon {
  width: 22px;
  height: 22px;
}

.apex-bottom-nav a>.apex-bottom-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apex-bottom-nav .is-main>.apex-icon {
  width: 45px;
  height: 45px;
  animation: apexMainIconLift 1.8s ease-in-out infinite;
  will-change: transform;
}

.apex-bottom-nav .is-main>.apex-bottom-label {
  position: absolute;
  top: calc(50% + 39px);
  left: 0;
  width: 100%;
  text-align: center;
}

.apex-bottom-nav .is-main {
  z-index: 2;
  transform: translateY(-18px);
  transform-origin: center;
}

.apex-bottom-nav .is-main::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border: 3px solid var(--apex-accent);
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 22%, #170606), #130505);
  animation: apexMainBreath 1.8s ease-in-out infinite;
  will-change: transform, box-shadow;
  z-index: -1;
}

.apex-bottom-nav .is-main::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border: 1px solid color-mix(in srgb, var(--apex-accent) 65%, transparent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: apexMainInvite 3.6s ease-out infinite;
  will-change: transform, opacity;
  z-index: 0;
}

@keyframes apexMainBreath {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--apex-accent) 0%, transparent);
  }

  50% {
    transform: translateY(-4px) scale(1.045);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--apex-accent) 14%, transparent);
  }
}

@keyframes apexMainIconLift {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes apexMainInvite {

  0%,
  58% {
    opacity: 0;
    transform: scale(1);
  }

  64% {
    opacity: .42;
  }

  86%,
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (max-width: 360px) {
  .apex-live-chat {
    min-width: 84px;
    font-size: 12px;
  }

  .apex-hot-games {
    gap: 8px;
  }

  .apex-latest {
    grid-template-columns: 1fr;
  }
}

/* Golden-ratio proportion layer: lower contrast, warmer surfaces, 61.8/38.2 mixes. */
.apex-shell {
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--apex-accent) 10%, transparent), transparent 233px),
    linear-gradient(180deg, var(--apex-surface), var(--apex-bg) 38.2%, #030201);
}

.apex-header,
.apex-bottom-nav::before {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 38.2%, var(--apex-panel)), color-mix(in srgb, var(--apex-bg) 88%, #000));
}

.apex-live-chat,
.apex-menu-button {
  border-color: color-mix(in srgb, var(--apex-accent) 38.2%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 61.8%, var(--apex-panel)), color-mix(in srgb, var(--apex-primary) 38.2%, var(--apex-bg)));
  color: var(--apex-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 0 1px color-mix(in srgb, var(--apex-accent) 10%, transparent);
}

.apex-drawer {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 24%, var(--apex-panel)), var(--apex-bg) 61.8%, #030101);
  border-left-color: var(--apex-line);
}

.apex-game-nav {
  background: color-mix(in srgb, var(--apex-bg) 82%, #000);
}

.apex-game-nav a {
  border-color: color-mix(in srgb, var(--apex-accent) 20%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 50%, var(--apex-panel)), color-mix(in srgb, var(--apex-panel) 82%, #000));
}

.apex-game-nav .apex-game-nav-icon {
  color: color-mix(in srgb, var(--apex-text) 88%, var(--apex-accent));
}

.apex-game-nav small {
  background: color-mix(in srgb, var(--apex-primary) 76%, var(--apex-accent));
  color: var(--apex-text);
}

.apex-running-text {
  border-color: color-mix(in srgb, var(--apex-accent) 34%, transparent);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--apex-primary) 61.8%, var(--apex-panel)) 0 10%, color-mix(in srgb, var(--apex-bg) 92%, #000) 10% 100%);
  color: var(--apex-text);
}

.apex-running-text::after {
  background: color-mix(in srgb, var(--apex-primary) 61.8%, var(--apex-panel));
}

.apex-login-card form>div a {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-accent) 86%, #fff0bd), color-mix(in srgb, var(--apex-accent) 61.8%, var(--apex-primary)));
  color: color-mix(in srgb, var(--apex-bg) 88%, #000);
}

.apex-login-card form>div button {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 76%, var(--apex-accent)), color-mix(in srgb, var(--apex-primary) 61.8%, #080302));
  color: var(--apex-text);
}

.apex-bottom-nav a {
  color: color-mix(in srgb, var(--apex-accent) 88%, var(--apex-text));
}

.apex-bottom-nav .is-main::before {
  border-color: color-mix(in srgb, var(--apex-accent) 86%, var(--apex-text));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--apex-primary) 42%, var(--apex-panel)), color-mix(in srgb, var(--apex-bg) 92%, #000));
}
