/* General Styling for page-slot-games */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background: #08160F; /* Background */
    line-height: 1.6;
}

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

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

.page-slot-games__section--intro {
    background: #0A4B2C; /* Deep Green */
}

.page-slot-games__section--types {
    background: #08160F; /* Background */
}

.page-slot-games__section--guide {
    background: #11271B; /* Card BG */
}

.page-slot-games__section--tips {
    background: #0A4B2C; /* Deep Green */
}

.page-slot-games__section--advantages {
    background: linear-gradient(180deg, #11A84E 0%, #0A4B2C 100%); /* Blend of Primary and Deep Green */
}

.page-slot-games__section--promotions {
    background: #08160F; /* Background */
}

.page-slot-games__section--faq {
    background: #11271B; /* Card BG */
}

/* Titles */
.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: #08160F;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-slot-games__hero-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 20px 60px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(38px, 5vw, 56px); /* Use clamp for H1 */
    font-weight: 800;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
    font-size: clamp(18px, 2vw, 22px);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold border */
}

.page-slot-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Text Block */
.page-slot-games__text-block {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 15px;
    font-size: 17px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__text-block p {
    margin-bottom: 20px;
}

.page-slot-games__text-block strong {
    color: #F2C14E; /* Gold */
}

/* Lists */
.page-slot-games__list {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__list li {
    margin-bottom: 10px;
}

.page-slot-games__guide-list {
    list-style: decimal;
    padding-left: 30px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__guide-list li {
    margin-bottom: 15px;
}

/* Game Showcase */
.page-slot-games__game-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__game-card {
    background: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-slot-games__game-description {
    font-size: 15px;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 15px 20px;
}

/* Advantage Grid */
.page-slot-games__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__advantage-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__advantage-card img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #57E38D); /* Glow */
}

.page-slot-games__advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-slot-games__advantage-description {
    font-size: 15px;
    color: #A7D9B8; /* Text Secondary */
}

/* Promotion Image */
.page-slot-games__promo-image {
    text-align: center;
    margin-top: 40px;
    padding: 0 15px;
}

.page-slot-games__promo-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #0A4B2C; /* Deep Green */
}
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: #11A84E; /* Primary color */
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-slot-games__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Wider for better click target */
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #11271B; /* Card BG */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Text Secondary */
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
    margin-bottom: 0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-image img {
        max-height: 400px;
    }
    .page-slot-games__main-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }
    .page-slot-games__hero-description {
        font-size: clamp(16px, 1.8vw, 20px);
    }
    .page-slot-games__section-title {
        font-size: clamp(26px, 3.5vw, 34px);
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-slot-games__game-card img {
        
    }
    .page-slot-games__game-title {
        font-size: 20px;
    }
    .page-slot-games__advantage-card img {
        
        
    }
    .page-slot-games__advantage-title {
        font-size: 18px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
}

@media (max-width: 849px) {
    .page-slot-games__hero-image img {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        max-height: 350px;
    }
}

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

    .page-slot-games__section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-slot-games__hero-section {
        padding-top: 10px; /* Consistent small padding */
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image {
        margin-bottom: 15px;
    }
    
    .page-slot-games__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: 300px;
    }

    .page-slot-games__hero-content {
        padding: 0 15px 40px;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 38px);
        margin-bottom: 10px;
    }

    .page-slot-games__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* Buttons */
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 16px;
    }

    .page-slot-games__text-block {
        font-size: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__list,
    .page-slot-games__guide-list {
        padding-left: 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Game Showcase */
    .page-slot-games__game-showcase {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-slot-games__game-card img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__game-title {
        font-size: 20px;
    }

    .page-slot-games__game-description {
        font-size: 14px;
    }

    /* Advantage Grid */
    .page-slot-games__advantage-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-slot-games__advantage-card img {
        
        
        max-width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__advantage-title {
        font-size: 18px;
    }
    .page-slot-games__advantage-description {
        font-size: 14px;
    }

    /* Promotion Image */
    .page-slot-games__promo-image {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__promo-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ */
    .page-slot-games__faq-list {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-qtext {
        font-size: 15px;
    }
    .page-slot-games__faq-toggle {
        font-size: 22px;
        width: 26px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and container responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section, .page-slot-games__container {
        overflow-x: hidden;
    }
}