.page-slot-games {
  background-color: #100224; /* Deep Navy from instructions */
  color: #F3F8FF; /* Text Main */
  font-family: sans-serif;
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-slot-games__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 30px; /* Add some padding to separate image from content */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
}

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

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5); /* Glow effect */
  background: linear-gradient(90deg, #F2C14E 0%, #FF9500 100%); /* Gold to Orange gradient for title */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__section-title {
  font-size: 2.2em;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
  background: linear-gradient(90deg, #F2C14E 0%, #FF9500 100%); /* Gold to Orange gradient for title */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__features-section,
.page-slot-games__download-app-section {
  padding: 60px 0;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-slot-games__text-content {
  font-size: 1.05em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__popular-games-section {
  padding: 60px 0;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-slot-games__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
}

.page-slot-games__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__view-all-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__view-all-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__instruction-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__instruction-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__instruction-heading {
  color: #F2C14E; /* Gold */
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__instruction-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
}

.page-slot-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__feature-heading {
  color: #F2C14E; /* Gold */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-slot-games__feature-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
}

.page-slot-games__download-app-section .page-slot-games__cta-button {
  margin-top: 30px;
}

@media (max-width: 849px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 6vw, 2.5em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }
  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-slot-games__instruction-list,
  .page-slot-games__feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
  }
  .page-slot-games__hero-image,
  .page-slot-games__game-tile img,
  .page-slot-games__feature-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-slot-games__text-content {
    font-size: 1em;
  }
  .page-slot-games__cta-button,
  .page-slot-games__view-all-button {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 549px) {
  .page-slot-games__hero-section {
    padding-top: 10px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }
  .page-slot-games__hero-description {
    font-size: 0.95em;
  }
  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-slot-games__game-tile img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-slot-games__about-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__features-section,
  .page-slot-games__download-app-section {
    padding: 40px 0;
  }
}