/* style/slot-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --btn-login-register-text: #FFFF00;
}

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

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d2b 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--btn-login-register-text); /* #FFFF00 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--btn-register-bg); /* #C30808 */
  color: var(--btn-login-register-text); /* #FFFF00 */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: #a30606; /* Slightly darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__cta-button--secondary:hover {
  background: #005a2e;
}

.page-slot-games__cta-button--white {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-slot-games__cta-button--white:hover {
  background: #e0e0e0;
  color: var(--primary-color);
}

/* Content Wrapper for text and image side-by-side */
.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

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

.page-slot-games__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
}

.page-slot-games__image-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__list {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-slot-games__list li {
  margin-bottom: 10px;
}

.page-slot-games__list strong {
  color: var(--primary-color);
}

/* Grid layout for game types and promotions */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__card-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

/* Strategy Cards */
.page-slot-games__grid--strategy {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-slot-games__card--strategy {
  padding: 25px;
  text-align: left;
  background: var(--bg-light);
  border: 1px solid #d0d0d0;
}

.page-slot-games__card--strategy .page-slot-games__card-title {
  font-size: 20px;
  color: var(--text-dark);
}

/* Advantages Section */
.page-slot-games__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--btn-login-register-text); /* #FFFF00 */
}

.page-slot-games__dark-section .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-slot-games__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  transition: background-color 0.3s ease;
  height: 100%;
}

.page-slot-games__feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-slot-games__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.5)); /* Make icons white */
}

.page-slot-games__feature-item h3 {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-slot-games__promo-card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__promo-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__promo-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-slot-games__promo-link:hover {
  color: #005a2e;
  text-decoration: underline;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light);
  border-radius: 0 0 5px 5px;
  text-align: left;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: var(--bg-light);
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change to X or rotate for minus sign */
}

/* Final CTA Section */
.page-slot-games__section--cta-final {
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 60px 20px;
  border-radius: 10px;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--btn-login-register-text); /* #FFFF00 */
}

.page-slot-games__dark-bg .page-slot-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 40px;
  }

  .page-slot-games__hero-description {
    font-size: 18px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .page-slot-games__image-block {
    margin-top: 30px;
  }

  .page-slot-games__list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__hero-image img {
    border-radius: 4px;
  }
  
  .page-slot-games__hero-title {
    font-size: 32px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
  }

  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: 28px;
  }

  .page-slot-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 20px;
  }

  .page-slot-games__card-text {
    font-size: 15px;
  }

  .page-slot-games__feature-item img {
    
    
  }

  .page-slot-games__feature-item h3 {
    font-size: 18px;
  }

  .page-slot-games__feature-item p {
    font-size: 14px;
  }

  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__promo-title {
    font-size: 20px;
  }

  .page-slot-games__promo-text {
    font-size: 15px;
  }

  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive in content area */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__content-wrapper,
  .page-slot-games__text-block,
  .page-slot-games__image-block,
  .page-slot-games__grid,
  .page-slot-games__features-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container,
  .page-slot-games__cta-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}