/* Base Styles */
body {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #fbf3ea; /* Creamy white background */
  color: #0a0c0a; /* Deep black text */
  overflow-x: hidden;
}

/* Navigation Bar with Slide-In Animation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0a0c0a;
  padding: 15px 10px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  animation: slideDown 0.8s ease-out;
}
@keyframes slideDown {
  from { top: -50px; opacity: 0; }
  to { top: 0; opacity: 1; }
}

nav a {
  color: #fbf3ea;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}
nav a:hover {
  color: #e0e0e0;
  transform: translateY(-3px);
}
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #fbf3ea;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

/* Hero Section with Fade-in & Slide Animation */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  animation: fadeInSlide 1.2s ease-out;
}
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-logo {
  padding: 20px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.logo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: rotate(10deg) scale(1.05);
}

/* Sections with Staggered Fade-in Animation */
section {
  padding: 0 50px 50px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: sectionFadeIn 1s forwards;
}
section:nth-of-type(odd) {
  animation-delay: 0.3s;
}
section:nth-of-type(even) {
  animation-delay: 0.6s;
}
@keyframes sectionFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Improved Filter Button Styling */
.filters {
  margin-bottom: 20px;
  justify-content: center;
}
.filter-button {
  background: linear-gradient(45deg, #0a0c0a, #333);
  color: #fbf3ea;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 2px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.filter-button:hover {
  background: linear-gradient(45deg, #333, #0a0c0a);
  transform: translateY(-3px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}
.filter-button:active {
  transform: translateY(1px);
}

/* Game Container and Game Cards */
.game-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.game {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game:hover {
  transform: scale(1.03);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}
.game img {
  width: 450px;
  height: auto;
  cursor: pointer;
}

/* Wave Separator Styling & Animation */
.wave {
  overflow: hidden;
  line-height: 0;
}
.wave svg {
  display: block;
  width: 100%;
  height: auto;
}
.top-wave svg {
  animation: waveFloat 5s ease-in-out infinite;
  padding-top: 20px;
}
@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Contact Section Styling */
#contact {
  padding-top: 50px;
}
#contact h2 {
  margin-bottom: 20px;
}
#contact p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Footer Logo with Spin on Hover */
.logo-footer {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-top: 20px;
  transition: transform 0.3s ease;
}
.logo-footer:hover {
  transform: rotate(360deg);
}

h2{
	
  font-size: 38px;
}