/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #03081c;
  color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #00bfff;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.4s ease;
  backdrop-filter: blur(5px);
  background: rgba(3, 8, 28, 0.3);
}

.navbar.scrolled {
  background: rgba(3, 8, 28, 0.8);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00bfff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00bfff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stars {
  background: url('https://exact.cfd/images/photo-1506318137071-a8e063b4bec0.jpg') repeat;
  background-size: 200px;
  z-index: 1;
  opacity: 0.6;
  animation: pan 50s linear infinite;
}

.planets {
  background: url('https://exact.cfd/images/photo-1462331940025-496dfbfc7564.jpg') no-repeat center;
  background-size: cover;
  z-index: 2;
  opacity: 0.2;
  animation: zoom 60s ease-in-out infinite alternate;
}

@keyframes pan {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

@keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  z-index: 5;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1.5s ease-out;
}

.highlight {
  color: #00bfff;
  text-shadow: 0 0 10px #00bfff;
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #0077cc, #00bfff);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.6);
}

.astronaut {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: url('https://exact.cfd/images/astronaut.png') no-repeat center;
  background-size: contain;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
  z-index: 4;
}

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

/* Token Grid */
.tokens {
  padding: 5rem 5%;
  background: #020617;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.token-card {
  background: rgba(10, 25, 50, 0.7);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid #0077cc;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.token-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.token-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
}

.token-card h3 {
  font-size: 1.5rem;
  color: #00bfff;
  margin-bottom: 0.5rem;
}

.token-card .symbol {
  font-size: 0.9rem;
  color: #aaa;
}

.token-card .price {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #fff;
}

.token-card .change {
  color: #34d399;
  font-weight: bold;
}

/* Content Sections */
.content-section {
  padding: 5rem 5%;
  background: #03081c;
}

.content-section.dark {
  background: #01040c;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-form {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.subscribe-form input {
  padding: 0.8rem 1rem;
  width: 300px;
  border: none;
  border-radius: 50px;
  outline: none;
}

.subscribe-form button {
  padding: 0.8rem 1.5rem;
  background: #00bfff;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.subscribe-form button:hover {
  background: #0099cc;
}

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 1rem 1.5rem;
  background: linear-gradient(45deg, #0077cc, #00bfff);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
  z-index: 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0.95;
  display: none;
}

.floating-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: rgba(3, 8, 28, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-content {
    padding: 1rem;
  }

  .astronaut {
    width: 120px;
    height: 120px;
    bottom: 5%;
    right: 5%;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

  .subscribe-form input {
    width: 220px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

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