:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --black: #000000;
  --header-offset: 120px; /* Default value, will be overridden by shared.css if defined */
}

/* 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 backgrounds */
  background: var(--background-white); /* Default background */
  padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */
}

.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;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-dark);
}

/* 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); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a7e0f2 100%); /* Adjusted gradient for better look */
  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;
}

.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 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.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: 15px 40px;
  background: var(--button-login); /* Using login color for primary CTA */
  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;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button--primary {
    background: var(--button-login);
}

.page-slot-games__cta-button--secondary {
    background: var(--primary-color);
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Dark Section */
.page-slot-games__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

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

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section .page-slot-games__feature-description {
    color: var(--text-light);
}

/* Light Background Section */
.page-slot-games__light-bg {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Feature Grid */
.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure uniform height */
  display: flex;
  flex-direction: column;
}

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

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

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--text-light);
  flex-grow: 1; /* Allow description to grow and fill space */
}

/* Game Type Grid */
.page-slot-games__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-type-card {
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 22px;
  color: var(--primary-color);
  padding: 15px 20px 10px;
  font-weight: bold;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Download Guide */
.page-slot-games__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__guide-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--button-login);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__guide-title {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__guide-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}