/* =====================================================
   CTC Promo — promo.css
   Fintech/Crypto Dark Theme — Syne + DM Sans
   ===================================================== */
:root {
  --bg: #030712;
  --bg2: #0d1424;
  --bg3: #111827;
  --cyan: #00d2ff;
  --gold: #f5c842;
  --green: #00e676;
  --orange: #f97316;
  --muted: #94a3b8;
  --text: #f0f6ff;
  --dim: #475569;
  --border: rgba(0, 210, 255, 0.15);
  --b2: rgba(255, 255, 255, 0.07);
  --fh: "Syne", sans-serif;
  --fb: "DM Sans", sans-serif;
  --r: 14px;
  --rl: 22px;
  --tr: 0.28s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--fh);
  line-height: 1.2;
}
a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--tr);
}
img {
  max-width: 100%;
}

/* noise */
/* Add this to ensure no horizontal scroll */
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Fix the pseudo-element */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* Ensure all containers respect viewport */
.container,
.container-fluid {
  overflow-x: hidden;
}

/* Fix for any potential wide elements */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ── NAVBAR ── */
#nav {
  background: rgba(3, 7, 18, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b2);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--tr);
}
#nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img {
  height: 36px;
}
.nav-brand span {
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.nlk {
  color: var(--muted) !important;
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px !important;
  border-radius: 8px;
  transition: var(--tr);
}
.nlk:hover {
  color: var(--cyan) !important;
  background: rgba(0, 210, 255, 0.08);
}
.navbar-toggler {
  border: 1px solid var(--b2);
  border-radius: 8px;
  padding: 5px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,210,255,0.85)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── BUTTONS ── */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #000 !important;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.22);
  text-decoration: none;
}
.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0, 210, 255, 0.4);
  color: #000 !important;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text) !important;
  font-family: var(--fh);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--b2);
  transition: var(--tr);
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
}

/* ── HERO ── */
#hero {
  padding: 110px 0 80px;
  background: linear-gradient(135deg, #010810 0%, #050d1f 60%, #0a0420 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
/* Ensure hero grid doesn't cause overflow */
/* .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
} */

.g1 {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(0, 210, 255, 0.12) 0%,
    transparent 70%
  );
  top: -120px;
  right: -80px;
  border-radius: 50%;
  animation: gp 9s ease-in-out infinite;
}
.g2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(245, 200, 66, 0.09) 0%,
    transparent 70%
  );
  bottom: -80px;
  left: -60px;
  border-radius: 50%;
  animation: gp 11s ease-in-out infinite reverse;
}
@keyframes gp {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}
.pos-rel {
  position: relative;
  z-index: 2;
}
.anno-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.grad {
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 26px;
}
.pbadges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.pb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--b2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 13px;
}
.hero-img {
  max-width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 210, 255, 0.2));
  animation: fl 6s ease-in-out infinite;
}
@keyframes fl {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ── SECTIONS ── */
.section-dark {
  background: var(--bg2);
  padding: 80px 0;
}
.section-light {
  background: var(--bg);
  padding: 80px 0;
}
#why,
#cta-final {
  background: linear-gradient(135deg, #030f1e, #0a0420);
  padding: 80px 0;
}
.sec-lbl {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.sec-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sec-sub {
  color: var(--muted);
  font-size: 1rem;
}

/* ── STEP CARDS ── */
.step-card {
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: var(--r);
  padding: 26px 20px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}
.step-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.08);
}
.snum {
  position: absolute;
  top: -6px;
  right: 14px;
  font-family: var(--fh);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0, 210, 255, 0.08);
  line-height: 1;
}
.step-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--b2);
}
.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}
.ref-code {
  display: inline-block;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 12px;
  font-family: monospace;
  font-size: 13px;
  color: var(--cyan);
  margin-top: 8px;
}

/* ── PRIZE CARDS ── */
.prize-card {
  background: var(--bg2);
  border: 1px solid var(--b2);
  border-radius: var(--r);
  padding: 22px 18px;
  transition: var(--tr);
}
.prize-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.07);
}
.prize-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--b2);
}
.prize-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.prize-card p {
  color: var(--muted);
  font-size: 13.5px;
}
.prize-card small {
  color: var(--muted);
  font-weight: 400;
}
.prize-grand {
  border-color: rgba(245, 200, 66, 0.35);
}
.prize-grand:hover {
  border-color: var(--gold);
}
.grand-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 30px;
  padding: 4px 14px;
  margin-top: 10px;
}

/* ── SPIN WHEEL ── */
#spin {
  background: linear-gradient(135deg, #030f1e, #080420);
  padding: 80px 0;
}
.wheel-box {
  background: rgba(13, 20, 36, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 36px 24px;
  display: inline-block;
  min-width: 280px;
}
.wheel-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 18px;
}
#wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 8s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.18));
}
.wheel-ptr {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 24px solid var(--orange);
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(249, 115, 22, 0.5));
}
#spinBtn {
  display: block;
  width: 190px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--orange), #dc5a0d);
  color: #fff;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.28);
}
#spinBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(249, 115, 22, 0.48);
}
#spinBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#spin-result {
  font-family: var(--fh);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  min-height: 26px;
}
.rwchips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.rchip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--b2);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 12px;
}
.rchip-usdt {
  border-color: rgba(0, 230, 118, 0.3);
  color: var(--green);
}
.rchip-btt {
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--cyan);
}
.rchip-bot {
  border-color: rgba(245, 200, 66, 0.3);
  color: var(--gold);
}
.rchip-rp {
  border-color: rgba(124, 58, 237, 0.3);
  color: #a78bfa;
}

/* ── RAFFLE DATES ── */
.date-card {
  background: var(--bg2);
  border: 1px solid var(--b2);
  border-radius: var(--r);
  padding: 26px 20px;
  text-align: center;
  transition: var(--tr);
}
.date-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.date-gold {
  border-color: rgba(245, 200, 66, 0.3);
}
.date-gold:hover {
  border-color: var(--gold);
}
.d-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
  margin: 0 auto 14px;
}
.d-icon-gold {
  background: rgba(245, 200, 66, 0.1);
  border-color: rgba(245, 200, 66, 0.3);
  color: var(--gold);
}
.date-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.d-val {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 8px;
}
.date-card p {
  font-size: 13.5px;
  color: var(--muted);
}
.cd-heading {
  font-family: var(--fh);
  font-weight: 700;
  margin-bottom: 22px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cd-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 22px;
  text-align: center;
  min-width: 82px;
}
.cd-val {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.cd-lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── WHY CTC ── */
.bitem {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.b-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--cyan);
  flex-shrink: 0;
}
.bitem h5 {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.bitem p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.glass-box {
  background: rgba(13, 20, 36, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 36px;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--b2);
  border-radius: 10px;
  padding: 14px;
}
.sv {
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
}
.sl {
  font-size: 12px;
  color: var(--muted);
}

/* ── FOOTER ── */
#footer {
  background: #02050e;
  border-top: 1px solid var(--b2);
  padding: 48px 0 24px;
}
.f-heading {
  font-family: var(--fh);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text);
  margin-bottom: 14px;
}
.f-links a {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 9px;
  transition: var(--tr);
}
.f-links a:hover {
  color: var(--cyan);
  padding-left: 3px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--b2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-right: 6px;
  font-size: 14px;
  transition: var(--tr);
}
.footer-social a:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}
.store-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--b2);
  border-radius: 10px;
  padding: 9px 16px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--tr);
}
.store-link:hover {
  border-color: var(--cyan);
  color: var(--text);
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--b2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ── FLOAT BUTTONS ── */
#wa {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 48px;
  height: 48px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 997;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s;
}
#wa:hover {
  transform: scale(1.1);
}
#scrollTop {
  position: fixed;
  bottom: 110px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--tr);
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  #hero {
    padding: 90px 0 60px;
  }
  .wheel-wrap {
    width: 240px;
    height: 240px;
  }
  .wheel-box {
    min-width: unset;
  }
}
@media (max-width: 575px) {
  .countdown {
    gap: 8px;
  }
  .cd-item {
    min-width: 68px;
    padding: 14px 10px;
  }
}
