/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Inherited from body, explicitly set for safety */
}

/* Container for consistent content width */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: #E0B73D; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* General text blocks */
.page-slot-games__text-block p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #f0f0f0; /* Light grey for readability on dark backgrounds */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: #E0B73D; /* Gold background */
  color: #0A2463; /* Dark blue text */
  border: 2px solid #E0B73D;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #E0B73D; /* Gold text */
  border: 2px solid #E0B73D;
}

.page-slot-games__btn-secondary:hover {
  background-color: #E0B73D;
  color: #0A2463;
}

.page-slot-games__btn-text {
  background: none;
  border: none;
  color: #E0B73D;
  padding: 0;
  margin-top: 10px;
  text-align: left;
  display: block;
}

.page-slot-games__btn-text:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-slot-games__dark-bg {
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #f8f9fa; /* Light background for contrast sections */
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__feature-title,
.page-slot-games__light-bg .page-slot-games__step-title,
.page-slot-games__light-bg .page-slot-games__faq-question span {
  color: #0A2463; /* Dark blue for titles on light background */
}

.page-slot-games__light-bg p,
.page-slot-games__light-bg li {
  color: #333333; /* Dark text for paragraphs on light background */
}

.page-slot-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 60%;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E0B73D; /* Gold for hero title */
}

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

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 40%;
  z-index: 1;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__about-section .page-slot-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__about-section .page-slot-games__text-block {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain image height in card */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* How-to-Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #E0B73D;
  color: #0A2463;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
}

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

/* Promo Video Section */
.page-slot-games__promo-video-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__video-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto 30px auto;
  background-color: #000; /* Fallback background */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-slot-games__video-cta {
  margin-top: 30px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2463;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #E0B73D;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}