/* style/resources-betting-guide.css */

/* Base styles for the page content */
.page-resources-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body, which is #1a1a1a */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-betting-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a, #333333); /* Dark gradient background */
    position: relative;
    overflow: hidden;
}

.page-resources-betting-guide__hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources-betting-guide__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-betting-guide__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-resources-betting-guide__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-betting-guide__btn-primary,
.page-resources-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-betting-guide__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1a1a1a; /* Dark text for gold background */
    border-color: #FFD700;
}

.page-resources-betting-guide__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-betting-guide__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border-color: #FFD700;
}

.page-resources-betting-guide__btn-secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a; /* Dark text on gold hover */
    transform: translateY(-2px);
}

.page-resources-betting-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* General Section Styling */
.page-resources-betting-guide__introduction-section,
.page-resources-betting-guide__getting-started-section,
.page-resources-betting-guide__game-types-section,
.page-resources-betting-guide__tips-section,
.page-resources-betting-guide__promotions-callout,
.page-resources-betting-guide__faq-section,
.page-resources-betting-guide__cta-section {
    padding: 80px 0;
    background-color: #2a2a2a; /* Slightly lighter dark background for sections */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-betting-guide__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-guide__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Step Cards */
.page-resources-betting-guide__step-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-betting-guide__step-card {
    background-color: #1a1a1a; /* Darker background for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-resources-betting-guide__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-betting-guide__step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
}

.page-resources-betting-guide__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-resources-betting-guide__card-title a {
    color: inherit; /* Inherit gold color */
    text-decoration: none;
}

.page-resources-betting-guide__card-title a:hover {
    text-decoration: underline;
}

.page-resources-betting-guide__card-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

.page-resources-betting-guide__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
}

/* Game Cards */
.page-resources-betting-guide__game-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-betting-guide__game-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-resources-betting-guide__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-betting-guide__game-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent look */
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
}

.page-resources-betting-guide__game-card .page-resources-betting-guide__card-title {
    padding: 20px 20px 0;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-resources-betting-guide__game-card .page-resources-betting-guide__card-text {
    padding: 0 20px 20px;
    color: #cccccc;
    flex-grow: 1;
}

/* Tips Section */
.page-resources-betting-guide__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-betting-guide__tip-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-betting-guide__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-betting-guide__tip-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources-betting-guide__tip-text {
    font-size: 1.1em;
    color: #cccccc;
}

/* Promotions Callout */
.page-resources-betting-guide__promotions-callout .page-resources-betting-guide__container {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #8B0000; /* Dark red auxiliary color for contrast */
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
}

.page-resources-betting-guide__promotions-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-resources-betting-guide__promotions-content .page-resources-betting-guide__section-title {
    color: #ffffff;
    text-align: left;
    margin-bottom: 20px;
}

.page-resources-betting-guide__promotions-content .page-resources-betting-guide__text-block {
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-resources-betting-guide__promotions-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
    min-width: 200px; /* Enforce min image size */
}

/* FAQ Section */
.page-resources-betting-guide__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-betting-guide__faq-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-resources-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #2a2a2a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources-betting-guide__faq-question:hover {
    background-color: #3a3a3a;
}

.page-resources-betting-guide__faq-title {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
}

.page-resources-betting-guide__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-toggle {
    transform: rotate(45deg); /* Change to '-' visually */
}

.page-resources-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    font-size: 1em;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}

.page-resources-betting-guide__faq-answer p {
    margin: 0;
}

.page-resources-betting-guide__faq-button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* CTA Section */
.page-resources-betting-guide__cta-section {
    text-align: center;
    background: linear-gradient(45deg, #8B0000, #FFD700); /* Gradient background with brand colors */
    padding: 80px 0;
}

.page-resources-betting-guide__cta-section .page-resources-betting-guide__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-resources-betting-guide__cta-section .page-resources-betting-guide__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-resources-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container fills width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-betting-guide__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
    min-width: 200px;
}

/* Footer (if not part of shared) */
.page-resources-betting-guide__footer {
    background-color: #0d0d0d; /* Even darker footer */
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-betting-guide__copyright {
    color: #cccccc;
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-betting-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-betting-guide__promotions-callout .page-resources-betting-guide__container {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-betting-guide__promotions-content {
        text-align: center;
    }
    .page-resources-betting-guide__promotions-content .page-resources-betting-guide__section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-resources-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-betting-guide__hero-section {
        padding: 40px 15px;
    }

    .page-resources-betting-guide__hero-title {
        font-size: 2.2em;
    }

    .page-resources-betting-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-betting-guide__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-betting-guide__btn-primary,
    .page-resources-betting-guide__btn-secondary,
    .page-resources-betting-guide a[class*="button"],
    .page-resources-betting-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-betting-guide__cta-buttons,
    .page-resources-betting-guide__button-group,
    .page-resources-betting-guide__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-resources-betting-guide__container {
        padding: 0 15px;
    }

    .page-resources-betting-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-betting-guide__text-block {
        font-size: 0.95em;
    }

    .page-resources-betting-guide__step-card-grid,
    .page-resources-betting-guide__game-card-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-betting-guide__step-card,
    .page-resources-betting-guide__game-card,
    .page-resources-betting-guide__tip-item,
    .page-resources-betting-guide__promotions-callout .page-resources-betting-guide__container,
    .page-resources-betting-guide__faq-item {
        padding: 20px;
    }

    .page-resources-betting-guide__promotions-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Images responsive */
    .page-resources-betting-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important; /* Ensure padding/border is included in width */
    }

    /* All containers with images */
    .page-resources-betting-guide__hero-image-wrapper,
    .page-resources-betting-guide__step-card,
    .page-resources-betting-guide__game-card,
    .page-resources-betting-guide__promotions-callout .page-resources-betting-guide__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Specific content area images (enforce min 200px visual size, not just file size) */
    .page-resources-betting-guide__step-image,
    .page-resources-betting-guide__game-image,
    .page-resources-betting-guide__promotions-image {
        min-width: 200px !important; /* Ensure actual display is not too small */
        min-height: 200px !important; /* Ensure actual display is not too small */
    }

    /* Video responsive (if any, though not in this specific content) */
    .page-resources-betting-guide video,
    .page-resources-betting-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-betting-guide__video-section,
    .page-resources-betting-guide__video-container,
    .page-resources-betting-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources-betting-guide__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-resources-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-betting-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-betting-guide__tip-title {
        font-size: 1.4em;
    }
    .page-resources-betting-guide__faq-title {
        font-size: 1.1em;
    }
    .page-resources-betting-guide__btn-large {
        font-size: 1em;
        padding: 15px 25px;
    }
}