/* style/slot-games.css */

/* Base Styles & Color Contrast */
/* Body background is #1a1a1a (dark) from shared.css, so default text color should be light. */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Inherit from body or shared, ensuring contrast */
}

.page-slot-games__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-slot-games__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from parent section for contrast */
  opacity: 0.9;
}

.page-slot-games__text-center {
  text-align: center;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for text */
  border: 2px solid #FFCC00;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Auxiliary color */
  border: 2px solid #FFCC00;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 0; /* shared.css handles body padding-top */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-slot-games__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Semi-transparent main color overlay */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 52px;
  color: #FFCC00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 40px;
}

.page-slot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
}

.page-slot-games__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__intro-text p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333333;
}

.page-slot-games__intro-text strong {
  color: #003366;
}

.page-slot-games__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__intro-btn {
  margin-top: 20px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #003366;
}

.page-slot-games__popular-games-section .page-slot-games__section-title,
.page-slot-games__popular-games-section .page-slot-games__section-subtitle {
  color: #ffffff;
}

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

.page-slot-games__game-card {
  background: #1a1a1a; /* Dark background for game cards */
  border-radius: 0; /* No border-radius */
  box-shadow: none; /* No box-shadow */
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
  border: none; /* No border */
  padding-bottom: 15px;
}

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

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

.page-slot-games__game-card img {
  width: 100%;
  max-width: 300px; /* Max width for game card image */
  height: auto; /* Maintain aspect ratio */
  display: block;
  margin: 0 auto 15px auto; /* Center image */
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFCC00; /* Auxiliary color for title */
  padding: 0 15px;
}

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

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
}

.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-slot-games__benefit-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-slot-games__benefit-title {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 16px;
  color: #555555;
}

.page-slot-games__benefits-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

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

.page-slot-games__promotion-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
}

.page-slot-games__promotion-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-slot-games__promotion-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-slot-games__promotions-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

.page-slot-games__promotions-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-slot-games__step-item {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__step-icon {
  font-size: 48px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #FFCC00;
  color: #003366;
}