:root {
  --bg: #0a0706;
  --panel: #17110f;
  --panel-2: #221817;
  --ink: #fff4dc;
  --muted: #c9bca4;
  --brand: #8b1e2d;
  --brand-2: #f6c65b;
  --gold: #f6c65b;
  --cream: #fff4dc;
  --line: rgba(246, 198, 91, 0.2);
  --danger: #cf3144;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(139, 30, 45, 0.34), transparent 64%),
    radial-gradient(720px 320px at 85% 4%, rgba(246, 198, 91, 0.14), transparent 62%),
    linear-gradient(180deg, #0a0706 0%, #0e0908 42%, #080605 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.accent {
  background: linear-gradient(90deg, #fff4dc, var(--gold), #d73e4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#netBanner {
  position: fixed;
  top: 76px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 91, 117, 0.36);
  border-radius: 999px;
  padding: 10px 16px;
  background: #32100f;
  color: #ffc7d0;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

#netBanner.show {
  display: flex;
}

.net-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.78);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 6, 0.88);
  backdrop-filter: blur(10px);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.menu-btn,
.mobile-menu {
  display: none;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  background: linear-gradient(90deg, #8b1e2d, #c73b45 40%, #f6c65b);
  color: #1a0d06;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(246, 198, 91, 0.2);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(246, 198, 91, 0.32);
}

.btn.sm {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 244, 220, 0.08);
  color: var(--cream);
  box-shadow: none;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--brand-2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(246, 198, 91, 0.16), transparent),
    radial-gradient(620px 340px at 80% 10%, rgba(139, 30, 45, 0.3), transparent);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--panel-2);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.hero p {
  max-width: 570px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 19px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 17, 15, 0.92);
}

.strip .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(255, 244, 220, 0.08), rgba(246, 198, 91, 0.05));
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.dot {
  color: var(--gold);
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 34px;
  letter-spacing: -0.5px;
}

.sub {
  max-width: 540px;
  margin: 0 auto 38px;
  color: var(--muted);
  text-align: center;
}

.cashouts-section {
  padding: 28px 0 0;
}

.cashouts-section .container {
  max-width: 680px;
}

.cashouts-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

.cashouts-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-align: left;
  font-size: 27px;
  letter-spacing: -0.4px;
}

.cashouts-head h2::before,
.cashout-row::before {
  content: "💸";
}

.cashouts-head > span {
  color: var(--muted);
  font-size: 17px;
}

.live-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #39e880;
  box-shadow: 0 0 18px rgba(57, 232, 128, 0.9);
}

.cashouts-list {
  max-height: 190px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

.cashout-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--panel);
}

.cashout-row strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  grid-column: 1;
  grid-row: 1;
}

.cashout-row strong span {
  color: #3cff91;
}

.cashout-row time {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  grid-column: 2;
  grid-row: 1;
}

.rewards-wrap {
  max-width: 680px;
  display: grid;
  gap: 14px;
}

.reward-card,
.invite-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 30, 45, 0.24), rgba(246, 198, 91, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.reward-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.featured-reward {
  background:
    radial-gradient(320px 160px at 0% 0%, rgba(246, 198, 91, 0.28), transparent 70%),
    linear-gradient(135deg, rgba(139, 30, 45, 0.32), rgba(246, 198, 91, 0.12));
}

.reward-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--gold);
  font-weight: 900;
}

.reward-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.reward-progress {
  width: 90px;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.72);
}

.reward-progress span {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.reward-balance {
  display: grid;
  justify-items: center;
  line-height: 1;
}

.reward-balance strong {
  color: var(--gold);
  font-size: 36px;
  font-weight: 950;
}

.reward-balance span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claim-btn,
.gold-action,
.vip-action {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--gold), #ffb225);
  color: #301d00;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 178, 37, 0.38);
}

.claim-btn {
  min-width: 122px;
  padding: 0 26px;
}

.gold-action,
.vip-action {
  width: min(420px, 100%);
  justify-self: center;
  padding: 0 22px;
}

.gold-action {
  margin-top: 8px;
  border-radius: 999px;
}

.gold-action::before {
  content: "🎰 ";
}

.vip-action::before {
  content: "⭐ ";
}

.reward-card h2,
.invite-card h2 {
  margin: 0;
  text-align: left;
  font-size: 17px;
}

.reward-card p,
.invite-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.invite-card {
  padding: 18px;
  text-align: center;
}

.invite-card h2,
.invite-card p {
  text-align: center;
}

.invite-link {
  margin: 14px 0 12px;
  overflow: hidden;
  border-radius: 8px;
  padding: 10px;
  background: #100b0a;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.game {
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 244, 220, 0.06), rgba(255, 244, 220, 0.025)), var(--panel);
  transition: transform 0.15s, border-color 0.15s;
}

.game:hover,
.game:focus-visible {
  transform: translateY(-5px);
  border-color: var(--brand-2);
}

.art {
  aspect-ratio: 16 / 10;
  display: block;
  background: linear-gradient(135deg, var(--panel-2), #100b0a);
}

.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  text-align: center;
  font-weight: 800;
}

.empty-state {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.steps-section {
  background: rgba(23, 17, 15, 0.72);
}

.steps,
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.step,
.feature {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.steps-section .step {
  background: #17110f;
}

.step {
  padding: 30px 24px;
  text-align: center;
}

.num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #1a0d06;
  font-size: 20px;
  font-weight: 900;
}

.step h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.step p,
.feature p {
  color: var(--muted);
  font-size: 15px;
}

.feature {
  padding: 26px;
}

.ic {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.chatcta {
  text-align: center;
}

.chatcta .box {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 54px 28px;
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(246, 198, 91, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(139, 30, 45, 0.32), rgba(246, 198, 91, 0.12));
}

.chatcta h2 {
  margin-bottom: 12px;
}

.chatcta p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.hours {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.small {
  font-size: 12px;
  opacity: 0.84;
}

#chatFab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #1a0d06;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(246, 198, 91, 0.38);
}

dialog {
  border: 0;
}

.promo-modal,
.chat-modal,
.info-modal {
  width: min(420px, calc(100vw - 28px));
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.promo-modal::backdrop,
.chat-modal::backdrop,
.info-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.promo-modal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.promo-body,
.chat-modal,
.info-modal {
  padding: 26px;
}

.promo-body {
  text-align: center;
}

.promo-body h2,
.chat-modal h2,
.info-modal h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.promo-body p,
.chat-modal p,
.info-modal p {
  margin-bottom: 18px;
  color: var(--muted);
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #100b0a;
  color: var(--ink);
}

input:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(246, 198, 91, 0.5);
  outline-offset: 3px;
}

.status-line {
  min-height: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

#iosA2HS {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 80;
}

.install-card {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #171a2b;
  color: #fff;
  box-shadow: var(--shadow);
}

.install-card p {
  color: var(--muted);
  font-size: 14px;
}

.install-card button {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 900;
}

@media (max-width: 760px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav {
    height: 62px;
  }

  .logo {
    font-size: 17px;
  }

  .nav-links {
    display: none;
  }

  .nav-links [data-open-chat] {
    visibility: hidden;
  }

  .menu-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    background: var(--panel-2);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-menu {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding: 10px 14px 14px;
    background: rgba(11, 16, 32, 0.96);
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    border-radius: 12px;
    background: var(--panel-2);
    color: var(--ink);
    font-weight: 800;
  }

  .hero {
    padding: 56px 0 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .strip .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .pill {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .section {
    padding: 54px 0;
  }

  .cashouts-section {
    padding-top: 24px;
  }

  .cashouts-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cashouts-head h2 {
    font-size: 24px;
  }

  .cashouts-head > span {
    padding-left: 27px;
    font-size: 15px;
  }

  .cashout-row {
    padding: 14px 16px;
  }

  .cashout-row strong {
    align-items: flex-start;
    font-size: 15px;
  }

  .reward-card {
    grid-template-columns: 1fr auto;
  }

  .reward-card .claim-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .reward-balance strong {
    font-size: 31px;
  }

  .invite-actions {
    flex-direction: column;
  }

  .invite-actions .btn {
    width: 100%;
  }

  .games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .game {
    border-radius: 14px;
  }

  .label {
    min-height: 42px;
    padding: 9px 8px;
    font-size: 13px;
  }

  .why {
    grid-template-columns: 1fr;
  }

  .chatcta .box {
    padding: 38px 20px;
  }

  .chatcta .box .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo {
    font-size: 16px;
  }

  .strip .container,
  .games {
    gap: 9px;
  }

  .pill {
    font-size: 12px;
  }
}
