  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the last value (0.3) to change opacity */
  }
  
  .hero-slide.active {
    opacity: 1;
  }
  
  .hero-content {
    max-width: 500px;
    text-align: left;
    padding-left: 10%;
    position: relative;
    z-index: 1; /* Ensure content is above the overlay */
  }

  .hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  }
  
  .hero h2 {
      font-size: 3.5em;
      margin-bottom: 20px;
      font-weight: 700;
      color: #ffffff;
      text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  }

  .hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
  }

  .cta-button {
    background: linear-gradient(45deg, var(--light-purple), var(--sky-blue));
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .cta-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
  }

  .hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
  }

  .hero-dot {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--sky-blue);
    transition: width 5s linear;
  }

  .hero-dot.active::after {
    width: 100%;
  }

  .hero-dot.active {
    background-color: var(--sky-blue);
    width: 60px;
  }

  .game-nav {
    background-color: var(--color-bg-secondary);
    backdrop-filter: blur(10px);
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    display: flex;
    justify-content: center;
  }

  .game-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 25px;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .game-nav-item:hover, .game-nav-item.active {
    color: var(--sky-blue);
    transform: translateY(-3px);
  }

  .game-nav-item i {
    font-size: 1.8em;
    margin-bottom: 8px;
	font-weight: 900;
  }

  .game-nav-item span {
    font-size: 0.9em;
    font-weight: 900;
    letter-spacing: 1px;
  }

  .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    aspect-ratio: 16 / 9;
  }

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

  .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

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

  .game-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 11, 46, 0.9), rgba(26, 11, 46, 0));
    margin: 0;
    padding: 20px 15px;
    text-align: center;
    font-weight: 400;
    font-size: 1em;
    letter-spacing: 1px;
  }

  .more-games-btn {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--light-purple), var(--sky-blue));
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .more-games-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
  }


  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5em;
    }
    
    .hero h2 {
          font-size: 2.5em;
    }

    .hero p {
      font-size: 1em;
    }

    .cta-button {
      font-size: 1em;
      padding: 12px 30px;
    }

    .game-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      padding: 40px 20px;
    }

    .game-card h3 {
      font-size: 0.9em;
      padding: 15px 10px;
    }

    .expandable-text {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out;
    }

    .expandable-text.expanded {
      max-height: 1400px; /* Adjust this value based on your content */
    }
  }

/*game overlay*/
.game-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
}

.game-overlay-content {
  position: relative;
  background-color: #1a0b2e;
  margin: 0;
  padding: 40px;
  width: calc(100% - 40px);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 20px rgba(134, 70, 238, 0.6);
}

@media screen and (max-width: 768px) {
  .game-overlay-content {
    padding: 20px;
    width: calc(100% - 20px);
  }
}

#gameFrame {
  width: 100%;
  height: 600px;
  border: none;
  margin-bottom: 30px;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  #gameFrame {
    height: 400px;
  }
}

.close-btn {
  color: #ffffff;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--sky-blue);
}

.play-for-real-btn {
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  background: linear-gradient(90deg, #3e1b86, #7042bd, #40E0D0);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.play-for-real-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

/* Styles for the game grid and items */
#gameGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.game-item {
  background-color: #2a1b3e;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.game-item:hover {
  transform: scale(1.05);
}

.game-item img {
  width: 100%;
  height: auto;
  display: block;
}

.game-item p {
  padding: 10px;
  margin: 0;
  color: white;
  text-align: center;
}
/*casino features*/
  .home-casino-features {
    background: var(--accent-purple);
    padding: 80px 40px;
    text-align: center;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-item {
    padding: 20px;
  }

  .feature-item i {
    font-size: 3em;
    color: var(--sky-blue);
    margin-bottom: 20px;
  }

  .feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .feature-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
  }

  .cta-section {
    background: linear-gradient(45deg, var(--deep-purple), var(--accent-purple));
    padding: 100px 40px;
    text-align: center;
  }

  .cta-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .cta-content h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--sky-blue);
  }

  .cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .cta-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .cta-btn-primary {
    background: var(--sky-blue);
    color: var(--deep-purple);
    border: none;
  }

  .cta-btn-secondary {
    background: transparent;
    color: var(--sky-blue);
    border: 2px solid var(--sky-blue);
  }

  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
  }
  @media (max-width: 768px) {
    .home-casino-features {
      padding: 60px 20px;
    }

    .features-grid {
      grid-template-columns: 1fr;
    }

    .cta-section {
      padding: 60px 20px;
    }

    .cta-content h2 {
      font-size: 2.2em;
    }

    .cta-content p {
      font-size: 1em;
    }

    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }

    .cta-btn {
      width: 100%;
      max-width: 300px;
    }
  }