:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-button-color: #EA7C07;
  --background-white: #FFFFFF;
  --black: #000000;
  --border-light: #e0e0e0;
  --hover-light: #f5f5f5;
  --active-light: #eeeeee;
}

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--background-white); /* Assuming body background is light */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games__section-title--white {
  color: var(--text-light);
}

.page-slot-games__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-slot-games__section-description--white {
  color: var(--text-light);
}

/* 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;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a2d7f4 100%); /* Lighter blue gradient */
  color: var(--text-light);
}

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

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-slot-games__hero-description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.5;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-slot-games__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
  background: var(--login-button-color); /* Use login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-button-color);
}

.page-slot-games__btn-primary:hover {
  background: #c76600; /* Darker orange */
  border-color: #c76600;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-slot-games__introduction-section {
  background-color: var(--background-white);
  color: var(--text-dark);
}

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

.page-slot-games__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

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

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

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

/* Game Types Section */
.page-slot-games__game-types-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-slot-games__game-card {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.page-slot-games__game-card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__game-card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__game-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__game-card-button:hover {
  background: #1e8dc4; /* Darker primary */
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Providers Section */
.page-slot-games__providers-section {
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-slot-games__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-slot-games__provider-logos img {
  
  
  object-fit: contain;
  filter: grayscale(80%); /* Subtle grayscale */
  transition: filter 0.3s ease;
}

.page-slot-games__provider-logos img:hover {
  filter: grayscale(0%); /* Color on hover */
}

.page-slot-games__view-all-button {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-slot-games__view-all-button:hover {
  background: #1e8dc4;
  border-color: #1e8dc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

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