/* style/slot-games.css */

/* Custom properties for colors */
:root {
  --primary-color: #017439;
  --auxiliary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-font-color: #FFFF00;
}

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--auxiliary-color); /* Body background is white */
  padding-bottom: 60px; /* Space above footer */
}

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

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

.page-slot-games__section:nth-of-type(even) {
  background-color: #f9f9f9; /* Slightly off-white for visual separation */
}

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

.page-slot-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-slot-games__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* 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); /* Ensure header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a9d6e 100%); /* Green gradient */
  color: var(--text-color-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;
  max-width: 900px; /* Constrain hero image width */
}

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

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

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-slot-games__description-text {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
  color: var(--text-color-light);
  text-align: center;
}

/* Call to Action Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  max-width: 100%; /* Ensure container respects width */
  box-sizing: border-box;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border-color: var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background: #005f2f;
  border-color: #005f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__btn-link {
  background: var(--primary-color);
  color: var(--text-color-light);
  border-color: var(--primary-color);
  padding: 10px 20px;
  font-size: 16px;
}

.page-slot-games__btn-link:hover {
  background: #005f2f;
  border-color: #005f2f;
}

/* Specific button colors for Register/Login */
.page-slot-games__register-btn,
.page-slot-games__login-btn {
  background: var(--register-button-bg); /* #C30808 */
  color: var(--register-login-font-color); /* #FFFF00 */
  border-color: var(--register-button-bg);
}

.page-slot-games__register-btn:hover,
.page-slot-games__login-btn:hover {
  background: #a30707; /* Darker red on hover */
  border-color: #a30707;
  color: var(--register-login-font-color);
}