/* style/slot-games.css */

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

.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--page-slot-games-text-main); /* Default text color on dark background */
  background-color: var(--page-slot-games-bg-color); /* Body background handled by shared.css */
  line-height: 1.6;
}

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

.page-slot-games__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-slot-games-deep-green);
  text-align: center;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit height to prevent overly tall images */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop, will change to contain for mobile */
}

.page-slot-games__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

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

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__game-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Important for responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-glow-color);
  border: 2px solid var(--page-slot-games-glow-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-glow-color);
  color: var(--page-slot-games-bg-color);
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-divider-color);
  color: var(--page-slot-games-text-main);
  border: 1px solid var(--page-slot-games-border-color);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-border-color);
}

.page-slot-games__btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__section:last-of-type {
  border-bottom: none;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--page-slot-games-glow-color);
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block a {
  color: var(--page-slot-games-glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Feature Grid */
.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

/* Guide Steps */
.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__guide-step {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__guide-step p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-slot-games__guide-step a {
  margin-top: auto; /* Align button at bottom */
}

/* Game Grid */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Desktop: 250x250 visual square */
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__game-tile {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-tile img {
  width: 100%;
  height: 250px; /* Fixed height for desktop square tiles */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: var(--page-slot-games-glow-color);
  margin: 15px 10px 5px;
}

.page-slot-games__game-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.9em;
  padding: 0 15px 15px;
  flex-grow: 1;
}