/* GENERAL */
body {
  margin: 0;
  background: #000;
  color: white;
  font-family: Arial, sans-serif;
}

/* INTRO */
#intro {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#intro img {
  width: 250px;
  animation: blink 0.2s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 40px;
}

.hero h1 {
  font-size: 60px;
}

/* SECTION */
.section {
  padding: 100px 40px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  padding: 20px;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 10px;
  transition: 0.3s;
}

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

/* BUTTONS */
.btn {
  padding: 10px 20px;
  border: 1px solid red;
  background: transparent;
  color: white;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

.btn:hover {
  background: red;
  color: black;
  box-shadow: 0 0 15px red;
}

.btn:active {
  transform: scale(0.95);
}

/* NAV BUTTON GROUP */
.nav {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

/* PAGE SYSTEM */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  /* SECTIONS */
  .section {
    padding: 60px 20px;
  }

  /* CARDS */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  /* BUTTONS */
  .nav {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 80%;
    text-align: center;
  }

  /* INTRO LOGO */
  #intro img {
    width: 150px;
  }
}
body {
  overflow-x: hidden;
}
