@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&family=Sora:wght@600;700&display=swap");

:root {
  --ax-bg: #070a12;
  --ax-bg-2: #0a1020;
  --ax-surface: #0f1426;
  --ax-elev: #131a30;
  --ax-line: #223050;
  --ax-text: #eef3ff;
  --ax-sub: #c6d2ea;
  --ax-soft: #a9b6d4;

  --ax-accent: #22d3ee; /* cyan */
  --ax-accent-2: #a78bfa; /* violet */
  --ax-warn: #f59e0b;
  --ax-good: #22c55e;

  --ax-radius: 14px;
  --ax-shadow-1: 0 10px 26px rgba(2, 8, 23, 0.45);
  --ax-shadow-2: 0 18px 42px rgba(4, 10, 28, 0.6);
  --ax-ring: 0 0 0 1px rgba(34, 211, 238, 0.6),
    0 10px 26px rgba(34, 211, 238, 0.22);

  --ax-speed: 180ms;
  --ax-timing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  /* Layered background: strong dark overlay + brand tints + image + base gradient */
  background: linear-gradient(rgba(5, 8, 16, 0.88), rgba(5, 8, 16, 0.88)),
    radial-gradient(
      1200px 800px at 10% -10%,
      rgba(167, 139, 250, 0.1),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 110% 10%,
      rgba(34, 211, 238, 0.08),
      transparent 50%
    ),
    url("../img/bg.webp"), linear-gradient(180deg, var(--ax-bg), var(--ax-bg-2));
  background-position: center center, center center, center center,
    center center, center center;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-color: var(--ax-bg-2);
  color: var(--ax-text);
  font: 400 16px/1.55 "Manrope", system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ax-skip {
  position: absolute;
  left: -9999px;
}
.ax-skip:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 9999;
}
:focus-visible {
  outline: 2px dashed rgba(34, 211, 238, 0.7);
  outline-offset: 2px;
}

.ax-wrap {
  width: min(1160px, 94%);
  margin-inline: auto;
}

.ax-section {
  padding: 18px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 480px;
}

.ax-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.ax-h1,
.ax-h2,
.ax-h3 {
  font-family: "Sora", ui-serif, Georgia, serif;
  letter-spacing: 0.2px;
}
.ax-h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  margin: 0 0 8px;
}
.ax-h2 {
  font-size: clamp(20px, 2.6vw, 30px);
  margin: 0 0 10px;
  position: relative;
  padding-bottom: 6px;
}
.ax-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--ax-accent), var(--ax-accent-2));
  border-radius: 2px;
}
.ax-h3 {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 6px;
}
.ax-lead {
  color: var(--ax-sub);
  font-size: clamp(13px, 1.9vw, 16px);
  margin: 0;
}

/* HERO — split layout, decorative band */
.ax-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  background: linear-gradient(
      180deg,
      rgba(34, 211, 238, 0.06),
      rgba(167, 139, 250, 0.06)
    ),
    var(--ax-surface);
  box-shadow: var(--ax-shadow-2);
  isolation: isolate;
}

.ax-hero > :first-child {
  padding: 24px 22px 26px 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    transparent 40%
  );
}

/* Buttons */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  width: 100%;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: transform var(--ax-speed) var(--ax-timing),
    box-shadow var(--ax-speed) var(--ax-timing),
    background var(--ax-speed) var(--ax-timing),
    border-color var(--ax-speed) var(--ax-timing);
  border: 1px solid transparent;
  will-change: transform;
}
.ax-btn--prime {
  background: linear-gradient(135deg, var(--ax-accent), var(--ax-accent-2));
  color: #0a0b10;
  box-shadow: var(--ax-shadow-1);
  border-color: rgba(34, 211, 238, 0.4);
}
.ax-btn--prime:hover {
  transform: translateY(-1px);
  box-shadow: var(--ax-ring);
}

/* LIST — single column cards */
.ax-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  position: relative;
}

.ax-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 240px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(16, 23, 50, 0.6),
    rgba(10, 16, 34, 0.6)
  );
  border: 1px solid var(--ax-line);
  box-shadow: var(--ax-shadow-1);
  overflow: hidden;
  transition: transform var(--ax-speed) var(--ax-timing),
    box-shadow var(--ax-speed) var(--ax-timing);
}
.ax-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10%;
  bottom: -10%;
  width: 8px;
  background: linear-gradient(180deg, var(--ax-accent), var(--ax-accent-2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 24px rgba(34, 211, 238, 0.18);
}
.ax-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(4, 10, 28, 0.6);
}

/* Logo column */
.ax-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(180deg, #0f1630, #0a1020);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.ax-logo {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.ax-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0b10;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd271, #fbbf24);
  border: 0;
  border-radius: 10px;
  padding: 20px 10px;
  font-size: 18px;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.22);
  text-align: center;
  margin: 0;
}

.ax-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  justify-content: flex-start;
}
.ax-flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #bfefff;
  background: transparent;
  border: 1px solid rgba(34, 211, 238, 0.38);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.ax-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ax-pay img {
  width: 52px;
  height: 24px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px;
}

/* CTA column */
.ax-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ax-foot {
  font-size: 11px;
  color: var(--ax-soft);
  text-align: right;
}

/* Ribbon / Tag */
.ax-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, var(--ax-accent), var(--ax-accent-2));
  color: #0a0b10;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.2);
  font-size: 12px;
  z-index: 2;
}

/* Score stars */
.ax-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ax-sub);
  font-weight: 900;
  justify-content: flex-start;
}
.ax-meter {
  --score: 5;
  --size: 16px;
  width: calc(5 * var(--size));
  height: var(--size);
  background: linear-gradient(
    90deg,
    var(--ax-accent-2) calc((var(--score) / 5) * 100%),
    rgba(255, 255, 255, 0.2) 0
  );
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path fill="%23000" d="M10 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L10 14.6 4.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L10 0zM30 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L30 14.6 24.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L30 0zM50 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L50 14.6 44.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L50 0zM70 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L70 14.6 64.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L70 0zM90 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L90 14.6 84.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L90 0z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path fill="%23000" d="M10 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L10 14.6 4.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L10 0zM30 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L30 14.6 24.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L30 0zM50 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L50 14.6 44.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L50 0zM70 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L70 14.6 64.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L70 0zM90 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L90 14.6 84.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L90 0z"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Accordion */
.ax-accordion details {
  margin-bottom: 8px;
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-radius);
  overflow: hidden;
}
.ax-accordion summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 800;
  background: #0f1530;
  font-size: 13px;
}
.ax-accordion p {
  padding: 0 12px 10px;
  color: var(--ax-sub);
  border-top: 1px dashed var(--ax-line);
}

/* Reviews */
.ax-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.ax-review {
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-radius);
  padding: 10px;
  box-shadow: var(--ax-shadow-1);
}
.ax-stars {
  --score: 5;
  --size: 16px;
  width: calc(5 * var(--size));
  height: var(--size);
  background: linear-gradient(
    90deg,
    var(--ax-accent-2) calc((var(--score) / 5) * 100%),
    rgba(255, 255, 255, 0.2) 0
  );
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path fill="%23000" d="M10 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L10 14.6 4.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L10 0zM30 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L30 14.6 24.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L30 0zM50 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L50 14.6 44.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L50 0zM70 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L70 14.6 64.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L70 0zM90 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L90 14.6 84.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L90 0z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path fill="%23000" d="M10 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L10 14.6 4.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L10 0zM30 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L30 14.6 24.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L30 0zM50 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L50 14.6 44.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L50 0zM70 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L70 14.6 64.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L70 0zM90 0l2.6 6.2 6.8.6-5.1 4.2 1.6 6.7L90 14.6 84.1 17.7l1.6-6.7-5.1-4.2 6.8-.6L90 0z"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Games */
.ax-games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.ax-game {
  text-align: center;
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  border-radius: 12px;
  padding: 12px;
  transition: box-shadow var(--ax-speed) var(--ax-timing),
    transform var(--ax-speed) var(--ax-timing);
}
.ax-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(34, 211, 238, 0.22);
}

/* Charts */
.ax-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.ax-chart {
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-radius);
  padding: 12px;
  box-shadow: var(--ax-shadow-1);
}
.ax-ind {
  color: var(--ax-sub);
  font-size: 12px;
}

/* Banner */
.ax-banner {
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.22),
    rgba(167, 139, 250, 0.22)
  );
  color: var(--ax-text);
  padding: 16px;
  border-radius: var(--ax-radius);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: var(--ax-shadow-2);
  position: relative;
  overflow: hidden;
}
.ax-top {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.ax-topwrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 10px;
  align-items: center;
}
.ax-topwrap .ax-logo {
  width: 240px;
  height: auto;
  padding: 10px;
}
.ax-high {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

/* Market stat tiles — icon + pill meter (override dials) */
section[aria-labelledby="ax-market-h2"] .ax-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
section[aria-labelledby="ax-market-h2"] .ax-chart {
  position: relative;
  padding: 12px !important;
  text-align: left;
  border-radius: 16px;
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  box-shadow: var(--ax-shadow-1);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}
section[aria-labelledby="ax-market-h2"] .ax-chart::after {
  content: none !important;
}
section[aria-labelledby="ax-market-h2"] .ax-chart::before {
  content: "📊";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.18),
    rgba(167, 139, 250, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 22px;
}
section[aria-labelledby="ax-market-h2"]
  .ax-charts
  > .ax-chart:nth-child(2)::before {
  content: "🎲";
}
section[aria-labelledby="ax-market-h2"]
  .ax-charts
  > .ax-chart:nth-child(3)::before {
  content: "⏱️";
}
section[aria-labelledby="ax-market-h2"] .ax-ind {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
  color: var(--ax-sub);
  margin-bottom: 6px;
}

/* Footer */
.ax-footer {
  padding: 22px 0;
  border-top: 2px solid var(--ax-line);
  margin-top: 24px;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(6px);
}
.ax-footgrid {
  display: grid;
  grid-template-columns: 6fr 1fr 1fr;
  grid-template-areas: "note nav logos" "copy copy copy";
  gap: 14px;
  align-items: start;
}
.ax-note {
  grid-area: note;
  background: var(--ax-surface);
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-radius);
  padding: 12px;
  box-shadow: var(--ax-shadow-1);
}
.ax-footrow {
  display: contents;
}
.ax-nav {
  grid-area: nav;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.ax-nav a {
  color: #d7e5f0;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.ax-nav a:hover {
  color: #e8ffe2;
  border-bottom-color: rgba(232, 255, 226, 0.6);
}
.ax-logos {
  grid-area: logos;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.ax-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(34, 211, 238, 0.3);
  text-decoration: none;
  transition: transform var(--ax-speed) var(--ax-timing),
    box-shadow var(--ax-speed) var(--ax-timing),
    background var(--ax-speed) var(--ax-timing),
    border-color var(--ax-speed) var(--ax-timing);
  min-height: 36px;
}
.ax-logos a:hover {
  transform: translateY(-1px);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.18);
}
.ax-logos a img {
  height: 22px;
  filter: saturate(118%) contrast(105%);
}
.ax-copy {
  grid-area: copy;
  text-align: center;
  color: var(--ax-soft);
  font-size: 12px;
}

/* Article & text */
.ax-article {
  display: block;
}
.ax-p {
  margin: 0 0 8px;
  color: var(--ax-sub);
}
.ax-ul {
  margin: 4px 0 10px;
  padding-left: 18px;
}
.ax-ul li {
  margin: 4px 0;
}
.ax-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ax-line);
  background: var(--ax-surface);
  border-radius: var(--ax-radius);
  overflow: hidden;
}
.ax-table th,
.ax-table td {
  border-bottom: 1px solid var(--ax-line);
  padding: 8px 10px;
  text-align: left;
}
.ax-table thead th {
  background: #0f1636;
}
.ax-a {
  color: #9be9ff;
  text-underline-offset: 2px;
}
.ax-a:hover {
  color: #d9f7ff;
}

.ax-minw {
  min-width: 220px;
}
.ax-cta .ax-btn {
  margin-bottom: 10px;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Mobile */
@media (max-width: 960px) {
  .ax-hero {
    grid-template-columns: 1fr;
  }
  .ax-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ax-logo {
    max-width: 100%;
    margin: 0 auto;
    height: 70px;
  }
  .ax-cta {
    grid-column: 1;
  }
  .ax-offer {
    padding: 10px;
  }
  .ax-flags {
    gap: 2px;
  }
  /* Fix stacking order to avoid CTA overlapping logo on mobile */
  .ax-logo {
    grid-row: auto;
    grid-column: 1;
  }
  .ax-cta {
    grid-row: auto;
  }
  .ax-foot {
    text-align: left;
  }
  .ax-footgrid {
    grid-template-columns: 1fr;
    grid-template-areas: "note" "nav" "logos" "copy";
  }
  .ax-nav {
    justify-content: center;
  }
  .ax-logos {
    justify-content: center;
  }
  .ax-topwrap,
  .ax-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ax-minw {
    width: 100%;
  }
  .ax-high {
    justify-content: center;
  }
}
