/* ============================================================
   CEASEPAY — styles.css  (Modern · Trustworthy · Animated)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette */
  --blue:           #1565FF;
  --blue-light:     #38BFFF;
  --blue-dark:      #0A3ECC;
  --blue-glow:      rgba(21, 101, 255, 0.45);
  --indigo:         #6366f1;

  /* Backgrounds */
  --bg-base:        #050712;
  --bg-card:        #09111f;
  --bg-card2:       #0d1a30;
  --bg-glass:       rgba(11, 20, 42, 0.65);

  /* Borders */
  --border:         rgba(21, 101, 255, 0.30);
  --border-bright:  rgba(21, 101, 255, 0.60);
  --border-dim:     rgba(255, 255, 255, 0.07);

  /* Text */
  --text-primary:   #eef0f8;
  --text-secondary: #8892b4;
  --text-dim:       #4a5380;

  /* Misc */
  --radius:         16px;
  --radius-sm:      10px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-blue:    0 8px 48px rgba(21, 101, 255, 0.40);
  --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.50);
  --glow-sm:        0 0 24px rgba(21, 101, 255, 0.40);
  --glow-md:        0 0 48px rgba(21, 101, 255, 0.50);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code { font-family: 'Space Mono', 'Courier New', monospace; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* ---------- Utility ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s linear infinite;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(21, 101, 255, 0.10);
  border: 1px solid rgba(21, 101, 255, 0.28);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.06); }
  66%       { transform: translate(-22px, 24px) scale(0.96); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-28px, -22px) scale(1.08); }
  70%       { transform: translate(22px, 28px) scale(0.94); }
}

@keyframes float-orb-3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(15px, -15px); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes glow-breathe {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 24px rgba(21,101,255,0.12); }
  50%       { box-shadow: var(--shadow-card), 0 0 60px rgba(21,101,255,0.35); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px #22c55e; }
  50%       { opacity: 0.35; box-shadow: 0 0 4px #22c55e; }
}

@keyframes shimmer-sweep {
  0%   { left: -100%; }
  100% { left: 150%; }
}

@keyframes btn-shine {
  0%   { left: -100%; }
  100% { left: 150%; }
}

@keyframes grid-flow {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-anim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.25; transform: scaleY(0.6); }
}

@keyframes shine-rotate {
  0%, 100% { background-position: 200% 200%; }
  50%       { background-position: 0% 0%; }
}

@keyframes border-glow-pulse {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn--sm  { padding: 8px 18px; font-size: 13px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }
.btn:not(.btn--sm):not(.btn--lg) { padding: 10px 22px; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(21, 101, 255, 0.45);
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: skewX(-15deg);
  transition: none;
  pointer-events: none;
}
.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(21, 101, 255, 0.65);
  transform: translateY(-2px);
}
.btn--primary:hover::before { animation: btn-shine 0.55s ease forwards; }

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-dim);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--border);
  font-size: 14px;
  padding: 9px 18px;
}
.btn--ghost:hover {
  background: rgba(21, 101, 255, 0.10);
  border-color: var(--border-bright);
  box-shadow: var(--glow-sm);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border-dim);
  box-shadow: 0 1px 48px rgba(0, 0, 0, 0.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.8; }
.logo-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(21, 101, 255, 0.45);
}
.accent { color: var(--blue); }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav__cta { flex-shrink: 0; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background: rgba(5, 7, 18, 0.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-dim);
  padding: 20px 24px 28px;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__mobile a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,101,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  animation: grid-flow 14s linear infinite;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(21,101,255,0.14) 0%, rgba(99,102,241,0.06) 50%, transparent 70%);
  top: -150px; left: -250px;
  animation: float-orb-1 13s ease-in-out infinite;
}
.hero__orb--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,191,255,0.10) 0%, rgba(21,101,255,0.05) 50%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: float-orb-2 16s ease-in-out infinite;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  top: 40%; right: 20%;
  animation: float-orb-3 10s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 80px 24px 100px;
}

/* ---- Hero text column ---- */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---- Hero visual column ---- */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(9, 17, 31, 0.80);
  border: 1px solid var(--border-dim);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hero__badge:hover {
  border-color: var(--border);
  box-shadow: var(--glow-sm);
}

.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0 0 44px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__contract {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.contract__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contract__box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(9, 17, 31, 0.85);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  max-width: 100%;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contract__box:hover {
  border-color: var(--border);
  box-shadow: var(--glow-sm);
}
.contract__box code {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contract__warning { font-size: 12px; color: var(--text-dim); }

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--blue); transform: scale(1.1); }
.copy-btn.copied { color: #22c55e; }

.hero__scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
  transform-origin: top;
}

/* ============================================================
   3D COIN
   ============================================================ */

/* Keyframes */
@keyframes coin-rotate {
  to { transform: rotateY(360deg); }
}
@keyframes coin-scene-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes orbit-spin-rev {
  to { transform: rotate(-360deg); }
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.15); opacity: 1; }
}
@keyframes coin-shadow-sync {
  0%   { transform: translateX(-50%) scaleX(1);    opacity: 0.55; }
  25%  { transform: translateX(-50%) scaleX(0.08); opacity: 0.10; }
  50%  { transform: translateX(-50%) scaleX(1);    opacity: 0.55; }
  75%  { transform: translateX(-50%) scaleX(0.08); opacity: 0.10; }
  100% { transform: translateX(-50%) scaleX(1);    opacity: 0.55; }
}

/* Scene wrapper — floats up and down */
.coin-scene {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coin-scene-float 7s ease-in-out infinite;
}

/* Radial glow behind the coin */
.coin-halo {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,255,0.30) 0%, rgba(56,191,255,0.10) 50%, transparent 70%);
  filter: blur(22px);
  animation: halo-pulse 3.5s ease-in-out infinite;
}

/* Orbit rings */
.coin-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.coin-orbit--1 {
  width: 290px; height: 290px;
  border: 1px dashed rgba(21,101,255,0.25);
  animation: orbit-spin 18s linear infinite;
}
.coin-orbit--1::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-light);
  transform: translateX(-50%);
}
.coin-orbit--2 {
  width: 330px; height: 330px;
  border: 1px solid rgba(56,191,255,0.10);
  animation: orbit-spin-rev 24s linear infinite;
}
.coin-orbit--2::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 20%;
  width: 6px; height: 6px;
  background: rgba(21,101,255,0.8);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
}
.coin-orbit--3 {
  width: 355px; height: 355px;
  border: 1px dashed rgba(21,101,255,0.08);
  animation: orbit-spin 35s linear infinite;
}

/* 3D perspective wrapper */
.coin-wrap {
  perspective: 700px;
  position: relative;
  z-index: 2;
}

/* The rotating coin */
.coin-inner {
  width: 200px; height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: coin-rotate 9s linear infinite;
}

/* Coin faces */
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,0.18);
}

.coin-face--front {
  background:
    radial-gradient(ellipse at 32% 28%, rgba(255,255,255,0.40) 0%, transparent 48%),
    linear-gradient(145deg, #0d2f8a, #1565FF 38%, #38BFFF 68%, #1048cc);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.28),
    inset 0 -3px 6px rgba(0,0,0,0.35),
    0 0 50px rgba(21,101,255,0.60);
}

.coin-face--back {
  background:
    radial-gradient(ellipse at 68% 72%, rgba(255,255,255,0.30) 0%, transparent 48%),
    linear-gradient(325deg, #0d2f8a, #1565FF 38%, #38BFFF 68%, #0A3ECC);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.22),
    inset 0 -3px 6px rgba(0,0,0,0.35);
  transform: rotateY(180deg);
}

/* Moving highlight streak on each face */
.coin-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    transparent 25%,
    rgba(255,255,255,0.12) 50%,
    transparent 75%
  );
  background-size: 200% 200%;
  animation: shine-rotate 9s linear infinite;
  pointer-events: none;
}

/* Logo image on front face */
.coin-logo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  border: 2px solid rgba(255,255,255,0.20);
  filter: brightness(1.08) contrast(1.05);
}

.coin-ticker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.50);
  text-transform: uppercase;
}

/* Back face text */
.coin-back-label {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.50);
}

/* Floor shadow — synced to coin rotation */
.coin-shadow {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 160px;
  height: 24px;
  background: rgba(21,101,255,0.35);
  border-radius: 50%;
  filter: blur(14px);
  animation: coin-shadow-sync 9s linear infinite;
  z-index: 1;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: rgba(9, 17, 31, 0.92);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 28px 0;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(21,101,255,0.04) 50%, transparent 100%);
  pointer-events: none;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 48px;
}
.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat__label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.stat__divider { width: 1px; height: 44px; background: var(--border-dim); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.85;
}
.about__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Gradient border wrapper for token card */
.token-card-wrapper {
  position: relative;
  border-radius: 25px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(21,101,255,0.55), rgba(56,191,255,0.35), rgba(99,102,241,0.35), rgba(21,101,255,0.55));
  background-size: 300% 300%;
  animation: border-glow-pulse 5s ease-in-out infinite;
}

.token-card {
  position: relative;
  background: var(--bg-card2);
  border-radius: 23px;
  padding: 40px 36px;
  text-align: center;
  overflow: hidden;
  animation: card-float 7s ease-in-out infinite, glow-breathe 4.5s ease-in-out infinite;
  transition: transform var(--transition);
  will-change: transform;
}

.token-card__glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(21,101,255,0.20), rgba(56,191,255,0.05) 50%, transparent 70%);
  pointer-events: none;
  animation: float-orb-1 9s ease-in-out infinite;
}

.token-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 25%,
    rgba(255,255,255,0.045) 50%,
    transparent 75%
  );
  background-size: 200% 200%;
  animation: shine-rotate 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 23px;
}

.token-card__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-light), #a0d8ff, var(--blue));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: gradient-shift 4s linear infinite;
}
.token-card__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.token-card__chain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(21,101,255,0.08);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.chain-dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}
.token-card__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dim), transparent);
  margin-bottom: 24px;
}
.token-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tcs__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.tcs__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-card) 50%, var(--bg-base) 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(11, 20, 42, 0.72);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.45), 0 0 40px rgba(21,101,255,0.12);
}
.feature-card:hover::after { animation: shimmer-sweep 0.65s ease forwards; }

.feature-card__icon {
  width: 60px; height: 60px;
  background: rgba(21,101,255,0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 24px;
  transition: all var(--transition);
}
.feature-card:hover .feature-card__icon {
  background: rgba(21,101,255,0.14);
  box-shadow: 0 0 28px rgba(21,101,255,0.28);
  transform: scale(1.06);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.78; }

/* ============================================================
   TOKENOMICS
   ============================================================ */
.tokenomics__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.donut-wrapper { position: relative; width: 220px; margin: 0 auto 28px; }
.donut-svg {
  transform: rotate(-90deg);
  width: 220px; height: 220px;
  filter: drop-shadow(0 0 28px rgba(21,101,255,0.32));
}
.donut-seg { transition: all 0.6s ease; }
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut-center span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.donut-center small { font-size: 13px; color: var(--text-secondary); }

.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
  cursor: default;
}
.donut-legend li:hover { color: var(--text-primary); }
.donut-legend li span {
  display: block;
  width: 12px; height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tokenomics__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.tcard {
  background: var(--bg-glass);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.tcard::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(21,101,255,0.04);
  opacity: 0;
  transition: opacity var(--transition);
}
.tcard:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(21,101,255,0.14);
}
.tcard:hover::before { opacity: 1; }
.tcard__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.tcard__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.tcard__value span {
  font-size: 16px;
  color: var(--text-secondary);
}
.tcard__sub { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ============================================================
   HOW TO BUY
   ============================================================ */
.how-to-buy {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-card) 100%);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto 56px;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px; top: 60px; bottom: -20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.step:not(:last-child) { padding-bottom: 40px; }

.step__num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.step:hover .step__num {
  background: rgba(21,101,255,0.16);
  border-color: var(--border-bright);
  box-shadow: 0 0 22px rgba(21,101,255,0.32);
}
.step__content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 14px;
}
.step__content p { color: var(--text-secondary); font-size: 15px; line-height: 1.78; }

.inline-code {
  font-size: 12px;
  background: rgba(21,101,255,0.10);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--blue);
  word-break: break-all;
}

.how-to-buy__cta { text-align: center; }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}
.roadmap__phase { display: flex; gap: 28px; }
.phase__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.phase__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-dim);
  background: var(--bg-base);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  transition: all var(--transition);
}
.phase__dot.active {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 16px rgba(21,101,255,0.65);
}
.phase__dot.active::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(21,101,255,0.50);
  animation: pulse-ring 2.2s ease-out infinite;
}
.phase__line {
  width: 1px; flex: 1;
  background: linear-gradient(to bottom, var(--border), var(--border-dim));
  margin: 8px 0;
  min-height: 32px;
}
.phase__card {
  background: var(--bg-glass);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  flex: 1;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.phase__card.active {
  border-color: var(--border);
  background: rgba(21,101,255,0.06);
  box-shadow: 0 4px 36px rgba(21,101,255,0.10);
}
.phase__card:hover {
  border-color: var(--border);
  transform: translateX(4px);
}
.phase__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--blue);
  margin-bottom: 8px;
}
.phase__card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.phase__card ul { display: flex; flex-direction: column; gap: 10px; }
.phase__card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.phase__card.active li { color: var(--text-primary); }
.phase__card li:hover { color: var(--text-primary); }
.phase__card li svg { color: var(--blue); flex-shrink: 0; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-card) 100%);
}
.community__bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(21,101,255,0.08) 0%, rgba(99,102,241,0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: float-orb-2 11s ease-in-out infinite;
}
.community__inner { text-align: center; position: relative; z-index: 1; }
.community__inner p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.85;
}
.community__socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-width: 280px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(21,101,255,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.social-card:not(.social-card--soon):hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}
.social-card:not(.social-card--soon):hover::before { opacity: 1; }
.social-card--soon { opacity: 0.45; cursor: default; }

.social-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.social-card:not(.social-card--soon):hover .social-card__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.social-card__icon.telegram { background: #229ED9; color: white; }
.social-card__icon.twitter  { background: #000; color: white; border: 1px solid #333; }

.social-card__text { flex: 1; }
.social-card__text h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.social-card__text p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.social-card__arrow {
  color: var(--text-dim);
  transition: all var(--transition);
}
.social-card:not(.social-card--soon):hover .social-card__arrow {
  color: var(--blue);
  transform: translateX(5px);
}
.soon-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-card2);
  border: 1px solid var(--border-dim);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--bg-card) 0%, #030510 100%);
  border-top: 1px solid var(--border-dim);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p { font-size: 14px; color: var(--text-dim); margin-top: 14px; line-height: 1.7; }
.footer__brand .nav__logo { margin-bottom: 0; }
.footer__links h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue); }

.footer__contract {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(9,17,31,0.80);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
}
.footer__contract:hover { border-color: var(--border); }
.footer__contract span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
.footer__contract code { font-size: 13px; color: var(--text-secondary); word-break: break-all; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-dim);
  padding-top: 24px;
}
.disclaimer { font-size: 13px; color: var(--text-dim); }
.copyright   { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   SCROLL / REVEAL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.58s; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.10s; }
.reveal.delay-2 { transition-delay: 0.20s; }
.reveal.delay-3 { transition-delay: 0.30s; }
.reveal.delay-4 { transition-delay: 0.40s; }
.reveal.delay-5 { transition-delay: 0.50s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero: stack to single column, coin above text */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  .hero__text { align-items: center; }
  .hero__visual { order: -1; }
  .hero__actions { justify-content: center; }
  .hero__contract { align-items: center; }
  .hero__subtitle { margin: 0 auto 44px; }
  .coin-scene { width: 280px; height: 280px; }
  .coin-inner { width: 160px; height: 160px; }
  .coin-logo  { width: 88px; height: 88px; }
  .coin-orbit--1 { width: 220px; height: 220px; }
  .coin-orbit--2 { width: 254px; height: 254px; }
  .coin-orbit--3 { width: 275px; height: 275px; }
  .coin-halo  { width: 180px; height: 180px; }

  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { order: -1; }
  .token-card-wrapper { max-width: 380px; margin: 0 auto; }

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

  .tokenomics__layout { grid-template-columns: 1fr; gap: 48px; }
  .tokenomics__chart { text-align: center; }
  .donut-legend { align-items: center; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
  }
  .hero__visual {
    order: -1;
    justify-content: center;
    margin: 0 auto;
  }
  .hero__text {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .stats-bar__inner { gap: 0; }
  .stat { padding: 8px 24px; }
  .stat__divider { height: 32px; }
  .tokenomics__cards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .contract__box code { font-size: 11px; }
  .hero__title { font-size: 38px; }
  .social-card { min-width: 100%; }
  .community__socials { flex-direction: column; align-items: stretch; }

  /* Smaller coin on phones */
  .coin-scene { width: 240px; height: 240px; }
  .coin-inner { width: 140px; height: 140px; }
  .coin-logo  { width: 76px; height: 76px; }
  .coin-ticker { font-size: 9px; }
  .coin-orbit--1 { width: 188px; height: 188px; }
  .coin-orbit--2 { width: 216px; height: 216px; }
  .coin-orbit--3 { display: none; }
}

/* ---------- Utilities ---------- */
.hidden { display: none !important; }

/* ---------- Donut legend colours ---------- */
.legend-color--community { background: #1565FF; }
.legend-color--liquidity  { background: #38BFFF; }
.legend-color--marketing  { background: #0A3ECC; }
.legend-color--team       { background: #a0d8ff; }
