/* style/slot-games.css */
/* Base styles for the slot-games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
  overflow: hidden; /* Ensure no overflow on hero */
}

.page-slot-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__main-title {
  font-size: 3.5em;
  color: #FFFF00; /* Yellow for main title, as per brand guide for login/register font, good contrast on dark */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 20px;
  background-color: #1a1a2e; /* Default dark background for sections */
  color: #ffffff; /* Default light text for sections */
}

.page-slot-games__dark-section {
  background-color: #0d0d1d; /* Slightly darker for contrast */
  color: #ffffff;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-slot-games__highlight {
  color: #FFFF00; /* Yellow for highlights */
  font-weight: bold;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Important for mobile responsiveness */
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__btn-link {
  background-color: transparent;
  color: #FFFF00;
  border: none;
  padding: 10px 0;
  text-align: left;
  display: block;
  font-size: 0.9em;
}

.page-slot-games__btn-link:hover {
  text-decoration: underline;
  color: #a0a000;
}

.page-slot-games__btn-lg {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-slot-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping */
}

/* Image styles */
.page-slot-games__image,
.page-slot-games__card-image,
.page-slot-games__feature-icon,
.page-slot-games__promo-image,
.page-slot-games__step-icon {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  /* Ensure no CSS filter is used */
  filter: none;
}

/* Layout Grids */
.page-slot-games__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-slot-games__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card Styles */
.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Feature Items */
.page-slot-games__features .page-slot-games__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__feature-icon {
  width: 100px; /* Larger icons for content display */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Promotions */
.page-slot-games__promotions .page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1); 
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text left */
  text-align: left;
}

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

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #e0e0e0;
  flex-grow: 1; /* Make description take available space */
}

/* How-To-Play Steps */
.page-slot-games__how-to-play .page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Video Section */
.page-slot-games__video-section {
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure video does not overflow */
  height: auto; /* Maintain aspect ratio */
  display: block;
}