
/* Base Reset */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #fffdfd, #f395a3);
  background-repeat: no-repeat;
  background-attachment: fixed; /* stays fixed when scrolling */
  background-size: cover; /* fills entire screen */
  color: #1f1f1f;
  line-height: 1.6;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* 80% opacity white */
  backdrop-filter: blur(6px); /* adds blur to what's behind */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* subtle shadow */
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.2rem 2rem;
  list-style: none;
}
.navbar a {
  text-decoration: none;
  color: #1f1f1f;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}
.navbar a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #E5393D;
  transition: width 0.3s;
}
.navbar a:hover {
  color: #E5393D;
}
.navbar a:hover::after {
  width: 100%;
}


/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 85vh;
  padding: 0 5%;
  background: none;
  gap: 2rem;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0;
}

.hero-text2 h1{
  color: #E5393D;
}

.hero-content p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 2rem;
  margin-top: 0;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #E5393D;
  color: white;
}

.btn.primary:hover {
  background-color: #c02e32;
}

.btn.secondary {
  background-color: transparent;
  color: #E5393D;
  border: 2px solid #E5393D;
}

.btn.secondary:hover {
  background-color: #ffecec;
}

/* Image Area */
.hero-image {
  flex: 1;
  max-width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-height: 90%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  background-color: white;
}

/* About Section */
.about {
  text-align: center;
  padding: 5rem 2rem;
  background: #fff9e6;
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.about .feature {
  margin-bottom: 0;
}

.about h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0;
}
.about p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #4b5563;
}
.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.feature {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  max-width: 240px;
}
.feature h3 {
  color: #FBE122;
}

/* Footer */
footer {
  background: #1f1f1f;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
  margin-top: 0; !important
}

/* Comics/Games Section */
.games-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom right, #fffdfd, #f395a3);
  min-height: 100vh;
}

.games-section h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #E5393D;
}

.game-card {
  background-color: #fff;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 1.25rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 1rem;
}

.game-card p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.chapter-box {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.chapter-box li {
  margin-bottom: 0.5rem;
  color: #E5393D;
  font-weight: 500;
}

.game-card button {
  padding: 0.6rem 1.2rem;
  background-color: #E5393D;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.game-card button:hover {
  background-color: #c02e32;
}

/* Optional DNA image if you decide to use */
.dna-image {
  display: block;
  margin: 3rem auto 0;
  max-width: 200px;
  opacity: 0.8;
}


/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 3rem 2rem;
  }

  .hero-content, .hero-image {
    max-width: 100%;
    height: auto;
  }

  .hero-image img {
    max-height: 300px;
  }

  .buttons {
    justify-content: center;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
