/* style/slot-games.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--background-dark);
  color: var(--text-main);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.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__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-slot-games__light-bg {
  background-color: var(--card-bg); /* Using card-bg for a slightly lighter dark background */
  color: var(--text-main);
}

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-item {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--text-secondary);
  text-align: left;
}

.page-slot-games__text-small {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-top: 30px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-view-details {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
}

.page-slot-games__btn-play {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  opacity: 0.9;
}

.page-slot-games__btn-view-details {
  background-color: var(--deep-green);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-slot-games__btn-view-details:hover {
  background-color: var(--primary-color);
}

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

.page-slot-games__cta-center {
  margin-top: 40px;
  text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Using clamp for H1 font size */
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games__lead-text {
  font-size: 1.3em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__intro-section .page-slot-games__image-content {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Factors Section */
.page-slot-games__factors-section {
  background-color: var(--card-bg);
}

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

.page-slot-games__card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-text {
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Top Games Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-title {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__game-description {
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

/* Strategies Section */
.page-slot-games__strategies-section {
  background-color: var(--background-dark);
  text-align: left;
}

.page-slot-games__strategies-section .page-slot-games__section-title {
  text-align: center;
}