:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(18, 24, 38, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18), transparent 70%);
  top: 5%;
  left: -5%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15), transparent 70%);
  top: 25%;
  right: -5%;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  top: 60%;
  left: 20%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.logo-icon {
  font-size: 1.6rem;
}

.accent-text {
  color: var(--accent-cyan);
}

.badge-chain {
  font-size: 0.65rem;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  padding: 0.35rem 0.1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  border-color: var(--border-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #05070a;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #05070a;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.btn-glass {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-glass:hover {
  background: rgba(245, 158, 11, 0.25);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 3.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.pill-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe, #4facfe 50%, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* CA Box */
.ca-wrapper {
  margin-bottom: 2rem;
}

.ca-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  border-radius: 8px;
  max-width: 520px;
}

.ca-box code {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.btn-copy:hover {
  background: var(--accent-cyan);
  color: #05070a;
  border-color: var(--accent-cyan);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 3D Slab Card (Collector Crypt PSA-style) */
.hero-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.card-3d-wrap {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.slab-card {
  width: 320px;
  height: 470px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.2);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* PSA Style Header */
.slab-header {
  background: #ffffff;
  color: #111;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #e5e7eb;
  margin-bottom: 12px;
}

.slab-grading {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #dc2626;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.grading-service {
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.grading-score {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.slab-info {
  flex-grow: 1;
  padding: 0 8px;
}

.slab-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #111;
}

.slab-sub {
  font-size: 0.58rem;
  font-weight: 700;
  color: #4b5563;
}

.slab-qr {
  font-size: 1.2rem;
}

/* Card Art Inside Slab */
.card-art-frame {
  flex-grow: 1;
  background: radial-gradient(circle at 50% 40%, #1e293b, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card-3d-wrap:hover .hero-slab-img {
  transform: scale(1.05);
}

.art-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.art-visual {
  text-align: center;
}

.meme-avatar {
  font-size: 5rem;
  animation: float 3s ease-in-out infinite;
}

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

.art-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Holographic Rainbow Glare Sheen */
.holo-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 0, 128, 0.25) 45%,
    rgba(0, 242, 254, 0.3) 50%,
    rgba(255, 215, 0, 0.25) 55%,
    transparent 70%
  );
  mix-blend-mode: color-dodge;
  opacity: 0.7;
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.slab-footer {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  justify-content: space-around;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .label {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
}

.stat-item .val {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.card-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Ticker Strip */
.ticker-strip {
  background: rgba(0, 242, 254, 0.05);
  border-top: 1px solid rgba(0, 242, 254, 0.15);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e5e7eb;
}

.ticker-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

.section-dark {
  background: rgba(13, 18, 29, 0.6);
  border-radius: 24px;
  padding: 4rem 2rem;
  border: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: rgba(22, 30, 48, 0.8);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cards Showcase */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mini-slab {
  background: #0f1420;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.mini-slab:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.2);
}

.slab-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.slab-badge.gold {
  background: #f59e0b;
  color: #111;
}

.slab-badge.silver {
  background: #94a3b8;
  color: #111;
}

.slab-badge.bronze {
  background: #b45309;
  color: #fff;
}

.mini-art {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.mini-slab h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.mini-slab p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-status.active {
  color: var(--accent-green);
}

/* Gacha Booster Pack Section */
.gacha-box {
  background: radial-gradient(circle at 50% 50%, #151d2f, #090c14);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pack-visual {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.booster-pack {
  width: 170px;
  height: 250px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 3px solid #f59e0b;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booster-pack:hover {
  transform: scale(1.05) rotate(2deg);
}

.pack-foil {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pack-brand {
  font-size: 0.65rem;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 0.1em;
}

.pack-emoji {
  font-size: 3.5rem;
}

.pack-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

/* Gacha Result Card */
.gacha-result {
  margin-top: 2rem;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.result-card {
  background: #111827;
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 320px;
  margin: 0 auto;
}

.result-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.result-emoji {
  font-size: 4rem;
  margin: 0.5rem 0;
}

.hidden {
  display: none !important;
}

/* Tokenomics */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.token-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  text-align: center;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.trust-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-item strong {
  font-size: 0.95rem;
  color: var(--accent-green);
}

.trust-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* How to Buy */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Roadmap */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
}

.phase-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.timeline-item ul {
  list-style: none;
}

.timeline-item li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2rem;
  background: #040609;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.footer-socials h4 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #05070a;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-card {
  background: #0f1523;
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: #999;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-option:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
}

.w-tag {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #aaa;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .badge-chain {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .ca-box {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .grid-3, .cards-grid, .tokenomics-grid, .roadmap-timeline, .trust-container {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
  }
}

/* ===== BONDING CURVE SECTION ===== */
.bonding-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bonding-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.bonding-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bonding-stat.center { align-items: center; }
.bonding-stat.right { align-items: flex-end; }

.bstat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.bstat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.bstat-val.accent {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonding-bar-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bonding-bar-bg {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: visible;
  position: relative;
}

.bonding-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f2fe, #4facfe, #f59e0b);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.bonding-bar-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  animation: barShine 2.5s ease-in-out infinite;
}

@keyframes barShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.bonding-milestones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.milestone {
  position: absolute;
  top: -28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.milestone::after {
  content: '';
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  display: block;
  margin-top: 2px;
}

.milestone span {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-heading);
}

.raydium-flag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.07);
}

.bonding-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bonding-urgency {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pulsing live indicator dot */
.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-container {
  max-width: 700px;
  margin: 2.5rem auto 0;
  text-align: center;
  padding: 2rem 2.5rem;
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 70px;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  background-color: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.12);
  border-radius: 12px;
  min-width: 80px;
  text-align: center;
  /* override gradient for bg-color */
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  opacity: 0.7;
  animation: sepBlink 1s ease-in-out infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.2; }
}

.countdown-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== LEADERBOARD ===== */
.leaderboard-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 110px 1fr 160px 100px 160px;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 110px 1fr 160px 100px 160px;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
  animation: rowFadeIn 0.5s ease both;
}

.leaderboard-row:last-child { border-bottom: none; }
.leaderboard-row:hover { background: rgba(255,255,255,0.03); }

@keyframes rowFadeIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.leaderboard-row:nth-child(2) { animation-delay: 0.05s; }
.leaderboard-row:nth-child(3) { animation-delay: 0.1s; }
.leaderboard-row:nth-child(4) { animation-delay: 0.15s; }
.leaderboard-row:nth-child(5) { animation-delay: 0.2s; }
.leaderboard-row:nth-child(6) { animation-delay: 0.25s; }
.leaderboard-row:nth-child(7) { animation-delay: 0.3s; }

.rank-1 { background: rgba(245, 158, 11, 0.05); }
.rank-2 { background: rgba(156, 163, 175, 0.04); }
.rank-3 { background: rgba(180, 120, 70, 0.04); }

.rank-badge {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.gold-rank { color: var(--accent-gold); }
.silver-rank { color: #d1d5db; }
.bronze-rank { color: #cd7f32; }

.wallet-addr {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slab-amount {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.slab-pct {
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.reward-tier {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  text-align: center;
  font-family: var(--font-heading);
}

.tier-gold { background: rgba(245,158,11,0.15); color: var(--accent-gold); border: 1px solid rgba(245,158,11,0.3); }
.tier-silver { background: rgba(209,213,219,0.1); color: #d1d5db; border: 1px solid rgba(209,213,219,0.3); }
.tier-bronze { background: rgba(205,127,50,0.1); color: #cd7f32; border: 1px solid rgba(205,127,50,0.3); }
.tier-collector { background: rgba(79,172,254,0.1); color: var(--accent-blue); border: 1px solid rgba(79,172,254,0.25); }
.tier-you { background: rgba(16,185,129,0.1); color: var(--accent-green); border: 1px solid rgba(16,185,129,0.3); animation: tierPulse 2s ease-in-out infinite; }

@keyframes tierPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.mystery-row {
  opacity: 0.6;
  border: 1px dashed rgba(16,185,129,0.3) !important;
  margin: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(16,185,129,0.02) !important;
}

.mystery-row:hover { opacity: 0.85; }

.leaderboard-note {
  max-width: 900px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* ===== CONFETTI CANVAS (for gacha) ===== */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

@media (max-width: 768px) {
  .bonding-stats-row { flex-direction: column; align-items: stretch; }
  .bonding-stat.center, .bonding-stat.right { align-items: flex-start; }
  .bonding-cta-row { flex-direction: column; }
  .leaderboard-header, .leaderboard-row {
    grid-template-columns: 80px 1fr 110px 70px;
  }
  .leaderboard-header span:nth-child(5),
  .leaderboard-row .reward-tier { display: none; }
  .countdown-num { font-size: 2rem; min-width: 60px; }
  .countdown-unit { min-width: 55px; }
}


/* ===== CA PENDING STATE ===== */
.ca-box.ca-pending {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.05);
  cursor: default;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.ca-pending-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  animation: pulseAmber 1.8s ease-in-out infinite;
}

@keyframes pulseAmber {
  0%   { box-shadow: 0 0 0 0 rgba(245,158,11,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.ca-pending-text {
  font-size: 0.9rem;
  color: rgba(245, 158, 11, 0.9);
  flex: 1;
  user-select: none;
}

.ca-pending-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: rgba(245,158,11,0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245,158,11,0.35);
  white-space: nowrap;
}

.ca-hint {
  font-size: 0.78rem;
  color: rgba(245,158,11,0.7);
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(245,158,11,0.05);
  border-left: 2px solid rgba(245,158,11,0.4);
  border-radius: 0 6px 6px 0;
}
