/* =========================================================
   Printrball — colors inspired by printr.money logo:
   black base + iridescent gradient (pink, purple, orange,
   yellow, cyan) running through accents & hero.
   ========================================================= */

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --surface: #14141c;
  --surface-2: #1b1b26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f7;
  --text-dim: #a8a8b3;
  --text-muted: #70707e;

  --pink: #ff2d87;
  --magenta: #e0249a;
  --purple: #8a2be2;
  --blue: #3a2dff;
  --cyan: #18d7ff;
  --orange: #ff6a00;
  --yellow: #ffd000;
  --green: #22d36a;

  /* Ball gradient (pink → magenta → purple → cyan) — matches the sphere */
  --grad: linear-gradient(
    135deg,
    #ff2d87 0%,
    #d42bb7 35%,
    #7a29e5 65%,
    #18d7ff 100%
  );
  /* Border/frame gradient (pink → orange → yellow → cyan → magenta) */
  --grad-frame: linear-gradient(
    135deg,
    #ff2d87 0%,
    #ff6a00 25%,
    #ffd000 50%,
    #18d7ff 75%,
    #d42bb7 100%
  );
  --grad-diag: var(--grad);

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; }
.small { font-size: 12px; }
.tiny { font-size: 11px; }

/* ================= TOP NAV ================= */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px rgba(255, 45, 135, 0.35));
}
.brand-word {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sicon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.sicon:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.wallet-chip {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-dim);
}
.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.topnav-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.topnav-links a { transition: color .15s; }
.topnav-links a:hover {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 24px 130px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%,
      rgba(255, 45, 135, 0.30) 0%,
      rgba(138, 43, 226, 0.22) 35%,
      rgba(24, 215, 255, 0.12) 65%,
      transparent 80%),
    linear-gradient(180deg, #0d0d15 0%, #0a0a0f 100%);
  z-index: -1;
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(255, 45, 135, 0.35))
          drop-shadow(0 0 60px rgba(24, 215, 255, 0.25));
  animation: floaty 6s ease-in-out infinite;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.powered-by b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.pb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 97%, rgba(255, 255, 255, 0.04) 97%) 0 0 / 100% 48px,
    linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.04) 97%) 0 0 / 48px 100%;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 20%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.hero-title {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 61, 155, 0.25));
}
.hero-sub {
  margin: 22px auto 36px;
  max-width: 620px;
  color: var(--text-dim);
  font-size: 18px;
}
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .2s;
}
.btn:active { transform: translateY(1px); }

.btn-light {
  background: #fff;
  color: #0a0a0f;
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
}
.btn-light:hover {
  box-shadow: 0 0 30px rgba(255, 61, 155, 0.45);
  filter: brightness(1.02);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ================= SECTION TITLE ================= */
.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.section-title.mt { margin-top: 70px; }
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 720px;
  margin: -24px auto 36px;
}
.title-accent {
  display: inline-block;
  margin-right: 6px;
  filter: drop-shadow(0 0 10px rgba(255, 61, 155, 0.5));
}

/* ================= HOW IT WORKS ================= */
.how-works { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.step-num {
  font-size: 64px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ================= HOURLY PANEL ================= */
.panel { padding: 80px 0; }

.hourly-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr;
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.card-head-title.strong { color: var(--text); font-size: 15px; }
.card-icon { font-size: 16px; }

.card-countdown .card-date {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.countdown {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 6px 0 18px;
}
.cd-cell {
  min-width: 62px;
  padding: 12px 0;
  text-align: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a1a24, #13131a);
  border: 1px solid var(--line);
  font-size: 26px;
  font-weight: 800;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  color: var(--text);
}
.cd-sep { font-size: 22px; font-weight: 700; color: var(--text-muted); }
.card-foot-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Jackpot */
.card-jackpot {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 61, 155, 0.25), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(255, 122, 0, 0.25), transparent 60%),
    linear-gradient(135deg, #2a0e1f 0%, #231022 50%, #2a1410 100%);
  border-color: rgba(255, 61, 155, 0.25);
}
.jackpot-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  text-align: center;
  margin-bottom: 6px;
}
.jackpot-usd {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.jackpot-cash {
  text-align: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.cash-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cash-val { font-size: 22px; font-weight: 700; }

/* Winners */
.card-winners .winners-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card-winners li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.w-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.prize-chip {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0a0f;
  font-weight: 800;
  font-size: 12px;
  display: inline-grid;
  place-items: center;
}
.w-sub { color: var(--text-muted); font-size: 11px; margin: 4px 0 6px; }
.w-tags { display: flex; gap: 4px; }
.w-tags span {
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(34, 211, 106, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 211, 106, 0.25);
}

.winners-empty {
  text-align: center;
  padding: 22px 10px 6px;
}
.winners-empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(255, 45, 135, 0.35));
}
.winners-empty-title {
  font-size: 18px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.winners-empty-sub {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* Burn grid */
.burn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card-burn { text-align: center; padding: 30px 24px; }
.burn-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 10px;
}
.burn-num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.burn-num.gradient-num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.burn-unit {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 600;
}
.burn-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= HOW TO PLAY ================= */
.howtoplay {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.play-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.play-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .2s;
}
.play-item:hover { border-color: var(--line-strong); }
.play-check {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,211,106,0.2), rgba(0,224,255,0.15));
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid rgba(34,211,106,0.35);
}
.play-item h3 { font-size: 16px; margin-bottom: 4px; }
.play-item p { color: var(--text-dim); font-size: 14px; }

/* ================= VERIFY ================= */
.verify { padding: 80px 0; }
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.card-verify .v-head {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.card-verify .v-row {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  line-height: 1.6;
}
.card-verify .v-row b { color: var(--text); font-weight: 600; }

.v-snap {
  background:
    linear-gradient(180deg, rgba(0, 224, 255, 0.06), transparent 60%),
    var(--surface);
  border-color: rgba(0, 224, 255, 0.2);
}
.v-tix {
  background:
    linear-gradient(180deg, rgba(34, 211, 106, 0.06), transparent 60%),
    var(--surface);
  border-color: rgba(34, 211, 106, 0.2);
}

.card-fullwidth { margin-bottom: 20px; }
.accent-yellow { color: var(--yellow); }
.accent-cyan { color: var(--cyan); }
.accent-pink { color: var(--pink); }

.verify-steps { padding-left: 22px; color: var(--text-dim); font-size: 14px; }
.verify-steps li { margin-bottom: 10px; line-height: 1.55; }
.verify-steps.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  padding-left: 0;
  list-style: none;
  counter-reset: vs;
}
.verify-steps.cols li {
  counter-increment: vs;
  padding-left: 36px;
  position: relative;
}
.verify-steps.cols li::before {
  content: counter(vs);
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(34, 211, 106, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 211, 106, 0.35);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.v-intro { color: var(--text-dim); margin-bottom: 16px; font-size: 14px; }
.v-fair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.v-fair-grid b { color: var(--text); display: block; margin-bottom: 4px; font-size: 14px; }
.v-fair-grid p { color: var(--text-dim); font-size: 13px; line-height: 1.55; }

/* ================= FOOTER ================= */
.foot {
  background: #07070c;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.foot-col h3 {
  font-size: 18px;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot-col h4 {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.foot-col p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 8px;
  transition: color .15s;
}
.foot-col a:hover { color: var(--text); }
.foot-social { display: flex; gap: 8px; }

.foot-divider {
  height: 1px;
  background: var(--line);
}

.foot-legal {
  padding: 28px 24px 48px;
  text-align: center;
}
.copyright {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 18px;
}
.legal-title {
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.foot-legal p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
  max-width: 860px;
  margin: 0 auto 12px;
}
.foot-legal p b { color: var(--text-dim); }
.final-note { color: var(--text-muted); }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .topnav-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .brand-word { font-size: 14px; }
  .brand-logo { width: 30px; height: 30px; }
  .wallet-chip { display: none; }
  .hero-logo { width: 110px; height: 110px; }
  .hourly-grid { grid-template-columns: 1fr; }
  .burn-grid, .verify-grid, .v-fair-grid, .verify-steps.cols, .steps-3 {
    grid-template-columns: 1fr;
  }
  .foot-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 70px 20px 90px; }
  .jackpot-usd { font-size: 36px; }
  .burn-num { font-size: 36px; }
}

@media (max-width: 560px) {
  .topnav-links { gap: 12px; font-size: 11px; }
  .cd-cell { min-width: 52px; font-size: 22px; }
  .hero-sub { font-size: 16px; }
  .section-title { font-size: 22px; }
}
