/* style/slot-games.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text as body is dark */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.page-slot-games__text-block,
.page-slot-games p,
.page-slot-games li {
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 15px;
}

.page-slot-games__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__text-link:hover {
  color: var(--text-light);
}

/* Dark background section styles */
.page-slot-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--secondary-color);
}

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section p,
.page-slot-games__dark-section li {
  color: var(--text-light);
}

/* Light background section styles */
.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--primary-color);
}

.page-slot-games__light-bg .page-slot-games__text-block,
.page-slot-games__light-bg p,
.page-slot-games__light-bg li {
  color: var(--text-dark);
}

.page-slot-games__light-bg .page-slot-games__item-title {
  color: var(--primary-color);
}

.page-slot-games__light-bg .page-slot-games__text-link {
  color: var(--primary-color);
}

.page-slot-games__light-bg .page-slot-games__text-link:hover {
  color: var(--secondary-color);
}

/* Image styles */
.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-slot-games__centered-image {
  margin: 30px auto;
}

/* Video Section styles */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: var(--bg-dark); /* Ensure dark background for video section */
}

.page-slot-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-slot-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-games__video-link:hover .page-slot-games__video-overlay {
  opacity: 1;
}

.page-slot-games__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-slot-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-slot-games__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold color for play now button */
  color: var(--primary-color); /* Dark text for gold background */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-slot-games__play-now-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* H1 Title Section */
.page-slot-games__title-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__title-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}