/* style/resources-kubet-game-strategy.css */

/* General styles for the page content */
.page-resources-kubet-game-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

/* Section padding and spacing */
.page-resources-kubet-game-strategy__section {
    padding: 60px 20px;
    text-align: center;
}

/* Container for content width limitation */
.page-resources-kubet-game-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for mobile */
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-kubet-game-strategy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    color: #ffffff;
    background-color: #0a0a0a; /* Ensure dark background for hero if image doesn't cover all */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-kubet-game-strategy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-resources-kubet-game-strategy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Slightly darken image for text readability */
}

.page-resources-kubet-game-strategy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.page-resources-kubet-game-strategy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-kubet-game-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-kubet-game-strategy__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Section Titles */
.page-resources-kubet-game-strategy__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #ffffff; /* Light text for dark body background */
    font-weight: bold;
}

/* Paragraphs */
.page-resources-kubet-game-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Links within paragraphs */
.page-resources-kubet-game-strategy__paragraph a {
    color: #017439; /* Brand primary color for links */
    text-decoration: underline;
}
.page-resources-kubet-game-strategy__paragraph a:hover {
    color: #00a050;
}

/* Buttons - General */
.page-resources-kubet-game-strategy__btn-primary,
.page-resources-kubet-game-strategy__btn-secondary,
.page-resources-kubet-game-strategy__btn-register,
.page-resources-kubet-game-strategy__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Primary Button */
.page-resources-kubet-game-strategy__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-kubet-game-strategy__btn-primary:hover {
    background-color: #00a050;
    border-color: #00a050;
}

/* Secondary Button */
.page-resources-kubet-game-strategy__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-kubet-game-strategy__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #017439;
}

/* Register Button (Custom Color) */
.page-resources-kubet-game-strategy__btn-register {
    background-color: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register font color */
    border: 2px solid #C30808;
}

.page-resources-kubet-game-strategy__btn-register:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

/* Login Button (Custom Color) */
.page-resources-kubet-game-strategy__btn-login {
    background-color: #C30808; /* Custom Login color */
    color: #FFFF00; /* Custom Login font color */
    border: 2px solid #C30808;
}

.page-resources-kubet-game-strategy__btn-login:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}


/* Dark Background Sections (for primary brand color) */
.page-resources-kubet-game-strategy__dark-bg {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
}
.page-resources-kubet-game-strategy__dark-bg .page-resources-kubet-game-strategy__section-title {
    color: #ffffff;
}
.page-resources-kubet-game-strategy__dark-bg .page-resources-kubet-game-strategy__paragraph {
    color: #f8f8f8;
}

/* Content Images */
.page-resources-kubet-game-strategy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Strategy Cards */
.page-resources-kubet-game-strategy__game-strategies {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-resources-kubet-game-strategy__strategy-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white card for dark background */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-kubet-game-strategy__card-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-resources-kubet-game-strategy__card-description {
    font-size: 1.05em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-resources-kubet-game-strategy__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Lists */
.page-resources-kubet-game-strategy__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-resources-kubet-game-strategy__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* CTA Section */
.page-resources-kubet-game-strategy__cta-section {
    background-color: #0a0a0a;
    padding: 80px 20px;
}

.page-resources-kubet-game-strategy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-resources-kubet-game-strategy__faq-section {
    background-color: #1a1a1a;
    padding-bottom: 80px;
}

.page-resources-kubet-game-strategy__faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-resources-kubet-game-strategy__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-resources-kubet-game-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-resources-kubet-game-strategy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-resources-kubet-game-strategy__faq-item[open] .page-resources-kubet-game-strategy__faq-question {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.page-resources-kubet-game-strategy__faq-qtext {
    flex-grow: 1;
}

.page-resources-kubet-game-strategy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-kubet-game-strategy__faq-item[open] .page-resources-kubet-game-strategy__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' */
}

.page-resources-kubet-game-strategy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

.page-resources-kubet-game-strategy__faq-answer p {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-resources-kubet-game-strategy__conclusion-section {
    padding: 80px 20px;
    background-color: #017439; /* Brand primary color */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-kubet-game-strategy__hero-title {
        font-size: 2.8em;
    }
    .page-resources-kubet-game-strategy__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-kubet-game-strategy__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-kubet-game-strategy__hero-title {
        font-size: 2.2em;
    }
    .page-resources-kubet-game-strategy__hero-description {
        font-size: 1em;
    }
    .page-resources-kubet-game-strategy__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure buttons take full width */
    }
    .page-resources-kubet-game-strategy__btn-primary,
    .page-resources-kubet-game-strategy__btn-secondary,
    .page-resources-kubet-game-strategy__btn-register,
    .page-resources-kubet-game-strategy__btn-login {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-kubet-game-strategy__section {
        padding: 40px 15px;
    }
    .page-resources-kubet-game-strategy__container {
        padding: 0; /* Remove horizontal padding as sections have it */
    }

    .page-resources-kubet-game-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-resources-kubet-game-strategy__paragraph {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-resources-kubet-game-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images or content */
    .page-resources-kubet-game-strategy__section,
    .page-resources-kubet-game-strategy__card,
    .page-resources-kubet-game-strategy__container,
    .page-resources-kubet-game-strategy__hero-content,
    .page-resources-kubet-game-strategy__cta-buttons,
    .page-resources-kubet-game-strategy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific adjustment for strategy cards to maintain padding */
    .page-resources-kubet-game-strategy__strategy-card {
        padding: 20px 15px;
    }

    .page-resources-kubet-game-strategy__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-kubet-game-strategy__faq-answer {
        padding: 0 20px 15px;
    }
    .page-resources-kubet-game-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-kubet-game-strategy__hero-title {
        font-size: 1.8em;
    }
    .page-resources-kubet-game-strategy__section-title {
        font-size: 1.5em;
    }
    .page-resources-kubet-game-strategy__card-title {
        font-size: 1.4em;
    }
    .page-resources-kubet-game-strategy__faq-question {
        font-size: 1em;
    }
}