/* style/slot-games.css */

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Adjusted for visual spacing */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--page-slot-games-bg);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description-center {
  text-align: center;
  font-size: 1.1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-slot-games__section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--page-slot-games-bg);
}

.page-slot-games__card-bg {
  background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-slot-games-text-main);
  margin-bottom: 40px;
  font-weight: 600;
}

.page-slot-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-slot-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
  min-width: 0; /* Ensures flex item shrinks */
}

.page-slot-games__text-block p {
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
}

.page-slot-games__image-block {
  flex: 1;
  min-width: 0; /* Ensures flex item shrinks */
}

.page-slot-games__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  margin-right: 15px;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--page-slot-games-glow);
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__btn-lg {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-slot-games__cta-center {
  margin-top: 50px;
}

.page-slot-games__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

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

.page-slot-games__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-slot-games-glow);
}

.page-slot-games__card-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-slot-games-glow);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__game-card .page-slot-games__card-title,
.page-slot-games__game-card .page-slot-games__card-text {
  padding: 0 20px;
}

.page-slot-games__game-card .page-slot-games__card-title {
  margin-top: 20px;
}

.page-slot-games__game-card .page-slot-games__card-text {
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  text-align: left;
}

.page-slot-games__faq-list {
  margin-top: 50px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-slot-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-slot-games__hero-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 50px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-slot-games__description,
  .page-slot-games__description-center,
  .page-slot-games__card-text,
  .page-slot-games__text-block p,
  .page-slot-games__faq-answer {
    font-size: 1rem;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__cta-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  /* Images and their containers */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__container,
  .page-slot-games__content-wrapper,
  .page-slot-games__benefits-grid,
  .page-slot-games__game-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__game-card .page-slot-games__game-image {
    height: auto !important; /* Allow height to adjust for smaller screens */
  }

  .page-slot-games__card-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.3rem;
  }
}