/* style/slot-games.css */

/* Custom properties for colors */
:root {
  --primary-color: #017439; /* Green */
  --secondary-color: #FFFFFF; /* White */
  --register-button-bg: #C30808; /* Red */
  --login-button-bg: #C30808; /* Red */
  --button-text-color: #FFFF00; /* Yellow */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #017439; /* Using primary color for dark background sections */
}

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

/* --- Global Section Styling --- */
.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

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

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

.page-slot-games__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block--white {
  color: var(--text-light);
}

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

.page-slot-games__highlight {
  color: var(--primary-color);
  font-weight: bold;
}
.page-slot-games__dark-bg .page-slot-games__highlight {
  color: var(--button-text-color); /* Yellow for highlight on dark background */
}

/* --- Buttons --- */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-slot-games__btn-primary:hover {
  background-color: #005a2e; /* Slightly darker green */
  border-color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* --- 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, var(--primary-color) 0%, #000000 100%); /* Darker gradient for hero */
  overflow: hidden; /* Prevent image 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;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
}

.page-slot-games__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--button-text-color); /* Yellow for hero title */
  margin-bottom: 20px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--secondary-color);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__cta-button--register {
  background-color: var(--register-button-bg); /* Red */
  color: var(--button-text-color); /* Yellow */
  border: 2px solid var(--register-button-bg);
}

.page-slot-games__cta-button--register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-slot-games__cta-button--login {
  background-color: var(--login-button-bg); /* Red */
  color: var(--button-text-color); /* Yellow */
  border: 2px solid var(--login-button-bg);
}

.page-slot-games__cta-button--login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* --- Intro Section --- */
.page-slot-games__intro-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-slot-games__intro-item {
  text-align: center;
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__intro-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

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

.page-slot-games__game-type-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slot-games__game-type-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__game-type-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__game-type-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--button-text-color); /* Yellow for titles on dark background */
  margin-bottom: 10px;
}

.page-slot-games__game-type-card p {
  font-size: 16px;
  color: var(--secondary-color);
}

/* --- Benefits Section --- */
.page-slot-games__benefits-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-slot-games__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__benefit-item {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* --- Guide Section --- */
.page-slot-games__guide-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-slot-games__guide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 800px;
}

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--button-text-color);
  margin-bottom: 10px;
}

.page-slot-games__guide-item p {
  font-size: 16px;
  color: var(--secondary-color);
}

.page-slot-games__guide-content img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__promo-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-slot-games__promo-card p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 25px;
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-slot-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}