/* ===== KRON DESIGN SYSTEM ===== */
:root {
  --accent: #ff4d00;
  --accent2: #00c8ff;
  --gold: #ffd600;
  --green: #00e676;
  --purple: #9b5cf8;
  --bg: #04060f;
  --bg2: #080c1a;
  --bg3: #0d1226;
  --card: #0e1525;
  --card2: #141c30;
  --border: rgba(0,200,255,0.12);
  --border2: rgba(255,77,0,0.2);
  --text: #e8eef8;
  --text2: #7a8aaa;
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --radius: 12px;
  --glow-accent: 0 0 30px rgba(255,77,0,0.3);
  --glow-blue: 0 0 30px rgba(0,200,255,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none; z-index: 0;
}

.bg-particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--accent2);
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10px) translateX(var(--dx, 20px)); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(4,6,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(4,6,15,0.97);
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}

.logo {
  text-decoration: none;
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 0;
}

.logo-k {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255,77,0,0.6);
  letter-spacing: -2px;
}

.logo-ron {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 4px;
}

.logo-badge {
  background: var(--accent2);
  color: var(--bg);
  font-size: 8px;
  font-family: var(--font-title);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  align-self: flex-start;
  margin-top: 4px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin-left: auto;
}

.nav-link {
  color: var(--text2);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent2);
  background: rgba(0,200,255,0.08);
}

.nav-admin {
  color: var(--accent);
  border: 1px solid var(--border2);
}
.nav-admin:hover { background: rgba(255,77,0,0.1); color: var(--accent); }

.connect-btn {
  background: linear-gradient(135deg, var(--accent), #ff7a00);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,77,0,0.3);
  flex-shrink: 0;
}

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,77,0,0.5);
}

.btn-icon { font-size: 16px; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

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

.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,200,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; top: 20%; left: 0;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,77,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero {
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,118,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0,230,118,0); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  color: var(--text);
}

.title-line.accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255,77,0,0.5);
  -webkit-text-stroke: 1px rgba(255,77,0,0.3);
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-item { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent2);
}

.stat-label {
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

.hero-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff7a00);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(255,77,0,0.3);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255,77,0,0.5);
}

.btn-primary.large { padding: 18px 40px; font-size: 15px; }

.btn-ghost {
  color: var(--text2);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 0;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.btn-ghost:hover { color: var(--accent2); }

/* ===== NFT 3D CARD ===== */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 1;
}

.nft-card-3d {
  position: relative; width: 280px; height: 380px;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(5deg); }
  50% { transform: translateY(-20px) rotateY(10deg) rotateX(-5deg); }
}

.nft-face {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0e1a30, #0a1020);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,200,255,0.1);
}

.nft-face::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.6), transparent);
}

.nft-glow {
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,77,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.nft-id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 2px;
  margin-bottom: 80px;
}

.nft-value {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.nft-value span {
  font-size: 18px;
  color: var(--text2);
  font-weight: 400;
}

.nft-chain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple);
  letter-spacing: 3px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.nft-bars {
  display: flex; gap: 6px; align-items: flex-end; height: 60px;
  margin-top: auto;
}

.bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), rgba(255,77,0,0.2));
  border-radius: 3px 3px 0 0;
  animation: barAnim 3s ease-in-out infinite;
}

.b1 { height: 30%; animation-delay: 0s; }
.b2 { height: 70%; animation-delay: 0.2s; }
.b3 { height: 50%; animation-delay: 0.4s; }
.b4 { height: 90%; animation-delay: 0.6s; }
.b5 { height: 40%; animation-delay: 0.8s; }

@keyframes barAnim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.7); }
}

.nft-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.r1 {
  inset: 0;
  border-color: rgba(0,200,255,0.1);
  animation: orbitSpin 20s linear infinite;
}

.r2 {
  inset: 30px;
  border-color: rgba(255,77,0,0.08);
  animation: orbitSpin 30s linear infinite reverse;
}

.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px var(--accent2);
  animation: orbitSpin 20s linear infinite;
  transform-origin: 50% 170px;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg) translateX(-50%); }
  to { transform: rotate(360deg) translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; z-index: 1; }

.dark-section { background: var(--bg2); }

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(255,77,0,0.3);
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
}

/* ===== STEPS GRID ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.step-card::before {
  content: attr(data-step);
  position: absolute; top: -14px; left: 20px;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  padding: 2px 8px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  letter-spacing: 2px;
}

.step-card:hover {
  border-color: rgba(0,200,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

.step-icon { font-size: 40px; margin-bottom: 16px; }

.step-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.step-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.step-card p strong { color: var(--accent2); }

.step-arrow {
  font-size: 24px;
  color: var(--border);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ===== NFT CYCLE ===== */
.cycle-visual {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: start;
}

.cycle-track {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow-x: auto;
}

.cycle-node {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  min-width: 100px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.cycle-node.active {
  border-color: rgba(0,200,255,0.4);
  box-shadow: var(--glow-blue);
}

.cycle-node.highlight {
  border-color: rgba(255,77,0,0.5);
  background: rgba(255,77,0,0.05);
  box-shadow: var(--glow-accent);
}

.node-price {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.node-label {
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cycle-arrow {
  font-size: 20px;
  color: var(--accent);
  padding: 0 12px;
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

.reset-arrow { color: var(--green); font-size: 24px; }

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.nft-profit-card {
  background: var(--card);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 240px;
}

.nft-profit-card h3 {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text2);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.profit-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.profit-row.total {
  border-bottom: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
}

.green { color: var(--green); font-weight: 600; }
.accent-text { color: var(--accent2); font-weight: 700; font-family: var(--font-title); }

.profit-divider { height: 1px; background: var(--border); margin: 8px 0; }

.profit-note {
  font-size: 12px; color: var(--accent); text-align: center;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed rgba(255,77,0,0.2);
}

/* ===== INCOME TABLE ===== */
.income-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}

.income-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.income-table {
  width: 100%;
  border-collapse: collapse;
}

.income-table th {
  background: var(--bg3);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.income-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.level-row:hover td { background: rgba(0,200,255,0.03); }
.active-row td { color: var(--text); }

.level-badge {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.usdt-badge {
  background: rgba(255,77,0,0.1);
  border: 1px solid rgba(255,77,0,0.2);
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-dot.active { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.cond { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.income-rules { display: flex; flex-direction: column; gap: 16px; }

.rule-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all 0.3s;
}

.rule-card.warn { border-left: 3px solid var(--gold); }
.rule-card.danger { border-left: 3px solid var(--accent); }
.rule-card.info { border-left: 3px solid var(--accent2); }
.rule-card.success { border-left: 3px solid var(--green); }

.rule-icon { font-size: 24px; flex-shrink: 0; }

.rule-card h4 {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.rule-card p { font-size: 13px; color: var(--text2); line-height: 1.5; }
.rule-card strong { color: var(--text); }

/* ===== TOKENOMICS ===== */
.tokenomics-layout {
  display: grid; grid-template-columns: auto 1fr;
  gap: 60px; align-items: start;
  margin-bottom: 48px;
}

.token-chart-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

#tokenChart { border-radius: 50%; }

.chart-legend {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 280px;
}

.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text2);
}

.legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

.token-tables {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.token-table-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.token-table-block h3 {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text2);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.token-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--text2);
}

.token-row:last-child { border-bottom: none; }

.token-color {
  width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0;
}

.token-pct {
  margin-left: auto;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.wallets-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.wallet-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
}

.wallet-card:hover {
  border-color: rgba(0,200,255,0.3);
  transform: translateY(-2px);
}

.wallet-card.highlight-wallet {
  border-color: rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.03);
}

.wallet-label {
  font-size: 11px; color: var(--text2);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}

.wallet-addr {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--accent2);
  background: var(--bg3);
  padding: 6px 8px; border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.wallet-chain {
  font-size: 10px; color: var(--purple);
  letter-spacing: 2px;
}

/* ===== RANKS ===== */
.ranks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rank-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.rank-card:hover { transform: translateY(-6px); }

.rank-glow {
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.3;
}

.bronze .rank-glow { background: #cd7f32; }
.silver .rank-glow { background: #c0c0c0; }
.gold .rank-glow { background: var(--gold); }
.platinum .rank-glow { background: var(--accent2); }

.bronze { border-color: rgba(205,127,50,0.3); }
.silver { border-color: rgba(192,192,192,0.3); }
.gold { border-color: rgba(255,214,0,0.3); }
.platinum { border-color: rgba(0,200,255,0.3); box-shadow: var(--glow-blue); }

.rank-medal { font-size: 48px; margin-bottom: 12px; }

.rank-card h3 {
  font-family: var(--font-title);
  font-size: 22px; font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.rank-earn {
  font-family: var(--font-title);
  font-size: 32px; font-weight: 900;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}

.rank-earn span { font-size: 14px; color: var(--text2); font-weight: 400; }

.rank-reqs {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}

.rank-reqs li {
  font-size: 13px; color: var(--text2);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.rank-team {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px;
  background: var(--bg3);
  border-radius: 6px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  position: relative; z-index: 1;
}

.cta-box {
  background: var(--card);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-blue);
}

.cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-title);
  font-size: 48px; font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 18px; color: var(--text2);
  margin-bottom: 40px;
  position: relative;
}

.cta-requirements {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
}

.req-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  position: relative; z-index: 1;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex; align-items: center;
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px; color: var(--text2);
  line-height: 1.7; margin-bottom: 20px;
  max-width: 300px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
  font-weight: 600;
}

.social-link:hover {
  color: var(--accent2);
  border-color: rgba(0,200,255,0.3);
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 12px; letter-spacing: 2px;
  color: var(--text); text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.footer-col a:hover { color: var(--accent2); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text2);
}

.chain-badge {
  background: rgba(155,92,248,0.1);
  border: 1px solid rgba(155,92,248,0.3);
  color: var(--purple);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
}

.modal-overlay.open {
  opacity: 1; pointer-events: all;
}

.modal {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 90%; max-width: 460px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), var(--glow-blue);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  color: var(--text2); font-size: 28px; cursor: pointer;
  line-height: 1; transition: color 0.2s;
}

.modal-close:hover { color: var(--accent); }

.modal-header {
  margin-bottom: 32px;
}

.modal-header h2 {
  font-family: var(--font-title);
  font-size: 24px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}

.modal-header p { font-size: 14px; color: var(--text2); }

.modal-step {
  display: none;
}

.modal-step.active { display: block; }

.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 14px; font-weight: 700;
  color: white; margin-bottom: 12px;
}

.modal-step h3 {
  font-family: var(--font-title);
  font-size: 18px; color: var(--text);
  margin-bottom: 8px;
}

.modal-step p { font-size: 14px; color: var(--text2); margin-bottom: 20px; }
.modal-step p strong { color: var(--accent2); }

.modal-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.modal-input:focus { border-color: rgba(0,200,255,0.4); }
.modal-input::placeholder { color: var(--text2); }

.wallet-status {
  margin-top: 12px;
  font-size: 13px; color: var(--text2);
  min-height: 20px;
}

.wallet-status.connected { color: var(--green); }
.wallet-status.error { color: var(--accent); }

.confirm-details {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.confirm-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px; color: var(--text2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.confirm-row:last-child { border-bottom: none; }
.confirm-row.total { color: var(--text); font-weight: 700; font-size: 16px; padding-top: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .wallets-grid { grid-template-columns: repeat(3, 1fr); }
  .tokenomics-layout { grid-template-columns: 1fr; }
  .token-chart-wrap { flex-direction: row; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-arrow { display: none; }
  .income-layout { grid-template-columns: 1fr; }
  .cycle-visual { grid-template-columns: 1fr; }
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .token-tables { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none; position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(4,6,15,0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0;
    padding: 16px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .connect-btn span:last-child { display: none; }
  
  .hero-stats { flex-direction: column; gap: 12px; align-items: flex-start; }
  .stat-divider { width: 100%; height: 1px; }
  
  .ranks-grid { grid-template-columns: 1fr; }
  .wallets-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 20px; }
  .cta-requirements { flex-direction: column; align-items: center; }
  .cta-box h2 { font-size: 32px; }
  
  .cycle-track { flex-direction: column; }
  .cycle-arrow { transform: rotate(90deg); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 48px; }
  .wallets-grid { grid-template-columns: 1fr; }
  .token-chart-wrap { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
