/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Starry background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40px 70px, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 130px 80px, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.4), transparent);
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: lowercase;
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: #22c55e;
  color: #fff;
  border: 1px solid #22c55e;
}

.btn-primary:hover {
  background: #16a34a;
  border-color: #16a34a;
}

.btn-light {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #fff;
}

.btn-light:hover { background: #e5e5e5; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-blue {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 3rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-title .accent { color: #22c55e; }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 2rem;
  line-height: 1.5;
}

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

.hero-visual {
  position: relative;
  flex: 0 0 320px;
  height: 320px;
}

.hero-pill {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 140px;
  height: 50px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #fff 50%, #22c55e 50%);
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.5);
  z-index: 2;
}

.hero-logo-circle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  text-transform: lowercase;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.5), 0 10px 40px rgba(0,0,0,0.3);
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.7);
  margin: 0 0 2rem;
  font-size: 1rem;
}

/* ===== DSF TV ===== */
.section-tv .section-subtitle { margin-bottom: 2.5rem; }

.tv-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-logo {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  text-transform: lowercase;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.video-caption {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.video-meta {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.tv-sidebar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
}

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

.sidebar-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.sidebar-header a {
  font-size: 0.85rem;
  color: #22c55e;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}

.post-item:last-child { border-bottom: none; }

.post-item-active {
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  padding: 0.75rem;
  margin: 0 -4px;
}

.post-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.post-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  flex: 1;
}

.post-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* ===== Live Stats ===== */
.tracker-icon, .target-icon {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
}

.stat-card.stat-token {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.06);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.stat-value-green { color: #22c55e; }

.stat-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #22c55e;
  font-size: 0.6rem;
}

.stat-trend {
  display: block;
  font-size: 0.8rem;
  color: #22c55e;
  margin-top: 0.25rem;
}

.next-target {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.target-badge {
  font-size: 0.75rem;
  color: #22c55e;
}

.target-name {
  margin: 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.target-name span { color: rgba(255,255,255,0.6); font-weight: 500; }

.target-ticker {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.target-multiplier-label,
.target-cap-label,
.target-progress-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.25rem;
}

.target-multiplier {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22c55e;
  margin: 0 0 0.5rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  background: #22c55e;
  border-radius: 9999px;
  transition: width 0.3s;
}

.target-cap, .target-progress {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.milestones-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.milestones-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.milestones-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.milestone {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.milestone.done {
  color: #22c55e;
}

.milestones-wrap .btn-chart {
  display: inline-block;
  margin: 0;
}

/* ===== Chart ===== */
.chart-timeframes {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chart-timeframes button {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.chart-timeframes button:hover {
  background: rgba(255,255,255,0.1);
}

.chart-embed-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 16/9;
  max-height: 560px;
}

.chart-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.chart-attribution {
  text-align: center;
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.btn-chart {
  display: block;
  margin: 1rem auto 0;
  background: transparent;
  color: #22c55e;
  border: 1px solid #22c55e;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-chart:hover {
  background: rgba(34, 197, 94, 0.15);
}

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

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-icon-ds {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: lowercase;
}

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

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
}

.contract-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.contract-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.contract-address {
  flex: 1;
  min-width: 200px;
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  word-break: break-all;
}

.btn-copy {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-copy:hover {
  background: rgba(255,255,255,0.15);
}

.btn-copy.copied {
  background: rgba(34, 197, 94, 0.3);
  border-color: #22c55e;
  color: #22c55e;
}

/* ===== Sponsors ===== */
.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sponsor-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}

.footer-links, .footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer a:hover { color: #fff; }

.footer-copy {
  width: 100%;
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  border: none;
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: scale(1.05);
  background: #16a34a;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 7rem;
  }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .tv-layout {
    grid-template-columns: 1fr;
  }
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .next-target {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .target-right { text-align: center; }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 0.5rem 0;
    gap: 1rem;
  }
  .nav a { white-space: nowrap; }
  .section { padding: 3rem 1rem; }
  .tracker-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-wrap { min-width: 0; }
  .footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-links, .footer-social { justify-content: center; }
}
