/* Base styles for the slot-game-introduction page */
.page-slot-game-introduction {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-slot-game-introduction__hero-section {
    position: relative;
    padding-top: 10px; /* Small padding, relying on body for header offset */
    padding-bottom: 40px;
    background: linear-gradient(135deg, #017439, #025a2e); /* Brand color gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-slot-game-introduction__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin-top: 20px;
    border-radius: 10px;
    object-fit: cover;
}

.page-slot-game-introduction__main-title {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-game-introduction__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-game-introduction__section {
    padding: 60px 0;
}

.page-slot-game-introduction__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #017439; /* Brand color for titles in light sections */
}

.page-slot-game-introduction__dark-bg {
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
}

.page-slot-game-introduction__dark-bg .page-slot-game-introduction__section-title {
    color: #ffffff; /* White title for dark background */
}

.page-slot-game-introduction__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333;
}

/* Buttons */
.page-slot-game-introduction__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-game-introduction__btn-primary:hover {
    background-color: #a00606;
}

.page-slot-game-introduction__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #017439; /* Brand color for secondary buttons */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    border: 2px solid #017439;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-game-introduction__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

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

.page-slot-game-introduction__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-game-introduction__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 400px; /* Recommended size for content images */
    height: 300px; /* Recommended size for content images */
    object-fit: cover;
}

.page-slot-game-introduction__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-game-introduction__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Game Types Grid */
.page-slot-game-introduction__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-slot-game-introduction__card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-game-introduction__card-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #017439;
}

/* Steps Grid */
.page-slot-game-introduction__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-slot-game-introduction__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

.page-slot-game-introduction__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for numbers */
    margin-bottom: 15px;
    display: block;
}

.page-slot-game-introduction__step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-slot-game-introduction__step-item p {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Tips List */
.page-slot-game-introduction__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-game-introduction__tips-list li {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-game-introduction__tip-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
}

/* Promotions Section */
.page-slot-game-introduction__promo-section {
    text-align: center;
    padding-bottom: 60px;
}

.page-slot-game-introduction__promo-banner {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    width: 800px; /* Recommended size */
    height: 240px; /* Recommended size */
    object-fit: cover;
}

/* FAQ Section */
details.page-slot-game-introduction__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-slot-game-introduction__faq-item summary.page-slot-game-introduction__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-game-introduction__faq-item summary.page-slot-game-introduction__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-introduction__faq-item summary.page-slot-game-introduction__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-game-introduction__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-slot-game-introduction__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-game-introduction__faq-item .page-slot-game-introduction__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
.page-slot-game-introduction__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-slot-game-introduction__conclusion-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-slot-game-introduction__conclusion-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-slot-game-introduction__conclusion-section a {
    color: #FFFF00; /* Yellow link in dark section */
    text-decoration: underline;
}
.page-slot-game-introduction__conclusion-section a:hover {
    color: #ffee00;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-game-introduction__main-title {
        font-size: 2.5em;
    }
    .page-slot-game-introduction__section-title {
        font-size: 2em;
    }
}

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

    .page-slot-game-introduction__hero-section {
        padding-top: 10px; /* Small padding, relying on body for header offset */
        padding-bottom: 30px;
    }

    .page-slot-game-introduction__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-slot-game-introduction__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-slot-game-introduction__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .page-slot-game-introduction img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Card/Grid layouts responsive */
    .page-slot-game-introduction__features-grid,
    .page-slot-game-introduction__game-types-grid,
    .page-slot-game-introduction__steps-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-slot-game-introduction__feature-card,
    .page-slot-game-introduction__step-item {
        padding: 20px;
    }

    .page-slot-game-introduction__feature-card img {
        width: 100%; /* Ensure images fill card width */
        height: auto;
    }

    .page-slot-game-introduction__tips-list li {
        padding: 15px;
        margin-bottom: 15px;
    }

    .page-slot-game-introduction__tip-title {
        font-size: 1.1em;
    }

    /* Buttons responsive */
    .page-slot-game-introduction__btn-primary,
    .page-slot-game-introduction__btn-secondary,
    .page-slot-game-introduction a[class*="button"],
    .page-slot-game-introduction 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-game-introduction__cta-buttons,
    .page-slot-game-introduction__button-group,
    .page-slot-game-introduction__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    /* FAQ responsive */
    details.page-slot-game-introduction__faq-item summary.page-slot-game-introduction__faq-question { padding: 15px; }
    .page-slot-game-introduction__faq-qtext { font-size: 15px; }
    details.page-slot-game-introduction__faq-item .page-slot-game-introduction__faq-answer { padding: 0 15px 15px; }
}