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

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

.page-slot-games__section-spacing {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 38px;
    font-weight: 700;
    color: #E53935;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #FF5A4F;
}

.page-slot-games__hero-content .page-slot-games__description {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.4);
}

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

/* Introduction Section */
.page-slot-games__introduction-section .page-slot-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Advantages Section */
.page-slot-games__dark-section {
    background-color: #E53935;
    color: #ffffff;
}

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

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

.page-slot-games__advantage-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-slot-games__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__advantage-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #E53935;
}

.page-slot-games__card-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

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

.page-slot-games__game-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

.page-slot-games__game-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935;
    margin: 20px 15px 10px;
}

.page-slot-games__game-description {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 15px 20px;
    text-align: justify;
}

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

.page-slot-games__step-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.page-slot-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-slot-games__step-card .page-slot-games__card-title {
    font-size: 22px;
    color: #333333;
    margin-top: 0;
}

.page-slot-games__btn-link {
    display: inline-block;
    margin-top: auto; /* Push link to bottom */
    color: #E53935;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.page-slot-games__btn-link:hover {
    color: #FF5A4F;
    text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* 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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #E53935;
  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;
  color: #333333;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.page-slot-games__faq-answer .page-slot-games__btn-link {
    margin-top: 10px;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
    background-color: #E53935;
    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__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-slot-games__cta-final-section .page-slot-games__cta-buttons {
    margin-top: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__hero-content .page-slot-games__description {
        font-size: 20px;
    }
    .page-slot-games__advantages-grid,
    .page-slot-games__game-grid,
    .page-slot-games__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-spacing {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }

    /* Hero Section */
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-slot-games__hero-image {
        object-fit: contain !important;
    }
    .page-slot-games__hero-content {
        padding: 10px;
    }
    .page-slot-games__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-content .page-slot-games__description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Image & Container Adaption */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .page-slot-games__container,
    .page-slot-games__section-spacing,
    .page-slot-games__advantage-card,
    .page-slot-games__game-card,
    .page-slot-games__step-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Advantages Section */
    .page-slot-games__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__advantage-card {
        padding: 20px;
    }
    .page-slot-games__card-title {
        font-size: 20px;
    }
    .page-slot-games__advantage-icon {
        max-width: 120px;
    }

    /* Popular Games Section */
    .page-slot-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__game-title {
        font-size: 20px;
    }
    .page-slot-games__game-description {
        font-size: 14px;
    }
    .page-slot-games__game-iframe {
        height: 200px;
    }

    /* Guide Section */
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__step-card {
        min-height: unset;
        padding: 25px;
    }
    .page-slot-games__step-number {
        width: 40px;
        height: 40px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-slot-games__step-card .page-slot-games__card-title {
        font-size: 20px;
    }

    /* 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;
    }

    /* Final CTA Section */
    .page-slot-games__cta-final-section .page-slot-games__text-block {
        margin-bottom: 30px;
    }
}