/* Base Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

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

.page-slot-games__section-title {
    font-size: 32px;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #017439;
}

.page-slot-games p {
    margin-bottom: 15px;
    font-size: 16px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-claim {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-slot-games__btn-play,
.page-slot-games__btn-claim {
    background: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-slot-games__btn-play:hover,
.page-slot-games__btn-claim:hover {
    background: #a10707;
    border-color: #a10707;
}

.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555555;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__why-choose-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__why-choose-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

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

.page-slot-games__feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-slot-games__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-slot-games__feature-card p {
    font-size: 15px;
    color: #f0f0f0;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-slot-games__games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__game-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

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

.page-slot-games__game-title {
    font-size: 20px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-card p {
    font-size: 14px;
    color: #666666;
    padding: 0 15px;
    margin-bottom: 20px;
}

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

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #017439;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 20px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding-bottom: 20px;
}

.page-slot-games__promo-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__promo-card p {
    font-size: 14px;
    color: #f0f0f0;
    padding: 0 15px;
    margin-bottom: 20px;
}

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

/* Tips & Strategies Section */
.page-slot-games__tips-strategies-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-slot-games__tip-title {
    font-size: 22px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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-list {
    margin-top: 40px;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-final-section .page-slot-games__section-title::after {
    background-color: #ffffff;
}

.page-slot-games__cta-final-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        height: 500px;
    }
    .page-slot-games__main-title {
        font-size: 40px;
    }
    .page-slot-games__features-grid,
    .page-slot-games__games-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-slot-games__section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }
    .page-slot-games__hero-image-wrapper {
        height: 400px;
    }
    .page-slot-games__hero-image {
        object-fit: contain !important; /* Banner 849px contain */
    }
    .page-slot-games__hero-content {
        padding: 40px 0;
    }
    .page-slot-games__main-title {
        font-size: 32px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games__btn-claim {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        font-size: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__why-choose-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__tips-strategies-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section {
        padding: 50px 0;
    }
    .page-slot-games__features-grid,
    .page-slot-games__games-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title,
    .page-slot-games__tip-title {
        font-size: 18px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__tip-item {
        padding: 20px;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 15px; }
}

/* Ensure all image containers are responsive */
.page-slot-games__hero-image-wrapper,
.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__tip-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}