/* style/poker-texas-holdem-tutorial.css */

/* Base styles for the page content */
.page-poker-texas-holdem-tutorial {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF; /* Matches body background, ensures light background for dark text */
    color: #333333; /* Dark text for light background, ensuring WCAG AA contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Hero Section */
.page-poker-texas-holdem-tutorial__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-poker-texas-holdem-tutorial__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-poker-texas-holdem-tutorial__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-poker-texas-holdem-tutorial__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #FFFFFF; /* Light text for dark hero image overlay */
}

.page-poker-texas-holdem-tutorial__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-poker-texas-holdem-tutorial__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-poker-texas-holdem-tutorial__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-poker-texas-holdem-tutorial__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.page-poker-texas-holdem-tutorial__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-poker-texas-holdem-tutorial__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-poker-texas-holdem-tutorial__button--play {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-poker-texas-holdem-tutorial__button--play:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

/* General Section Styles */
.page-poker-texas-holdem-tutorial__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker-texas-holdem-tutorial__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-poker-texas-holdem-tutorial__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-poker-texas-holdem-tutorial__sub-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    padding-left: 15px;
}

.page-poker-texas-holdem-tutorial__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-poker-texas-holdem-tutorial__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-poker-texas-holdem-tutorial__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image */
    /* Min size constraint for content images */
    min-width: 200px;
    min-height: 200px;
}

.page-poker-texas-holdem-tutorial__list,
.page-poker-texas-holdem-tutorial__numbered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-poker-texas-holdem-tutorial__numbered-list {
    list-style-type: decimal;
}

.page-poker-texas-holdem-tutorial__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-poker-texas-holdem-tutorial__list-item strong {
    color: #000000;
}

/* FAQ Section */
.page-poker-texas-holdem-tutorial__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.page-poker-texas-holdem-tutorial__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker-texas-holdem-tutorial__faq-answer {
    font-size: 1.1em;
    color: #555555;
}

.page-poker-texas-holdem-tutorial__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
}

.page-poker-texas-holdem-tutorial__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-poker-texas-holdem-tutorial__cta {
    text-align: center;
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 60px 20px;
    margin-bottom: 0; /* Remove bottom margin for final section */
}

.page-poker-texas-holdem-tutorial__cta .page-poker-texas-holdem-tutorial__section-title {
    color: #FFFFFF;
}

.page-poker-texas-holdem-tutorial__cta .page-poker-texas-holdem-tutorial__section-title::after {
    background-color: #FCBC45;
}

.page-poker-texas-holdem-tutorial__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-poker-texas-holdem-tutorial__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-poker-texas-holdem-tutorial__button--primary:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-poker-texas-holdem-tutorial__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-poker-texas-holdem-tutorial__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker-texas-holdem-tutorial__hero-title {
        font-size: 2.8em;
    }

    .page-poker-texas-holdem-tutorial__section-title {
        font-size: 2em;
    }

    .page-poker-texas-holdem-tutorial__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-poker-texas-holdem-tutorial__hero-section {
        padding: 60px 15px;
        min-height: 450px;
    }

    .page-poker-texas-holdem-tutorial__hero-title {
        font-size: 2em;
    }

    .page-poker-texas-holdem-tutorial__hero-description,
    .page-poker-texas-holdem-tutorial__paragraph,
    .page-poker-texas-holdem-tutorial__list-item,
    .page-poker-texas-holdem-tutorial__faq-answer {
        font-size: 1em;
    }

    .page-poker-texas-holdem-tutorial__section {
        margin: 20px auto;
        padding: 20px 15px;
    }

    .page-poker-texas-holdem-tutorial__section-title {
        font-size: 1.8em;
    }

    .page-poker-texas-holdem-tutorial__sub-title {
        font-size: 1.3em;
    }

    .page-poker-texas-holdem-tutorial__hero-actions,
    .page-poker-texas-holdem-tutorial__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-poker-texas-holdem-tutorial__button {
        width: 100%;
        max-width: 300px;
    }

    /* Mobile content image constraint */
    .page-poker-texas-holdem-tutorial__image-wrapper img,
    .page-poker-texas-holdem-tutorial img { /* General rule for all content images */
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size is maintained */
        min-height: 200px; /* Ensure min size is maintained */
    }
}

@media (max-width: 480px) {
    .page-poker-texas-holdem-tutorial__hero-title {
        font-size: 1.8em;
    }

    .page-poker-texas-holdem-tutorial__hero-section {
        min-height: 400px;
    }

    .page-poker-texas-holdem-tutorial__section-title {
        font-size: 1.5em;
    }

    .page-poker-texas-holdem-tutorial__sub-title {
        font-size: 1.2em;
    }
}