/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Body background from shared */
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #017439; /* Brand primary color for titles */
  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: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: justify;
}

.page-slot-games__highlight-text {
  color: #017439;
  font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-slot-games__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

/* Specific button colors for Register/Login if needed */
.page-slot-games__hero-actions .page-slot-games__btn-primary {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Register and Login font color */
}

.page-slot-games__hero-actions .page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-slot-games__hero-actions .page-slot-games__btn-secondary {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Register and Login font color */
}

.page-slot-games__hero-actions .page-slot-games__btn-secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}


/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-slot-games__features-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__features-section .page-slot-games__section-title::after {
  background-color: #FFFFFF;
}

.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: #FFFFFF; /* Light background for card */
  color: #333333; /* Dark text for card */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-slot-games__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__feature-card .page-slot-games__card-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-slot-games__feature-card .page-slot-games__card-description {
  font-size: 1rem;
  padding: 0 20px;
  text-align: justify;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-slot-games__benefit-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__benefit-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__benefit-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 1rem;
  text-align: justify;
}

.page-slot-games__cta-section {
  text-align: center;
  margin-top: 60px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-slot-games__guide-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__guide-section .page-slot-games__section-title::after {
  background-color: #FFFFFF;
}

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

.page-slot-games__step-card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-card .page-slot-games__card-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__card-description {
  font-size: 1rem;
  text-align: justify;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__step-card .page-slot-games__btn-primary,
.page-slot-games__step-card .page-slot-games__btn-secondary {
  margin-top: auto;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-slot-games__strategy-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__strategy-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__strategy-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__strategy-description {
  font-size: 1rem;
  text-align: justify;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__faq-section .page-slot-games__section-title::after {
  background-color: #FFFFFF;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-question:hover {
  background-color: #e5e5e5;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: #017439;
  font-size: 1.2rem;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1rem;
  text-align: justify;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-slot-games__link-inline {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__link-inline:hover {
  color: #005a2d;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
  }
  .page-slot-games__text-block {
    font-size: 1rem;
  }
  .page-slot-games__feature-image,
  .page-slot-games__benefit-image,
  .page-slot-games__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__feature-card,
  .page-slot-games__benefit-item,
  .page-slot-games__step-card,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__cta-final {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8rem;
  }
  .page-slot-games__hero-description {
    font-size: 0.9rem;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
  }
  .page-slot-games__feature-card .page-slot-games__card-title,
  .page-slot-games__benefit-title,
  .page-slot-games__step-card .page-slot-games__card-title,
  .page-slot-games__strategy-title {
    font-size: 1.5rem;
  }
}