:root {
  --bg: #07070b;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.07);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --stroke: rgba(255, 255, 255, 0.10);

  --btn-telegram: #2AABEE;
  --btn-whatsapp: #25D366;

  --android-card: rgba(217, 255, 232, 0.95);
  --ios-card: rgba(255, 223, 230, 0.95);

  --android-btn: #22c55e;
  --ios-btn: #f97316;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);

  /* Glow layers + full background image */
  background-image:
    radial-gradient(700px 420px at 50% 240px, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0) 65%),
    radial-gradient(900px 520px at 50% 340px, rgba(120, 120, 255, 0.12), rgba(0, 0, 0, 0) 70%),
    url("/assets/background.png");

  background-repeat: no-repeat, no-repeat, no-repeat;

  /* 🔥 KEY PART */
  background-position:
    center 140px,
    center 220px,
    center center;

  background-size:
    auto,
    auto,
    cover;

  background-attachment: scroll;
}


a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1100px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 46px;
  width: auto;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 13px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.12);
}

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Mobile dropdown */
.mobile-nav {
  display: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-inner {
  padding: 12px 0 16px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .header-inner {
    position: relative;
    justify-content: center; /* center the logo */
  }

  .brand {
    margin: 0 auto; /* keep logo centered */
  }

  .site-nav {
    display: none; /* hide desktop nav */
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* lock on right */
  }

  /* Toggle dropdown when body has nav-open */
  body.nav-open .mobile-nav {
    display: block;
  }
}



/* Hero */
.hero {
  padding: 64px 0 22px;
  text-align: center;
}

.hero-inner h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 800;
}

.hero-desc {
  margin: 18px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* CTA buttons */
.cta-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-telegram {
  background: var(--btn-telegram);
  color: #fff;
}

.btn-whatsapp {
  background: var(--btn-whatsapp);
  color: #083b1d;
}

/* Phone stage */
.device-stage {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.device-wrap {
  position: relative;
  width: min(420px, 92vw);
  padding-top: 10px;
}

/* Phone image with vertical fade */
.device-img {
  margin: 0 auto;
  width: 320px;
  height: auto;

  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 35%,
      rgba(0, 0, 0, 0.7) 55%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.1) 82%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 35%,
      rgba(0, 0, 0, 0.7) 55%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.1) 82%,
      rgba(0, 0, 0, 0) 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}


/* Cards overlay */
.download-cards {
  position: absolute;
  left: 50%;
  top: 86%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(560px, 92vw);
  align-items: stretch;
  z-index: 4;
}

.dl-card {
  border-radius: 14px;
  padding: 14px 14px 12px;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dl-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.dl-os {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.65;
}

.dl-title {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.9;
}

.dl-android {
  background: var(--android-card);
  color: rgba(0, 0, 0, 0.82);
}

.dl-ios {
  background: var(--ios-card);
  color: rgba(0, 0, 0, 0.82);
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* space between icon and text */
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.dl-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;

  /* make icon white */
  filter: brightness(0) invert(1);
}

.dl-btn-android {
  background: var(--android-btn);
  color: #fff;
}

.dl-btn-ios {
  background: var(--ios-btn);
  color: #fff;
}

/* “phone gets lighter into behind the cards” effect:
     a soft bright fade around the card overlap area + a gentle dark fade lower */
.device-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  /* top glow around where cards sit, plus subtle lower dark fade */
  background:
    radial-gradient(260px 170px at 50% 62%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(7, 7, 11, 0.72) 88%, rgba(7, 7, 11, 0.92) 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* Content section */
.content {
  padding: 116px 0 64px;
}

.content-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 26px 24px;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.content-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.content-card p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.content-card a {
  color: rgba(184, 114, 255, 0.72);
}

.content-card h3 {
  margin: 16px 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.content-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.content-note {
  margin-top: 18px !important;
  opacity: 0.7;
}

/* === Footer (Redesign) === */
.site-footer {
  position: relative;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(120, 120, 255, .10), rgba(0, 0, 0, 0) 60%),
    radial-gradient(700px 260px at 20% 10%, rgba(255, 255, 255, .06), rgba(0, 0, 0, 0) 55%),
    rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.footer-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top grid */
.site-footer .footer-wrap:first-of-type {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 22px;
}

/* Make each column look like a card (cleaner than vertical dividers) */
.footer-col {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.footer-col:not(:last-child)::after {
  display: none;
  /* remove the old vertical divider line */
}

/* Brand */
.ft-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 0 10px;
}

.ft-small {
  font-size: 13px;
  color: rgba(255, 255, 255, .70);
  margin: 8px 0;
  line-height: 1.5;
}

.ft-small.label {
  margin-top: 14px;
  color: rgba(255, 255, 255, .78);
}

.reg-logos {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.reg-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: .95;
  filter: grayscale(10%) brightness(1.05);
}

/* Social */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.social .ft-small {
  margin: 0 10px 0 0;
  opacity: .85;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

/* Titles */
.ft-title {
  color: rgba(255, 255, 255, .92);
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
}

/* Links */
.links-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ft-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-list li {
  margin: 10px 0;
}

.ft-list a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.ft-list a:hover {
  color: rgba(255, 255, 255, .95);
  transform: translateX(2px);
}

/* Payment logos: grid, consistent sizing */
.footer-pay .pay-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.pay-logos img {
  width: 100%;
  height: 38px;
  object-fit: contain;
  display: block;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  filter: grayscale(100%) brightness(1.15);
  opacity: .92;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .20);
}

.copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
  padding: 14px 0 18px;
}

/* Responsive */
@media (max-width: 980px) {
  .site-footer .footer-wrap:first-of-type {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .links-split {
    grid-template-columns: 1fr 1fr;
  }

  .footer-pay .pay-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .links-split {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-pay .pay-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social a {
    width: 32px;
    height: 32px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .download-cards {
    grid-template-columns: 1fr;
    top: 100%;
    width: min(360px, 92vw);
  }

  .device-img {
    width: 300px;
  }
}

/* Center logo on mobile */
@media (max-width: 768px) {
  .header-inner {
    justify-content: center;
    /* centers the logo */
    position: relative;
  }

  .site-nav {
    position: absolute;
    /* keep Subpage on right */
    right: 22px;
    /* match your wrap spacing */
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Game table */
.game-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}

.game-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}

.game-table thead {
  background: rgba(255, 255, 255, 0.08);
}

.game-table th {
  text-align: left;
  padding: 14px 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.game-table td {
  padding: 14px 14px;
  color: rgba(255, 255, 255, 0.72);
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-table tbody tr:last-child td {
  border-bottom: none;
}

.game-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Mobile optimisation */
@media (max-width: 640px) {
  .game-table {
    font-size: 12px;
  }

  .game-table th,
  .game-table td {
    padding: 12px 10px;
  }
}