/* style/slot-games.css */

/* General Page Styling */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background: var(--background-color, #FFFFFF); /* Body background from shared.css */
}

.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: 30px;
  color: #017439; /* Primary color for titles */
}

.page-slot-games__text-block {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-slot-games__highlight {
  color: #017439;
  font-weight: bold;
}

.page-slot-games__link {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__link:hover {
  color: #005f2e;
}

/* 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); /* Fixed header offset */
  background: linear-gradient(135deg, #e0ffe0, #ffffff); /* Light gradient background */
}

.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;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Dark Section Styling */
.page-slot-games__dark-section {
  background: #017439; /* Primary color as background */
  color: #ffffff; /* White text for dark background */
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__card-title,
.page-slot-games__dark-section .page-slot-games__step-title {
  color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section .page-slot-games__card-text,
.page-slot-games__dark-section .page-slot-games__step-text,
.page-slot-games__dark-section .page-slot-games__list-item {
  color: #f0f0f0;
}

.page-slot-games__dark-section .page-slot-games__highlight {
  color: #FFFF00; /* Highlight color for dark background */
}

.page-slot-games__dark-section .page-slot-games__link {
  color: #FFFF00;
}

.page-slot-games__dark-section .page-slot-games__link:hover {
  color: #fff;
}

/* Advantages Section */
.page-slot-games__advantages .page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__card-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Game Types Section */
.page-slot-games__game-types {
  background: #f9f9f9;
}

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

.page-slot-games__type-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__type-card .page-slot-games__type-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__type-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
  text-align: center;
}

.page-slot-games__type-description {
  font-size: 16px;
  color: #555555;
  text-align: center;
  flex-grow: 1;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background: #017439;
}

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

.page-slot-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__step-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}