

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

body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-color: #1e1e1e;
  line-height: 1.6;
}
.hamburger {
  display: none; /* Hidden by default on desktop */
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 300;
}
.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}


.nav-links-container {
  display: flex;
  transition: transform 0.3s ease;
}
/* Header & Navigation */
.header-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #121212;
  z-index: 100;
}
.nav-links {
  display: flex;
  align-items: center;
}


.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 200;
}

.company-name {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: white;
}

.nav-item {
  margin-left: 2rem;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  font-weight: 500;
}

.download-btn {
  background-color: #4040ca;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin-left: 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background-color: #5a5aff;
}

/* Hero Section */
.hero-bg {
  background-image: url(../images/Map_Extended.png);
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover; /* Resize bg img to cover the entire container */
  object-fit: fill;

}
.hero-section {
  margin-top: 100px;
  padding: 20rem 0 20rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  
}

.game-title {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(3rem, 8vw, 5.625rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #121212;
}

.game-description {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  max-width: 65ch;
  color: #121212;
}
.name {
  font-weight: 600;
}
.player { 
  margin: 0 auto;
  padding: 0 0 5rem 0;
  display:block;
  width: 80%;
}
.player iframe {
  display:block;
  margin: 0 auto;
  width: 1280px;
  height: 720px;
}

.features-section {
  position: relative;
  padding: 4rem 5%;
  min-height: 720px;
}

.game-features {
  background-color:#121212;
  padding: 5rem 0 5rem 0;

}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: #2e2e2e;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 4px rgba(0,0,0,0.25);
}

.feature-image {
  width: 227px;
  height: 227px;
  background: rgba(30,30,30,0.5);
  border-radius: 50%;
  margin: 2rem auto;
}

.game-paragraph {
  background-color: #121212;
  padding: 5rem 0; 
  text-align: center;
  width: 100%; 
}

.paragraph-content {
  width: 70%;
  margin: 0 auto;
  padding: 1rem; 
}

.team-section {
  padding: 6rem 5%;
  background: #1e1e1e;
}
.playstore {
  padding: 5rem 0 5rem 0;
  width: 200px;
  display: block;
  align-content: center;
  margin: auto;
}
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 200px wide img in grid*/
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  text-align: center;
  margin-bottom: 4rem;
}



.team-member {
  text-align: center;
}
.section-divider {
  text-align: center;
  background-color: #1e1e1e;
  padding: 5rem 0 5rem 0;
}

.member {
  text-align: center;
  display: flex;
  flex-direction: column;
}


.member-photo {
  width: 180px;
  height: 180px;
  /* background: #d9d9d9; */
  border-radius: 100px;
  
  margin: 0 auto 1rem;
  filter: grayscale(1) ; /* black & white*/
  object-fit: fill;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.member-role {
  font-size: 1.1rem;
  color: #888;
}

.other-content {
  background-color: #121212;
  
}
.content-bg {
  text-align: left;
  max-width: 75%;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  padding: 5rem 0 5rem 0;
}
.other-content-text {
  width: 66%;
  padding-right: 50px; /* 50px space from image*/
}

.other-image {
  width: 33%;
}


.footer-divider {
  background: #000000;
  padding: 4rem 5%;
  margin-top: 4rem;
}

.footer-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  vertical-align: middle;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-logo {
  max-width: 300px;
  margin: 0 auto;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  opacity: 0.7;
}



/* Designed desktop first i know it's bad practice*/
@media (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }
  
  .nav-links-container {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #121212;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: translateY(-150%);
    z-index: 200;
  }
  
  .nav-links-container.active {
    transform: translateY(0);
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
  }
  
  .nav-item {
    margin-left: 0;
    font-size: 1.2rem;
  }
  
  .download-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
  

  .hamburger.active .hamburger-inner {
    background-color: transparent;
  }
  
  .hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
  }
  .player iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    max-width: 1280px;
  }
  
  /* Team section grid */
  .team-members {
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
    gap: 2rem;
  }
  
  .content-bg {
    flex-direction: column;
    max-width: 90%;
  }
  
  .other-content-text, 
  .other-image {
    width: 100%; /* 100 wide on mobile so flex > column */
    padding-right: 0;
  }
  
  .other-image {
    margin-top: 2rem;
  }
  

  .main-nav {
    padding: 0 2%;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-item {
    margin-left: 1rem;
  }
  
  .download-btn {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
  }
  

  .hero-section {
    padding: 10rem 5% 10rem;
    margin-top: 80px;
  }
}
