/* === BASE RESET & VARIABLES === */
:root {
  --bg-primary: #0b0f1a;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #1f2a40;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent-gold: #f6c453;
  --accent-gold-dim: #d4a83a;
  --accent-green: #48bb78;
  --accent-red: #fc8181;
  --accent-blue: #63b3ed;
  --border-color: #2d3748;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-gold-dim);
}

img {
  max-width: 100%;
  height: auto;
}

/* === NAVIGATION === */
.site-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HEADER / HERO === */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  margin-bottom: 20px;
  object-fit: cover;
}

.hero h1 {
  color: var(--accent-gold);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero .tagline {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
}

/* === MAIN CONTENT === */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.content section {
  margin-bottom: 40px;
}

.content h2 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.content ul {
  list-style: none;
  padding: 0;
}

.content ul li {
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.contract-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: var(--accent-gold);
}

.community-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.community-links a {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.community-links a:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
}

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}

.about-card h3 {
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.team-section {
  margin-top: 40px;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid var(--bg-primary);
}

.timeline-item.completed::before {
  background: var(--accent-green);
}

.timeline-item h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.9rem;
}

/* === DASHBOARD === */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.dashboard h1 {
  color: var(--accent-gold);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--accent-gold);
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-card .stat-change {
  font-size: 0.85rem;
  margin-top: 6px;
}

.stat-change.positive {
  color: var(--accent-green);
}

.stat-change.negative {
  color: var(--accent-red);
}

.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.dash-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}

.dash-panel h2 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

/* Roadmap Progress */
.progress-list {
  list-style: none;
}

.progress-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.progress-list li:last-child {
  border-bottom: none;
}

.progress-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.progress-bar-wrap {
  width: 120px;
  height: 8px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-gold);
  transition: width 0.6s ease;
}

.progress-bar.complete {
  background: var(--accent-green);
}

/* Activity Feed */
.activity-feed {
  list-style: none;
}

.activity-feed li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.activity-feed li:last-child {
  border-bottom: none;
}

.activity-feed .activity-time {
  font-size: 0.8rem;
  color: #4a5568;
  display: block;
  margin-top: 4px;
}

/* Token Info Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 10px 0;
  font-size: 0.95rem;
}

.info-table td:first-child {
  color: var(--text-secondary);
  width: 40%;
}

.info-table td:last-child {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* Quick Links */
.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.quick-link:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    display: flex;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

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

  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .community-links {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dash-stats {
    grid-template-columns: 1fr;
  }
}
