/* style/slot-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0d0d0d; /* Assuming shared.css --dark-bg is a dark color */
  --bg-light: #f5f5f5;
  --card-bg-dark-theme: rgba(255, 255, 255, 0.1);
  --card-bg-light-theme: #ffffff;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared, but defining for context */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Theme specific backgrounds and text colors */
.page-slot-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding: 80px 20px;
}

.page-slot-games__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
}

.page-slot-games__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark); /* Gold background, dark text for contrast */
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light); /* Dark red background, light text for contrast */
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background-color: #6e0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Generic Content Styling */
.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-slot-games__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
}

.page-slot-games__text-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__text-block p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-slot-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
}

.page-slot-games__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Section */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: var(--card-bg-dark-theme); /* Light text on dark card */
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__feature-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  font-size: 15px;
  color: var(--text-light);
}

/* Popular Games Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__game-item {
  background-color: var(--card-bg-light-theme); /* Dark text on light card */
  color: var(--text-dark);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-slot-games__game-provider {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* How to Play Section */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  padding: 25px;
  border-radius: 10px;
  background-color: var(--card-bg-dark-theme); /* Light text on dark card */
  color: var(--text-light);
  box-shadow: 0 44px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 15px;
}

/* Promotions Section */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-item {
  background-color: var(--card-bg-light-theme); /* Dark text on light card */
  color: var(--text-dark);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}