/* style/resources-2024-top-slot-games.css */

/* Variables */
:root {
  --primary-color-page: #0A192F;
  --accent-color-page: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #334a66;
  --spacing-md: 20px;
  --spacing-lg: 40px;
}

/* Base styles for the page content */
.page-resources-2024-top-slot-games {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--primary-color-page); /* Fallback/initial for sections */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Fixed header offset */
.page-resources-2024-top-slot-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Dark background sections */
.page-resources-2024-top-slot-games__dark-bg {
  background-color: var(--primary-color-page);
  color: var(--text-light);
}

/* Light background sections */
.page-resources-2024-top-slot-games__light-bg {
  background-color: var(--text-light);
  color: var(--text-dark);
}

/* Hero Section */
.page-resources-2024-top-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.page-resources-2024-top-slot-games__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-2024-top-slot-games__main-title {
  font-size: 3em;
  color: var(--accent-color-page);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-2024-top-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
}

.page-resources-2024-top-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-2024-top-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* CTA Buttons */
.page-resources-2024-top-slot-games__cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-2024-top-slot-games__btn-primary,
.page-resources-2024-top-slot-games__btn-secondary,
.page-resources-2024-top-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-resources-2024-top-slot-games__btn-primary {
  background-color: var(--accent-color-page);
  color: var(--primary-color-page);
}

.page-resources-2024-top-slot-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-2024-top-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--accent-color-page);
  border-color: var(--accent-color-page);
}

.page-resources-2024-top-slot-games__btn-secondary:hover {
  background-color: var(--accent-color-page);
  color: var(--primary-color-page);
  transform: translateY(-2px);
}

.page-resources-2024-top-slot-games__btn-tertiary {
  background-color: var(--primary-color-page);
  color: var(--accent-color-page);
  border-color: var(--accent-color-page);
}

.page-resources-2024-top-slot-games__btn-tertiary:hover {
  background-color: var(--accent-color-page);
  color: var(--primary-color-page);
  transform: translateY(-2px);
}

/* Content Area */
.page-resources-2024-top-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: left;
}

.page-resources-2024-top-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color-page);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.page-resources-2024-top-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.page-resources-2024-top-slot-games__text-link {
  color: var(--primary-color-page);
  text-decoration: underline;
}

.page-resources-2024-top-slot-games__text-link:hover {
  color: var(--accent-color-page);
}

/* Cards */
.page-resources-2024-top-slot-games__card {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  border-radius: 10px;
  padding: var(--spacing-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-2024-top-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Feature Grid */
.page-resources-2024-top-slot-games__features-grid,
.page-resources-2024-top-slot-games__tips-grid,
.page-resources-2024-top-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.page-resources-2024-top-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-2024-top-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--primary-color-page);
  margin-bottom: 10px;
}

.page-resources-2024-top-slot-games__feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Game List */
.page-resources-2024-top-slot-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.page-resources-2024-top-slot-games__game-card {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  padding: 15px;
  text-align: left;
}

.page-resources-2024-top-slot-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-2024-top-slot-games__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-resources-2024-top-slot-games__game-title a {
  color: var(--primary-color-page);
  text-decoration: none;
}

.page-resources-2024-top-slot-games__game-title a:hover {
  color: var(--accent-color-page);
  text-decoration: underline;
}

.page-resources-2024-top-slot-games__game-description {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* List Styles */
.page-resources-2024-top-slot-games__list {
  list-style: disc inside;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.page-resources-2024-top-slot-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-2024-top-slot-games__list-item strong {
  color: var(--primary-color-page);
}

/* Tip Cards */
.page-resources-2024-top-slot-games__tip-title {
  font-size: 1.4em;
  color: var(--primary-color-page);
  margin-bottom: 10px;
}

.page-resources-2024-top-slot-games__tip-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Promo Cards */
.page-resources-2024-top-slot-games__promo-title {
  font-size: 1.4em;
  color: var(--primary-color-page);
  margin-bottom: 10px;
}

.page-resources-2024-top-slot-games__promo-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

/* FAQ Section */
.page-resources-2024-top-slot-games__faq-container {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.page-resources-2024-top-slot-games__faq-item {
  border-bottom: 1px solid var(--border-color);
}

.page-resources-2024-top-slot-games__faq-item:last-child {
  border-bottom: none;
}

.page-resources-2024-top-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--primary-color-page);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-2024-top-slot-games__faq-question:hover {
  background-color: #1a2f4a;
}

.page-resources-2024-top-slot-games__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--text-light);
}

.page-resources-2024-top-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-resources-2024-top-slot-games__faq-item.active .page-resources-2024-top-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-2024-top-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-2024-top-slot-games__faq-item.active .page-resources-2024-top-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-resources-2024-top-slot-games__faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* Final CTA */
.page-resources-2024-top-slot-games__final-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* Global image styles (enforcing minimum size) */
.page-resources-2024-top-slot-games img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-2024-top-slot-games__main-title {
    font-size: 2.5em;
  }

  .page-resources-2024-top-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-2024-top-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-resources-2024-top-slot-games__hero-section {
    padding: var(--spacing-md) 15px;
  }

  .page-resources-2024-top-slot-games__main-title {
    font-size: 2em;
  }

  .page-resources-2024-top-slot-games__hero-description {
    font-size: 1em;
  }

  .page-resources-2024-top-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-2024-top-slot-games__btn-primary,
  .page-resources-2024-top-slot-games__btn-secondary,
  .page-resources-2024-top-slot-games__btn-tertiary,
  .page-resources-2024-top-slot-games a[class*="button"],
  .page-resources-2024-top-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-2024-top-slot-games__cta-buttons,
  .page-resources-2024-top-slot-games__button-group,
  .page-resources-2024-top-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-resources-2024-top-slot-games__content-area,
  .page-resources-2024-top-slot-games__card,
  .page-resources-2024-top-slot-games__container,
  .page-resources-2024-top-slot-games__features-grid,
  .page-resources-2024-top-slot-games__tips-grid,
  .page-resources-2024-top-slot-games__promo-grid,
  .page-resources-2024-top-slot-games__game-list,
  .page-resources-2024-top-slot-games__faq-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-2024-top-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-resources-2024-top-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-2024-top-slot-games__hero-image-wrapper {
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-resources-2024-top-slot-games__main-title {
    font-size: 1.8em;
  }

  .page-resources-2024-top-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-resources-2024-top-slot-games__hero-description {
    font-size: 0.9em;
  }

  .page-resources-2024-top-slot-games__btn-primary,
  .page-resources-2024-top-slot-games__btn-secondary,
  .page-resources-2024-top-slot-games__btn-tertiary {
    padding: 12px 20px;
  }
}