/* style/game-strategies-tips-slot-machine-strategy.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --background-dark: #000;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-game-strategies-tips-slot-machine-strategy {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--light-text-color); /* Default text color for the page content, considering body is dark */
    background-color: var(--background-dark); /* Inherited from body */
}

.page-game-strategies-tips-slot-machine-strategy__hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 180px 20px 80px; /* Desktop: Adjust padding-top for fixed header */
    text-align: center;
    color: var(--light-text-color);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.page-game-strategies-tips-slot-machine-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-game-strategies-tips-slot-machine-strategy__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-game-strategies-tips-slot-machine-strategy__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-game-strategies-tips-slot-machine-strategy__subtitle a {
    color: var(--light-text-color);
    text-decoration: underline;
}

.page-game-strategies-tips-slot-machine-strategy__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #FFD700; /* Gold-like color for primary CTA */
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-game-strategies-tips-slot-machine-strategy__cta-button:hover {
    background-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-tips-slot-machine-strategy__cta-button--secondary {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    margin-top: 20px;
}

.page-game-strategies-tips-slot-machine-strategy__cta-button--secondary:hover {
    background-color: #218838;
}

.page-game-strategies-tips-slot-machine-strategy__section {
    padding: 60px 0;
    box-sizing: border-box;
}

.page-game-strategies-tips-slot-machine-strategy__dark-bg {
    background-color: var(--background-dark);
    color: var(--light-text-color);
}

.page-game-strategies-tips-slot-machine-strategy__light-bg {
    background-color: var(--background-light);
    color: var(--dark-text-color);
}

.page-game-strategies-tips-slot-machine-strategy__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from section background */
}

.page-game-strategies-tips-slot-machine-strategy__sub-section-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit; /* Inherit color from section background */
}

.page-game-strategies-tips-slot-machine-strategy__content-block p,
.page-game-strategies-tips-slot-machine-strategy__content-block ul,
.page-game-strategies-tips-slot-machine-strategy__content-block li {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: inherit;
}

.page-game-strategies-tips-slot-machine-strategy__content-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-game-strategies-tips-slot-machine-strategy__content-block a:hover {
    text-decoration: underline;
}

.page-game-strategies-tips-slot-machine-strategy__list {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-game-strategies-tips-slot-machine-strategy__list li {
    margin-bottom: 10px;
}

.page-game-strategies-tips-slot-machine-strategy__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-game-strategies-tips-slot-machine-strategy__card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--dark-text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies-tips-slot-machine-strategy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-game-strategies-tips-slot-machine-strategy__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-game-strategies-tips-slot-machine-strategy__card-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.page-game-strategies-tips-slot-machine-strategy__card p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--dark-text-color);
}

/* FAQ Styles */
.page-game-strategies-tips-slot-machine-strategy__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-game-strategies-tips-slot-machine-strategy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-game-strategies-tips-slot-machine-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-game-strategies-tips-slot-machine-strategy__faq-item.active .page-game-strategies-tips-slot-machine-strategy__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--dark-text-color);
}

.page-game-strategies-tips-slot-machine-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--dark-text-color);
}

.page-game-strategies-tips-slot-machine-strategy__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-game-strategies-tips-slot-machine-strategy__faq-question:active {
    background: #eeeeee;
}

.page-game-strategies-tips-slot-machine-strategy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: inherit;
}

.page-game-strategies-tips-slot-machine-strategy__faq-question a {
    color: var(--primary-color);
    text-decoration: none;
    pointer-events: auto;
}

.page-game-strategies-tips-slot-machine-strategy__faq-question a:hover {
    text-decoration: underline;
}

.page-game-strategies-tips-slot-machine-strategy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-game-strategies-tips-slot-machine-strategy__faq-item.active .page-game-strategies-tips-slot-machine-strategy__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

.page-game-strategies-tips-slot-machine-strategy__faq-answer p {
    color: var(--dark-text-color);
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 10px;
}

.page-game-strategies-tips-slot-machine-strategy__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-game-strategies-tips-slot-machine-strategy__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategies-tips-slot-machine-strategy__main-title {
        font-size: 2.8em;
    }
    .page-game-strategies-tips-slot-machine-strategy__section-title {
        font-size: 2em;
    }
    .page-game-strategies-tips-slot-machine-strategy__card-title {
        font-size: 1.3em;
    }
    .page-game-strategies-tips-slot-machine-strategy__content-block p,
    .page-game-strategies-tips-slot-machine-strategy__content-block ul,
    .page-game-strategies-tips-slot-machine-strategy__content-block li,
    .page-game-strategies-tips-slot-machine-strategy__card p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-game-strategies-tips-slot-machine-strategy__hero-banner {
        padding: 160px 15px 60px !important; /* Mobile: Adjust padding-top for fixed header */
    }
    .page-game-strategies-tips-slot-machine-strategy__main-title {
        font-size: 2.2em;
    }
    .page-game-strategies-tips-slot-machine-strategy__subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-game-strategies-tips-slot-machine-strategy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-strategies-tips-slot-machine-strategy__section {
        padding: 40px 0;
    }
    .page-game-strategies-tips-slot-machine-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-strategies-tips-slot-machine-strategy__sub-section-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-game-strategies-tips-slot-machine-strategy__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-strategies-tips-slot-machine-strategy__card {
        padding: 20px;
    }
    .page-game-strategies-tips-slot-machine-strategy__content-block p,
    .page-game-strategies-tips-slot-machine-strategy__content-block ul,
    .page-game-strategies-tips-slot-machine-strategy__content-block li,
    .page-game-strategies-tips-slot-machine-strategy__card p {
        font-size: 0.95em;
    }
    .page-game-strategies-tips-slot-machine-strategy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-game-strategies-tips-slot-machine-strategy__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-game-strategies-tips-slot-machine-strategy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-game-strategies-tips-slot-machine-strategy__faq-answer {
        padding: 0 15px;
    }
    .page-game-strategies-tips-slot-machine-strategy__faq-item.active .page-game-strategies-tips-slot-machine-strategy__faq-answer {
        padding: 15px !important;
    }
    /* Ensure all images are responsive and prevent overflow */
    .page-game-strategies-tips-slot-machine-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-strategies-tips-slot-machine-strategy__section,
    .page-game-strategies-tips-slot-machine-strategy__card,
    .page-game-strategies-tips-slot-machine-strategy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}