/* style/slot-games.css */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

/* Fixed header offset */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Yellow for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Primary brand color for hero background */
}

.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;
    opacity: 0.6; /* Slightly dim image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text */
    border-radius: 10px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for H1 */
    font-weight: 900;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-large {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* For button text wrapping */
    word-wrap: break-word; /* For button text wrapping */
}

/* Custom colors for Register/Login type buttons */
.page-slot-games__btn-primary {
    background-color: #C30808; /* Red for register/primary action */
    color: #FFFF00; /* Yellow text for register/primary action */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow text for secondary action */
    border: 2px solid #FFFF00;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-slot-games__btn-play {
    background-color: #017439; /* Brand primary for play buttons */
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-slot-games__btn-play:hover {
    background-color: #02944b;
    border-color: #02944b;
}

.page-slot-games__btn-large {
    font-size: 1.5em;
    padding: 20px 40px;
}

/* Dark sections for contrast */
.page-slot-games__dark-section {
    background-color: #017439; /* Primary brand color */
    padding: 60px 0;
    color: #ffffff; /* Light text for dark background */
}

.page-slot-games__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff; /* Light text for dark body background */
}

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

.page-slot-games__benefit-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    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;
    color: #ffffff;
}

.page-slot-games__benefit-icon {
    width: 200px; /* Min size for image */
    height: 150px; /* Min size for image */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__benefit-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for card titles */
    margin-bottom: 15px;
}

.page-slot-games__benefit-description {
    font-size: 1em;
    color: #ffffff;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
    padding: 60px 0;
}

.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-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow for game titles */
    margin-bottom: 10px;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1; /* Make description take available space */
}

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

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

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    position: relative;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C30808; /* Red for step number */
    color: #FFFF00; /* Yellow for step number text */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #FFFF00;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-slot-games__how-to-play-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

.page-slot-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__promotion-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games__promotion-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-slot-games__promotion-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 60px 0;
    background-color: #1a1a2e;
    color: #ffffff;
}

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

.page-slot-games__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-slot-games__tip-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-slot-games__tip-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

/* Security Section */
.page-slot-games__security-section {
    padding: 60px 0;
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #1a1a2e;
    color: #ffffff;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Primary brand color for question background */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #02944b;
}

.page-slot-games__faq-title {
    font-size: 1.2em;
    color: #ffffff; /* Text color for question title */
    margin: 0;
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow for toggle icon */
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or rotate to minus) */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 20px 25px;
}