/* style/slot-games.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
}

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

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Changed for contrast */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #6A0000; /* Darker red */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: fit-content; /* Adjust for responsiveness */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

.page-slot-games__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-slot-games__medium-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Overlay for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: 56px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

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

.page-slot-games__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-icon {
  width: 100%; /* Ensure large images */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--text-dark);
}

/* Popular Games Section */
.page-slot-games__popular-games {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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