/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: white;
  font-family: "Montserrat", sans-serif;
  overflow: hidden; /* Prevent scrolling globally */
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ===== HEADER ===== */
header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10;
}

.header-logo {
  width: 50px;
  height: auto;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  gap: 25px;
  transition: all 0.3s ease;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff4444;
}

/* ===== BUTTON ===== */
.account-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.account-btn:hover {
  background: #ff6666;
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 11;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animate to X when open */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  text-align: center;
  position: relative;
  top: 180px;
}

h1 {
  font-size: 4rem;
  letter-spacing: 40px;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  color: #fb5352;
  letter-spacing: 15px;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

/* ===== ROCKET ===== */
.rocket {
  width: 150px;
  height: 450px;
  position: relative;
  top: 200px;
  opacity: 0;
}

@keyframes rocketLaunch {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(-330px);
    opacity: 1;
  }
}

/* ===== SIDE IMAGES ===== */
.side-image {
  position: absolute;
  bottom: 80px;
  width: 300px;
  opacity: 0.8;
  z-index: 0;
}

.side-image.left {
  left: 0;
  top: 510px;
  width: 640px;
}

.side-image.right {
  right: 0;
  top: 510px;
  width: 640px;
}

/* ===== CLOUDS ===== */
.clouds {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 170px;
  background: radial-gradient(ellipse at bottom, #ff9999 0%, transparent 70%);
  opacity: 0.7;
  z-index: -1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
    letter-spacing: 20px;
  }
  h3 {
    font-size: 1.5rem;
    letter-spacing: 10px;
  }
  .rocket {
    width: 120px;
    height: 410px;
    top: 250px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transform: translateY(-200%);
    transition: transform 0.4s ease;
  }

  nav.active {
    transform: translateY(0);
  }

  .account-btn {
    display: none;
  }

  .side-image {
    display: none;
  }

  h1 {
    font-size: 2.3rem;
    letter-spacing: 10px;
  }

  h3 {
    font-size: 1.2rem;
    letter-spacing: 5px;
  }

  /* Fix screen size & remove scrolling on mobile */
  html,
  body {
    overflow: hidden; /* Keep screen fixed */
    height: 100vh;
    width: 100vw;
    position: fixed;
  }

  .main-content {
    transform: scale(0.85);
  }
}
