/* style/slot-games.css */

/* Custom CSS Variables for this page if needed, but primarily use shared.css variables */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #000080; /* For dark sections */
  --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with default body background (light) */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--text-dark); /* Default text color for light background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-slot-games__section:nth-of-type(even) {
  background-color: #f0f0f0; /* Slightly different background for alternating sections */
}

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* This is general padding, not for header offset */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Blend of brand colors */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  filter: none; /* Ensure no filters are applied */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light); /* White text for dark background */
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0; /* Slightly off-white for readability */
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-slot-games__cta-button:hover {
  background: #E5C100; /* Darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: var(--background-light);
}

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

.page-slot-games__feature-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__feature-text {
  font-size: 16px;
  color: var(--text-dark);
}

/* Popular Games Section */
.page-slot-games__popular-games {
  background-color: #f0f0f0;
}

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

.page-slot-games__game-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filters are applied */
}

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

.page-slot-games__game-description {
  font-size: 15px;
  color: #666;
  padding: 0 15px 20px;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  border: none;
}

.page-slot-games__btn-secondary:hover {
  background: #191999; /* Lighter blue on hover */
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: var(--background-light);
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-slot-games__steps-list li {
  background: var(--text-light);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-left: 6px solid var(--primary-color);
}

.page-slot-games__step-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: var(--text-dark);
}

.page-slot-games__step-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__step-description a:hover {
  text-decoration: underline;
}

/* Winning Tips Section */
.page-slot-games__winning-tips {
  background-color: #f0f0f0;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-slot-games__tips-list li {
  background: var(--text-light);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-left: 6px solid var(--secondary-color);
}

.page-slot-games__tip-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__tip-description {
  font-size: 16px;
  color: var(--text-dark);
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: var(--background-light);
}

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

.page-slot-games__promo-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filters are applied */
}

.page-slot-games__promo-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-slot-games__promo-description {
  font-size: 15px;
  color: #666;
  padding: 0 15px 20px;
}

.page-slot-games__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: #E5C100; /* Darker gold on hover */
}

/* FAQ Section */
.page-slot-games__faq {
  background-color: #f0f0f0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}