/* Main Styles */
:root {
  --primary-color: #6E56CF;
  --secondary-color: #4CC38A;
  --accent-color: #FF8A65;
  --background-dark: #0A0A0B;
  --background-card: #1A1B1F;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-accent: #6E56CF;
  --border-color: #27272A;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

button {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.primary-button {
  background: linear-gradient(90deg, var(--primary-color), #8A6DFF);
  color: white;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(110, 86, 207, 0.3);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(110, 86, 207, 0.4);
}

.secondary-button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.secondary-button:hover {
  background-color: rgba(110, 86, 207, 0.1);
}

.connect-wallet {
  background-color: rgba(110, 86, 207, 0.1);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-size: 14px;
  padding: 10px 20px;
}

.connect-wallet:hover {
  background-color: rgba(110, 86, 207, 0.2);
}

/* Header & Navigation */
header {
  padding: 20px 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

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

.logo {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 120px 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #FFFFFF, #A1A1AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-character {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

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

/* Section Styles */
section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #FFFFFF, #A1A1AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Story Section */
.story-section {
  background-color: rgba(10, 10, 11, 0.5);
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.story-chapters {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.chapter {
  background-color: var(--background-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chapter-number {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.chapter h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.chapter ul {
  list-style-position: inside;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.chapter li {
  margin-bottom: 8px;
}

.warning {
  color: var(--accent-color);
  font-weight: 500;
}

.cta-text {
  font-size: 18px;
  color: var(--text-primary);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--background-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Journey Section */
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journey-step {
  display: flex;
  align-items: center;
  background-color: var(--background-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.journey-step:hover {
  transform: translateX(10px);
}

.step-number {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 24px;
  flex-shrink: 0;
}

.journey-step h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.journey-step p {
  color: var(--text-secondary);
}

/* Rewards Section */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.reward-card {
  background-color: var(--background-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reward-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reward-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.reward-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.reward-card p {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(110, 86, 207, 0.1), rgba(76, 195, 138, 0.1));
  border-radius: 24px;
  padding: 60px 30px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: rgba(10, 10, 11, 0.8);
  border-top: 1px solid var(--border-color);
  padding: 60px 5% 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .main-character {
    max-width: 80%;
  }
  
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
  
  .chapter h3 {
    font-size: 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .main-character {
    max-width: 100%;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
}
