.page-slot-games {
  background-color: #100224; /* Deep purple-black for main background, overriding default #FFFFFF for visual style */
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile-first, desktop will adjust */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #017439, #100224);
}

.page-slot-games__hero-visual {
  width: 100%;
  max-width: 100%;
}

.page-slot-games__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* Recommended aspect ratio for hero images */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  padding: 20px 0;
  max-width: 900px;
  margin-top: 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2rem, 5vw, 3.2rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFD700; /* Fallback */
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-slot-games__cta-button {
  display: inline-block;
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background-color: #E01010;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-slot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin: 60px 0 30px;
  background: linear-gradient(90deg, #00FF00, #00BFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00FF00; /* Fallback */
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #E0E0E0;
}

/* Categories Section */
.page-slot-games__categories-section {
  padding: 40px 20px;
  background-color: #1a0833; /* Slightly lighter dark background */
}

.page-slot-games__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__category-card {
  background-color: #2a1545;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-slot-games__category-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__category-card img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Ensure minimum image size */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFF00; /* Matching login/register font color for emphasis */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__category-description {
  font-size: 0.95rem;
  color: #CCCCCC;
  padding: 0 15px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 40px 20px;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__game-card {
  background-color: #2a1545;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__game-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-slot-games__game-card img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Ensure minimum image size */
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 15px 15px 5px;
}

.page-slot-games__game-provider {
  font-size: 0.9rem;
  color: #AAAAAA;
  padding: 0 15px 15px;
  display: block;
}

.page-slot-games__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__cta-button--small {
  padding: 12px 25px;
  font-size: 1.1rem;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 20px;
  background-color: #0f021f; /* Even darker background */
}

.page-slot-games__guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-slot-games__guide-step {
  background-color: #2a1545;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__guide-step img {
  width: 200px; /* Fixed width for icon-like images, but still > 200px for smallest dimension */
  
  object-fit: contain;
  margin: 0 auto 20px;
  display: block; /* Ensure it respects width/height */
  min-width: 200px; /* Enforce min size */
  min-
}

.page-slot-games__guide-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-slot-games__guide-step p {
  font-size: 0.95rem;
  color: #CCCCCC;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 20px;
}

.page-slot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__advantage-card {
  background-color: #2a1545;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-slot-games__advantage-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #00BFFF; /* A contrasting blue for these titles */
  margin-bottom: 15px;
}

.page-slot-games__advantage-card p {
  font-size: 1rem;
  color: #E0E0E0;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a0833;
}

/* Responsive Adjustments */
@media (min-width: 850px) {
  .page-slot-games__hero-section {
    flex-direction: row; /* Desktop: image on left, content on right */
    text-align: left;
    justify-content: center;
    gap: 40px;
    padding: 30px 40px 60px;
  }

  .page-slot-games__hero-visual {
    flex: 1;
    max-width: 600px; /* Constrain image width on desktop */
  }

  .page-slot-games__hero-content {
    flex: 1;
    max-width: 600px;
    margin-top: 0;
  }

  .page-slot-games__main-title {
    font-size: 3.5rem;
  }

  .page-slot-games__categories-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-content,
  .page-slot-games__advantages-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-visual img,
  .page-slot-games__category-card img,
  .page-slot-games__game-card img,
  .page-slot-games__guide-step img {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not tiny on mobile */
  }

  .page-slot-games__categories-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-content,
  .page-slot-games__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust grid for medium screens */
  }
}

@media (max-width: 549px) {
  .page-slot-games__hero-section {
    padding: 10px 15px 30px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin: 40px 0 20px;
  }

  .page-slot-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-slot-games__categories-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-content,
  .page-slot-games__advantages-grid {
    grid-template-columns: 1fr; /* Single column for small mobile screens */
  }

  .page-slot-games__guide-step img {
    width: 200px;
    
  }
}