:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --background-light: #f9f9f9;
  --background-dark: #208ac7; /* A darker shade of primary for contrast */
}

.page-game-guides-slot-machines {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Matches body background if not explicitly set by shared */
}

/* HERO Section */
.page-game-guides-slot-machines__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%, #4db5e7 100%); /* Blue gradient */
  color: var(--text-light);
  overflow: hidden; /* Prevent content overflow */
}

.page-game-guides-slot-machines__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any background effects */
}

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

.page-game-guides-slot-machines__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);
  transition: transform 0.3s ease;
}

.page-game-guides-slot-machines__hero-image img:hover {
  transform: translateY(-5px);
}

.page-game-guides-slot-machines__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-game-guides-slot-machines__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-game-guides-slot-machines__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-game-guides-slot-machines__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login color */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-game-guides-slot-machines__cta-button:hover {
  background: #ff8c1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-game-guides-slot-machines__section {
  padding: 80px 20px;
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-game-guides-slot-machines__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-game-guides-slot-machines__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-guides-slot-machines__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07; /* Login color for accent */
  border-radius: 2px;
}

.page-game-guides-slot-machines__overview-section p,
.page-game-guides-slot-machines__how-to-play-section p,
.page-game-guides-slot-machines__strategy-section p,
.page-game-guides-slot-machines__terminology-section p,
.page-game-guides-slot-machines__benefits-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-game-guides-slot-machines__inline-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-guides-slot-machines__inline-link:hover {
  color: #EA7C07;
  text-decoration: underline;
}

.page-game-guides-slot-machines__highlight-text {
  color: var(--primary-color);
  font-weight: bold;
}

/* Types Section */
.page-game-guides-slot-machines__types-section {
  background-color: var(--background-dark); /* Darker primary for background */
  color: var(--text-light);
}

.page-game-guides-slot-machines__types-section .page-game-guides-slot-machines__section-title {
  color: var(--text-light);
}

.page-game-guides-slot-machines__types-section .page-game-guides-slot-machines__section-title::after {
  background-color: var(--secondary-color);
}

.page-game-guides-slot-machines__types-section p {
  color: var(--text-light);
}

.page-game-guides-slot-machines__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-game-guides-slot-machines__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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