* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
     background: linear-gradient(135deg, #9a99a5, #a195ee); /* Replace with your bg image if needed */

    min-height: 120vh;
}

/* navbar Start */
header {
    position: fixed; /* Changed from sticky to fixed to always stick to top */
    top: -1px; /* Adjusted to ensure it sticks to the top */
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 0 50px; /* Top/bottom padding set to 0 so it touches top */
    z-index: 999;
    box-sizing: border-box;
}

.left-nav,
.right-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.left-nav {
    justify-content: flex-start;
}

.right-nav {
    justify-content: flex-end;
}

.left-nav li,
.right-nav li {
    margin: 0 15px;
}

.left-nav a,
.right-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.left-nav a::after,
.right-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #6c63ff;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.left-nav a:hover,
.right-nav a:hover {
    color: #6c63ff;
}

.left-nav a:hover::after,
.right-nav a:hover::after {
    width: 100%;
}

.logo {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

/* Mobile menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -280px; /* CHANGED from right to left */
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 4px 0 15px rgba(0,0,0,0.2); /* CHANGED shadow direction */
    padding: 80px 20px 20px;
    list-style: none;
    margin: 0;
    z-index: 999;
    transition: left 0.3s ease-out; /* CHANGED from right to left */
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
}

.mobile-nav.active {
    left: 0; /* CHANGED from right to left */
}

.mobile-nav li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    width: 100%;
    display: block;
    padding: 8px 0;
}

.mobile-nav li a:hover {
    color: #6c63ff;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.menu-icon span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    opacity: 0;
}
.menu-icon.active span:nth-child(2) {
    opacity: 0;
}
.menu-icon.active span:nth-child(3) {
    opacity: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

body.no-scroll {
    overflow: hidden;
}

/* navbar End */

/* Hero Start */

.hero-section {
  background: linear-gradient(135deg, #9a99a5, #a195ee);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.hero-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  color: #fff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffcc00;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6c63ff, #ff7d7d);
  color: #fff;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  /* box-shadow: 0 25px 50px rgba(0,0,0,0.5); */
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Responsive */

/* Hero End */

.games-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  background: #f4f7f6;
}

.game-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.badge {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #ff4757;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-card h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
}

.game-card p {
  margin: 5px 0;
  font-size: 1rem;
}

.more-info {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

.more-info p {
  margin-bottom: 20px;
  font-weight: 600;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.stats span {
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats span:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stats i {
  font-size: 1.2rem;
  color: #6c63ff;
}
.download-form {
  margin-top: 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.download-form p {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

.download-form-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.download-form input {
  padding: 12px 18px;
  border: 2px solid #6c63ff;
  border-radius: 25px;
  outline: none;
  width: 220px;
  transition: box-shadow 0.3s ease;
}

.download-form input:focus {
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
}

.download-form button {
  padding: 12px 24px;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.download-form button:hover {
  background: #5548d9;
  transform: translateY(-2px);
}

/* Responsive for tablets and smaller */
@media (max-width: 768px) {
  .download-form-group {
    flex-direction: column;
    align-items: center;
  }

  .download-form input{
    width: 100%;
    max-width: 300px;
  }
  .download-form button {
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .game-card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .game-card {
    width: 100%;
  }

}


/* how to play section */
.how-to-play-section {
  padding: 60px 20px;
  background: linear-gradient(135deg,  #a195ee, #9a99a5);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.how-to-play-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.how-to-play-image img {
  padding-left: 40px;
  max-height: 400px;
  border-radius: 20px;
  object-fit: cover;
  /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); */
}

.how-to-play-content {
  flex: 1;
  min-width: 280px;
}

.how-to-play-content h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.play-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.play-steps li {
  
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.play-steps li i {
  color: #5548d9;
  font-size: 1.5rem;
}

.play-steps li:hover {
  transform: translateX(6px);
}

.download-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg,#00c6ff, #0072ff);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s;
}

.download-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0072ff, #00c6ff);
}

/* Footer */
/* Enhanced Footer CSS */
.footer {
  background: #0a0f1c;
  color: #ffffff;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #00e0ff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-games {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 30px;
}

.footer-disclaimer {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.8;
  padding: 0 10px;
}

.footer-powered {
  font-size: 1.2rem;
  color: #94a3b8;
}

.footer-powered a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.footer-powered a:hover {
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-title {
    font-size: 2rem;
  }

  .footer-games {
    font-size: 1.2rem;
  }

  .footer-disclaimer {
    font-size: 1rem;
  }

  .footer-powered {
    font-size: 1rem;
  }
}
