.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #017439; /* Brand color as fallback */
    padding-top: 10px; /* Small top padding for first section */
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-slot-games__hero-content {
    padding: 40px 15px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    color: #FFFFFF;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for title */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* General Sections */
.page-slot-games__intro-section,
.page-slot-games__why-choose,
.page-slot-games__how-to-play,
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__popular-games,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-card,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Custom color for primary button */
    color: #FFFF00; /* Custom color for button text */
    border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom color for button text */
    border: 2px solid #FFFF00; /* Custom color for border */
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-slot-games__btn-card {
    background-color: #017439;
    color: #FFFFFF;
    border: 1px solid #017439;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

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

.page-slot-games__btn-link {
    background-color: #017439;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
}

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

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

.page-slot-games__game-card,
.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
}

.page-slot-games__game-thumbnail,
.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__game-title,
.page-slot-games__promo-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-description,
.page-slot-games__promo-description {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-slot-games__view-all-games,
.page-slot-games__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

/* Features Grid */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-slot-games__feature-item {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 16px;
    text-align: center;
}

/* How to Play Steps */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__step-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-slot-games__step-item p {
    font-size: 17px;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 30px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333; /* Ensure text is dark on light background */
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 28px; /* Slightly larger for visibility */
  font-weight: bold;
  color: #017439; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-slot-games__faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 42px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* General content area padding */
    .page-slot-games__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }
    .page-slot-games__hero-image {
        object-fit: contain; /* Ensure image is fully visible */
        width: 100%;
        height: auto;
    }
    .page-slot-games__hero-content {
        padding: 25px 15px;
    }
    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
        color: #FFFF00;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-slot-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    /* General Sections */
    .page-slot-games__intro-section,
    .page-slot-games__popular-games,
    .page-slot-games__why-choose,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }

    /* Images */
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    /* Buttons */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-card,
    .page-slot-games__btn-link,
    .page-slot-games a[class*="button"],
    .page-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-slot-games__hero-cta,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    /* Game Grid / Promo Grid / Features Grid */
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-slot-games__game-card,
    .page-slot-games__promo-card {
        padding-bottom: 15px;
    }
    .page-slot-games__game-thumbnail,
    .page-slot-games__promo-image {
        height: auto; /* Allow height to adjust */
    }
    .page-slot-games__game-title,
    .page-slot-games__promo-title {
        font-size: 20px;
    }
    .page-slot-games__game-description,
    .page-slot-games__promo-description {
        font-size: 15px;
    }
    .page-slot-games__feature-item {
        padding: 25px 15px;
    }
    .page-slot-games__feature-title {
        font-size: 20px;
    }
    .page-slot-games__feature-description {
        font-size: 15px;
    }

    /* How to Play Steps */
    .page-slot-games__step-item {
        padding: 20px;
    }
    .page-slot-games__step-title {
        font-size: 22px;
    }
    .page-slot-games__step-item p {
        font-size: 15px;
    }

    /* FAQ Section */
    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 16px; }
    .page-slot-games__faq-toggle { font-size: 24px; }
    details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
    .page-slot-games__faq-answer p { font-size: 15px; }
}