/* style/poker.css */

/* Ensure main content starts below header */
.page-poker {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    background-color: #FFFFFF; /* Light background as per body color info */
    color: #333333; /* Dark text for contrast on light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-poker__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* Content padding handled by inner container */
    background-color: #000000; /* Dark background for hero content overlay */
    color: #FFFFFF;
}

.page-poker__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Slightly dim the image for text readability */
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

.page-poker__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-poker__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-poker__button--primary {
    background-color: #FCBC45; /* Login color for primary CTA */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-poker__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-poker__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register color for secondary CTA */
    border: 2px solid #FFFFFF;
}

.page-poker__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* General Section Styling */
.page-poker__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.page-poker__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

/* About Section - Features Grid */
.page-poker__about-section {
    padding: 80px 0;
}

.page-poker__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-poker__feature-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
    transform: translateY(-10px);
}

.page-poker__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-poker__feature-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
    filter: none; /* Ensure no CSS filter changes image color */
}

/* Games Section - Game Grid */
.page-poker__games-section {
    padding: 80px 0;
    background-color: #F0F0F0;
}

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

.page-poker__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-10px);
}

.page-poker__game-title {
    font-size: 1.7em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__game-description {
    font-size: 0.95em;
    color: #555555;
}

/* Strategy Section */
.page-poker__strategy-section {
    padding: 80px 0;
}

.page-poker__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-poker__strategy-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__strategy-card:hover {
    transform: translateY(-10px);
}

.page-poker__strategy-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-poker__strategy-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__strategy-description {
    font-size: 1em;
    color: #555555;
}

/* Download Guide Section */
.page-poker__download-guide-section {
    padding: 80px 0;
    background-color: #F0F0F0;
}

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

.page-poker__step-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__step-card:hover {
    transform: translateY(-10px);
}

.page-poker__step-title {
    font-size: 1.7em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__step-description {
    font-size: 0.95em;
    color: #555555;
}

.page-poker__step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-poker__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-poker__faq-section {
    padding: 80px 0;
}

.page-poker__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-poker__faq-item {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-poker__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-poker__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-poker__faq-question.page-poker__faq-question--active::after {
    transform: rotate(45deg);
}

.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease;
    opacity: 0;
    padding-top: 0;
}

.page-poker__faq-answer.page-poker__faq-answer--active {
    max-height: 200px; /* Adjust as needed for content */
    opacity: 1;
    padding-top: 15px;
}

/* Final CTA Section */
.page-poker__cta-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background for strong CTA */
    color: #FFFFFF;
    text-align: center;
}

.page-poker__cta-section .page-poker__section-title {
    color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-intro {
    color: #F0F0F0;
}

.page-poker__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 2.8em;
    }
    .page-poker__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-intro {
        font-size: 1em;
    }
    .page-poker__button {
        width: 100%;
        min-width: unset;
    }
    .page-poker__hero-actions {
        flex-direction: column;
    }

    /* Ensure images are responsive and don't overflow */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    /* Content area should not cause horizontal scroll */
    .page-poker__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__hero-description {
        font-size: 0.95em;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__feature-title,
    .page-poker__game-title,
    .page-poker__strategy-title,
    .page-poker__step-title {
        font-size: 1.5em;
    }
    .page-poker__faq-question {
        font-size: 1.2em;
    }
}

/* Enforce min image size for all content area images */
.page-poker__feature-card img,
.page-poker__strategy-card img,
.page-poker__step-card img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* No CSS filters on images */
.page-poker img {
    filter: none;
}