/* style/cash-withdrawal-slot-games.css */

/* Custom properties for brand colors */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-color: #ffffff;
  --section-bg-light: #f8f8f8; /* Light background for sections */
  --section-bg-dark: #222222; /* Dark background for sections (when body is dark) */
  --border-color: #e0e0e0;
}

/* Page specific styles */
.page-cash-withdrawal-slot-games {
  color: var(--light-text-color); /* Default text color for the page, assuming dark body bg */
  background-color: transparent; /* Main content background will be defined by sections */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* Sections with dark background (for direct text on body background) */
.page-cash-withdrawal-slot-games__dark-bg {
  background-color: var(--section-bg-dark); /* Dark background for sections */
  color: var(--light-text-color);
  padding: 60px 0;
}

/* Sections with light background (for cards/content blocks) */
.page-cash-withdrawal-slot-games__light-bg {
  background-color: var(--section-bg-light); /* Light background for sections */
  color: var(--dark-text-color);
  padding: 60px 0;
}

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

.page-cash-withdrawal-slot-games__main-title,
.page-cash-withdrawal-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color); /* Using brand color for titles */
  line-height: 1.2;
}

.page-cash-withdrawal-slot-games__main-title {
  font-size: 44px;
  color: var(--light-text-color);
}

.page-cash-withdrawal-slot-games__description {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cash-withdrawal-slot-games__highlight-text {
  font-weight: bold;
  color: var(--primary-color);
}

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

.page-cash-withdrawal-slot-games__btn-primary,
.page-cash-withdrawal-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.page-cash-withdrawal-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--dark-text-color); /* Dark text on gold button for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-cash-withdrawal-slot-games__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-cash-withdrawal-slot-games__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-cash-withdrawal-slot-games__btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-cash-withdrawal-slot-games__image-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-cash-withdrawal-slot-games__main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cash-withdrawal-slot-games__feature-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__feature-icon {
  width: 200px; /* Min 200x200px as per requirement */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-cash-withdrawal-slot-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color); /* Dark red for feature titles */
}

.page-cash-withdrawal-slot-games__feature-description {
  font-size: 16px;
  line-height: 1.6;
}

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

.page-cash-withdrawal-slot-games__game-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not small */
}

.page-cash-withdrawal-slot-games__game-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cash-withdrawal-slot-games__game-card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-cash-withdrawal-slot-games__note-text {
  font-size: 16px;
  text-align: center;
  margin-top: 40px;
  color: var(--light-text-color);
}

.page-cash-withdrawal-slot-games__link-inline {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cash-withdrawal-slot-games__link-inline:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-cash-withdrawal-slot-games__promo-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not small */
}

.page-cash-withdrawal-slot-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-cash-withdrawal-slot-games__promo-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-cash-withdrawal-slot-games__call-to-action {
  font-size: 18px;
  text-align: center;
  margin-top: 40px;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__news-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__news-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-cash-withdrawal-slot-games__news-content {
  padding: 25px;
}

.page-cash-withdrawal-slot-games__news-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-cash-withdrawal-slot-games__news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cash-withdrawal-slot-games__news-title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-cash-withdrawal-slot-games__news-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-cash-withdrawal-slot-games__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cash-withdrawal-slot-games__read-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-cash-withdrawal-slot-games__view-all-news {
  text-align: center;
  margin-top: 50px;
}

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

.page-cash-withdrawal-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cash-withdrawal-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-cash-withdrawal-slot-games__faq-item.active .page-cash-withdrawal-slot-games__faq-answer {
  max-height: 2000px !important; /* Use !important as requested */
  padding: 20px 15px !important; /* Use !important as requested */
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--dark-text-color);
}

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

.page-cash-withdrawal-slot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-cash-withdrawal-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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-cash-withdrawal-slot-games__faq-item.active .page-cash-withdrawal-slot-games__faq-toggle {
  color: var(--secondary-color); /* Dark red when active */
  transform: rotate(45deg); /* Rotate plus to minus */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cash-withdrawal-slot-games__main-title {
    font-size: 38px;
  }
  .page-cash-withdrawal-slot-games__section-title {
    font-size: 32px;
  }
  .page-cash-withdrawal-slot-games__description {
    font-size: 17px;
  }
  .page-cash-withdrawal-slot-games__cta-group {
    flex-direction: column;
    align-items: center;
  }
  .page-cash-withdrawal-slot-games__btn-primary,
  .page-cash-withdrawal-slot-games__btn-secondary {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-cash-withdrawal-slot-games {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  /* Force responsive images and containers */
  .page-cash-withdrawal-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  
  .page-cash-withdrawal-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cash-withdrawal-slot-games__main-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .page-cash-withdrawal-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-cash-withdrawal-slot-games__description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-cash-withdrawal-slot-games__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-cash-withdrawal-slot-games__btn-primary,
  .page-cash-withdrawal-slot-games__btn-secondary {
    width: 100%;
    min-width: unset;
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-cash-withdrawal-slot-games__features-grid,
  .page-cash-withdrawal-slot-games__game-grid,
  .page-cash-withdrawal-slot-games__promo-grid,
  .page-cash-withdrawal-slot-games__news-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-cash-withdrawal-slot-games__feature-card,
  .page-cash-withdrawal-slot-games__game-card,
  .page-cash-withdrawal-slot-games__promo-card,
  .page-cash-withdrawal-slot-games__news-card {
    padding: 20px;
  }

  .page-cash-withdrawal-slot-games__feature-icon {
    width: 120px; /* Adjust icon size for mobile */
    height: auto;
    margin-bottom: 15px;
  }

  .page-cash-withdrawal-slot-games__game-image,
  .page-cash-withdrawal-slot-games__promo-image {
    min-height: 150px;
  }

  .page-cash-withdrawal-slot-games__feature-title,
  .page-cash-withdrawal-slot-games__game-card-title,
  .page-cash-withdrawal-slot-games__promo-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-cash-withdrawal-slot-games__feature-description,
  .page-cash-withdrawal-slot-games__game-card-description,
  .page-cash-withdrawal-slot-games__promo-description,
  .page-cash-withdrawal-slot-games__news-excerpt {
    font-size: 14px;
    line-height: 1.5;
  }

  .page-cash-withdrawal-slot-games__news-image {
    height: 180px;
  }

  .page-cash-withdrawal-slot-games__news-content {
    padding: 20px;
  }

  .page-cash-withdrawal-slot-games__news-title {
    font-size: 18px;
  }

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