/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background #F4F7FB */
    background: #F4F7FB; /* Page background color */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section:nth-of-type(even) {
    background-color: #ffffff; /* Alternate section background */
}

.page-slot-games__section-title {
    font-size: 36px;
    color: #1F2D3D; /* Main text color */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__sub-title {
    font-size: 24px;
    color: #1F2D3D;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #2F6BFF; /* Brand color for hero background */
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
    text-align: center;
}

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

.page-slot-games__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background: #f0f0f0;
    color: #2F6BFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-slot-games__btn-link {
    background: none;
    border: 2px solid #2F6BFF;
    color: #2F6BFF;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

.page-slot-games__btn-link:hover {
    background: #2F6BFF;
    color: #ffffff;
}

/* Cards */
.page-slot-games__card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #D6E2FF;
}

.page-slot-games__card-title {
    font-size: 22px;
    color: #1F2D3D;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

/* Why Choose Section */
.page-slot-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-slot-games__why-choose-card p {
    font-size: 16px;
    color: #333333;
}

/* How to Start Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.page-slot-games__step-item {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #D6E2FF;
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: #2F6BFF;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-slot-games__step-title {
    font-size: 22px;
    color: #1F2D3D;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__step-item p {
    font-size: 16px;
    color: #333333;
    flex-grow: 1;
}

.page-slot-games__step-item .page-slot-games__btn-link {
    margin-top: 20px;
}

/* Promotions Section */
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-slot-games__promo-card {
    padding: 30px;
    text-align: left;
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: #1F2D3D;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__promo-card p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 25px;
}

/* Security & Support Section */
.page-slot-games__security-support {
    background-color: #F4F7FB;
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__text-block p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333333;
}

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image-block .page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* Download App Section */
.page-slot-games__download-app {
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
    padding: 80px 0;
}

.page-slot-games__download-app .page-slot-games__section-title,
.page-slot-games__download-app .page-slot-games__sub-title {
    color: #ffffff;
}

.page-slot-games__download-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-slot-games__download-app-text {
    flex: 1;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 16px;
}

.page-slot-games__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-slot-games__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #A5C4FF;
}

.page-slot-games__download-app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__download-app-image .page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #F4F7FB;
}

.page-slot-games__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #ffffff;
}
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;
  color: #1F2D3D;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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;
  text-align: left;
  color: #333333;
}
.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #333333;
}

/* General image responsive styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__main-title {
        font-size: 42px;
    }
    .page-slot-games__why-choose-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-slot-games__content-wrapper,
    .page-slot-games__download-app-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-slot-games__image-block,
    .page-slot-games__download-app-image {
        order: -1;
    }
    .page-slot-games__text-block,
    .page-slot-games__download-app-text {
        text-align: center;
    }
    .page-slot-games__text-block .page-slot-games__btn-primary {
        margin: 0 auto;
    }
}


@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__sub-title {
        font-size: 20px;
    }

    /* Banner __hero-section */
    .page-slot-games__hero-section {
        padding-top: 10px;
        min-height: 400px;
    }
    .page-slot-games__hero-image {
        max-height: 300px;
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games__main-title {
        font-size: 32px;
    }
    .page-slot-games__description {
        font-size: 16px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Buttons responsive */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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__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-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    /* Why Choose Section (similar to category-lobby for grid behavior) */
    .page-slot-games__why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__why-choose-card {
        padding: 25px;
    }
    .page-slot-games__card-image {
        aspect-ratio: 1/1;
        border: none;
        box-shadow: none;
    }

    /* How to Start Section */
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__step-item {
        padding: 25px;
    }
    .page-slot-games__step-number {
        top: -15px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .page-slot-games__step-title {
        margin-top: 15px;
        font-size: 20px;
    }

    /* Promotions Section */
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__promo-card {
        padding: 25px;
        text-align: center;
    }

    /* Security & Support Section */
    .page-slot-games__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-slot-games__text-block,
    .page-slot-games__image-block {
        text-align: center;
    }
    .page-slot-games__text-block .page-slot-games__btn-primary {
        margin: 0 auto;
    }

    /* Download App Section */
    .page-slot-games__download-app-content {
        flex-direction: column;
        gap: 20px;
        padding: 40px 15px;
    }
    .page-slot-games__download-app-text,
    .page-slot-games__download-app-image {
        text-align: center;
    }
    .page-slot-games__download-app-text .page-slot-games__btn-primary {
        margin: 0 auto;
    }
    .page-slot-games__list {
        text-align: left;
        padding-left: 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: 20px; width: 24px; height: 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; }

    /* General Image and container overflow protection */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__content-wrapper,
    .page-slot-games__download-app-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}