:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: #131a2e;
  --panel-2: #1a2440;
  --ink: #f5f7ff;
  --muted: #9aa6c7;
  --brand: #6d5efc;
  --cyan: #00d2ff;
  --gold: #ffce4f;
  --line: #26304f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.modal-open {
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.96);
  backdrop-filter: blur(12px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}
.logo span {
  color: var(--cyan);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  color: #fff;
  font:
    700 15px Arial,
    sans-serif;
  text-align: center;
  min-height: 45px;
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.24);
  transition:
    filter 0.15s,
    transform 0.15s;
}
a.btn {
  font-family: inherit;
  line-height: 24px;
}
.btn.sm {
  font-size: 14px;
  padding: 10px 18px;
  min-height: 36px;
}
.btn.ghost {
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.btn:active:not(:disabled) {
  transform: translateY(0);
}
.hero {
  text-align: center;
  padding: 90px 20px 70px;
  background: var(--bg);
}
.hero .container {
  max-width: none;
  padding: 0;
}
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 18px;
}
.accent {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--cyan), var(--brand));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 19px;
  color: var(--muted);
}
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.strip {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  font-weight: 700;
}
.dot {
  color: var(--gold);
  font-size: 22px;
  line-height: 1.3;
}
.section {
  padding: 72px 0;
}
.section h2 {
  font-size: 36px;
  line-height: 1.6;
  margin: 0 0 10px;
  font-weight: 700;
}
.sub {
  color: var(--muted);
  margin: 0 0 30px;
}
.cashouts-section {
  padding: 18px 0;
}
.cashouts-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cashouts-head h2 {
  font-size: 18px;
  margin: 0;
}
.cashouts-head > span {
  color: var(--muted);
  font-size: 13px;
}
.cashouts-list {
  height: 172px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cashouts-empty {
  display: grid;
  place-items: center;
  flex: 1;
  margin: 0;
  min-height: 120px;
  text-align: center;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}
.rewards {
  padding: 48px 0 62px;
}
.rewards-wrap {
  max-width: 720px;
}
.reward-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(109, 94, 252, 0.22),
    rgba(0, 210, 255, 0.14)
  );
}
.reward-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.reward-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.reward-card h2,
.invite-card h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
}
.reward-card p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.reward-card .btn {
  flex-shrink: 0;
}
.invite-card {
  text-align: center;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(109, 94, 252, 0.18),
    rgba(0, 210, 255, 0.1)
  );
}
.invite-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.invite-link {
  padding: 9px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(11, 16, 32, 0.5);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.invite-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.invite-actions .btn {
  min-height: 40px;
}
.status-line {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.status-line:empty {
  display: none;
}
.reward-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.reward-links button,
.footer-links button,
.email-fallback {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 8px 0;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reward-links button:hover,
.footer-links button:hover,
.email-fallback:hover {
  color: var(--ink);
}
.games {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.game {
  display: block;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.game:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.art {
  display: block;
  aspect-ratio: 1;
  background: var(--panel-2);
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game .label {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
}
.steps,
.why {
  display: grid;
  gap: 22px;
}
.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.why {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step,
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.step {
  text-align: center;
  padding: 30px 24px;
}
.feature {
  padding: 26px;
}
.step h3,
.feature h3 {
  font-size: 18px;
  margin: 10px 0 8px;
}
.step p,
.feature p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--cyan);
  font-weight: 800;
}
.ic {
  color: var(--cyan);
  font-size: 26px;
  font-weight: 700;
}
.chatcta {
  text-align: center;
  background: var(--panel);
}
.chatcta .box {
  padding: 32px 28px;
}
.chatcta p {
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--muted);
}
.hours {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
footer {
  padding: 34px 0 88px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
}
footer strong {
  color: var(--ink);
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.footer-links a {
  padding: 8px 0;
}
.small {
  font-size: 13px;
}
#chatFab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 40;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(109, 94, 252, 0.32);
}
dialog {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  width: calc(100% - 28px);
  max-width: 440px;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
}
dialog::backdrop {
  background: rgba(3, 6, 16, 0.76);
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 24px;
  margin: 0 38px 10px 0;
}
dialog p {
  color: var(--muted);
  font-size: 14px;
}
.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  width: 36px;
  height: 36px;
  background: var(--bg);
  border-radius: 50%;
  font:
    700 20px Arial,
    sans-serif;
}
form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.email-fallback {
  padding: 6px 12px;
  color: var(--cyan);
}
.info-modal > .btn {
  margin-top: 8px;
}
#netBanner {
  display: none;
  position: fixed;
  top: 76px;
  left: 14px;
  right: 14px;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: auto;
  z-index: 60;
  padding: 10px 16px;
  border: 1px solid #825228;
  border-radius: 8px;
  background: #302513;
  color: #ffdb95;
  font-size: 13px;
}
#netBanner.show {
  display: flex;
  align-items: center;
  gap: 8px;
}
.net-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffce4f;
  flex-shrink: 0;
}
#iosA2HS {
  position: fixed;
  bottom: 90px;
  left: 14px;
  right: 14px;
  z-index: 45;
  max-width: 380px;
  margin: auto;
}
.install-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px #0007;
}
.install-card p {
  color: var(--muted);
  font-size: 14px;
}
.install-card button {
  border: 1px solid var(--line);
  background: var(--panel-2);
  padding: 8px 16px;
  border-radius: 8px;
}
@media (max-width: 1100px) {
  .games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 54px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }
  .nav {
    height: 60px;
    gap: 10px;
  }
  .logo {
    font-size: 19px;
  }
  .nav-links a {
    display: none;
  }
  .nav-links {
    gap: 0;
    flex-shrink: 0;
  }
  .hero {
    padding: 56px 18px 48px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .strip .container {
    gap: 10px;
    padding: 16px 14px;
  }
  .pill {
    font-size: 13px;
    padding: 9px 14px;
  }
  .section {
    padding: 48px 0;
  }
  .section h2 {
    font-size: 26px;
  }
  .cashouts-section {
    padding: 18px 0;
  }
  .cashouts-head h2 {
    font-size: 18px;
  }
  .cashouts-head > span {
    font-size: 12px;
  }
  .reward-card h2,
  .invite-card h2 {
    font-size: 18px;
  }
  .rewards {
    padding-bottom: 62px;
  }
  .games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .game .label {
    font-size: 14px;
    padding: 10px 8px;
  }
  .steps,
  .why {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .chatcta .box {
    padding: 22px 0;
  }
  dialog {
    padding: 24px;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 30px;
  }
  .logo {
    font-size: 16px;
  }
  .nav .btn.sm {
    padding: 10px 12px;
  }
  .reward-card {
    gap: 8px;
    padding: 14px;
  }
  .reward-copy {
    gap: 8px;
  }
  .reward-icon {
    font-size: 24px;
  }
  .reward-card .btn {
    padding: 10px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
