/* Reset & Variables */
:root {
  --primary: #f0a500;
  --primary-dark: #cf8500;
  --background: #111;
  --surface: #1a1a1a;
  --surface-light: #222;
  --text: #fff;
  --text-secondary: #ddd;
  --border-color: rgba(240, 165, 0, 0.1);
  --nav-height: 80px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(to bottom, #000, var(--background));
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.contract { background: var(--surface-light); color: var(--primary); }
.twitter { background: #1DA1F2; color: white; }
.telegram { background: #0088cc; color: white; }
.tribe { background: var(--primary); color: var(--background); }

.primary-btn {
  background: var(--primary);
  color: var(--background);
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

/* About Section */
.about {
  padding: 80px 20px;
  background: var(--surface);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background: var(--surface-light);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
}

/* Roadmap Section */
.roadmap {
  padding: 80px 20px;
  background: var(--background);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  margin-bottom: 30px;
  background: var(--surface);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.feature-list li::before {
  content: '⚔️';
  position: absolute;
  left: 0;
}

/* Game Preview */
.game-preview {
  margin-top: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background: var(--surface);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

/* Join Section */
.join {
  padding: 80px 20px;
  background: var(--surface);
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.join-card {
  background: var(--surface-light);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border-color);
}

.join-icon {
  font-size: 2.5rem;
  margin-top: 15px;
  display: block;
}

/* Footer */
footer {
  background: #000;
  padding: 50px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.copyright {
  color: #555;
}

/* Particles Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
  }

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

  .social-links {
    flex-direction: column;
  }
}