/* home Section */
/* .home-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url('https://images.pexels.com/photos/1169754/pexels-photo-1169754.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.home-section::before {
  content: '';
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--primary) 0%, rgba(16, 27, 45, 0.7) 50%, rgba(16, 27, 45, 0.8) 100%);
  z-index: 1;
}


.home-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: float 6s ease-in-out infinite;
} */
/* Style for the section */
.Home-section {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  height: 80vh;           /* Full viewport height */
  background-color: #000;  /* Optional: background color for visibility */
  color: #fff;             /* Optional: text color */
  text-align: center;      /* Center text inside the content */
   background-image: url('https://images.pexels.com/photos/1169754/pexels-photo-1169754.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Style for the inner content */
.Home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Space between elements */
}

/* Optional: button styling */
.btn-arcade {
  padding: 0.75rem 1.5rem;
  background-color: #ff5e00;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-arcade:hover {
  background-color: #e04e00;
}



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

.home-title {
  font-size: clamp(3.5rem, 10vw, 6rem);
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 0 10px rgba(160, 233, 255, 0.7);
  letter-spacing: 3px;
}

.home-subtitle {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--accent-blue-light);
  font-family: var(--font-heading);
  font-weight: 400;
}

/* About Section */
.about-section {
  background-color: var(--primary-light);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.constellation-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(160, 233, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(160, 233, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: 1;
  transform: perspective(500px) rotateX(30deg);
  transform-origin: top;
}

.content-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.content-container h2 {
  color: var(--accent-gold);
  margin-bottom: 2rem;
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 0 10px rgba(245, 197, 66, 0.3);
}

.content-container p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Games Section */
.games-section {
  padding: 6rem 2rem;
  text-align: center;
}

.games-section h2 {
  color: var(--accent-blue);
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(160, 233, 255, 0.3);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  background: rgba(16, 27, 45, 0.6);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(160, 233, 255, 0.2);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--accent-gold);
  font-size: 1.5rem;
}

.game-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--light-gray);
  font-size: 0.95rem;
}

.game-card .btn-play {
  margin: 0 1.5rem 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .home-content {
    padding: 1.5rem;
  }
  
  .about-section {
    padding: 4rem 1.5rem;
  }
  
  .games-section {
    padding: 4rem 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .home-title {
    font-size: 3rem;
  }
  
  .home-subtitle {
    font-size: 1.1rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .content-container p {
    font-size: 1.1rem;
  }
}