/* style/poker.css */

/* Base styles for the poker page content */
.page-poker {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-poker__section-spacing {
    padding: 80px 0;
}

.page-poker__bg-dark {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-poker__bg-gold {
    background-color: #FFD700; /* Gold background */
    color: #333333; /* Dark text for gold background */
}

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

.page-poker__section-title {
    font-size: 2.8em;
    color: #8B0000; /* Deep red for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-poker__section-title--light {
    color: #FFD700; /* Gold for titles on dark background */
}

.page-poker__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-poker__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-poker__image-wrapper--center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-poker__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.page-poker__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    border-color: #FFD700;
}

.page-poker__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-poker__button--secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-3px);
}

.page-poker__button--dark {
    background-color: #8B0000; /* Deep red button */
    color: #FFD700; /* Gold text */
    border-color: #8B0000;
}

.page-poker__button--dark:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
}

.page-poker__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-poker__text-link {
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
}

.page-poker__text-link:hover {
    color: #FFD700;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 20px;
}

.page-poker__hero-title {
    font-size: 3.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
}

.page-poker__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-poker__hero-image {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: -60px; /* Overlap slightly with content above */
}

.page-poker__hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 100%; /* Ensure it covers the width */
    min-height: 400px; /* Ensure it covers a minimum height */
    display: block;
}

/* Advantages Grid */
.page-poker__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-poker__advantage-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-poker__advantage-card .page-poker__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
}

.page-poker__advantage-card .page-poker__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Game List */
.page-poker__game-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-poker__game-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #FFD700;
}

.page-poker__game-item .page-poker__game-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 10px;
}

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

/* Promotions List */
.page-poker__promo-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-poker__promo-item {
    background-color: rgba(139, 0, 0, 0.1); /* Slightly transparent red on gold background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #8B0000;
}

.page-poker__promo-item .page-poker__promo-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-poker__promo-item .page-poker__promo-description {
    font-size: 1em;
    color: #333333;
}

/* FAQ Section */
.page-poker__faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-poker__faq-item .page-poker__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-poker__faq-item .page-poker__faq-answer {
    font-size: 1em;
    color: #f0f0f0;
}

.page-poker__faq-item .page-poker__text-link {
    color: #FFD700;
}

.page-poker__faq-item .page-poker__text-link:hover {
    color: #8B0000;
}

/* CTA Section */
.page-poker__cta-section {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 80px 0 0; /* No bottom padding as image will fill */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-poker__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-bottom: 60px;
}

.page-poker__cta-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-poker__cta-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 100%;
    min-height: 300px;
    display: block;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 3em;
    }

    .page-poker__hero-description {
        font-size: 1.2em;
    }

    .page-poker__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-poker__section-spacing {
        padding: 60px 0;
    }

    .page-poker__hero-section {
        flex-direction: column;
        padding-top: var(--header-offset, 120px);
    }

    .page-poker__hero-title {
        font-size: 2.5em;
    }

    .page-poker__hero-description {
        font-size: 1em;
    }

    .page-poker__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-poker__advantages-grid,
    .page-poker__game-list,
    .page-poker__promo-list,
    .page-poker__faq-grid {
        grid-template-columns: 1fr;
    }

    .page-poker__button {
        width: calc(100% - 20px);
        margin: 10px auto;
        display: block;
    }

    /* Prevent content overflow on mobile */
    .page-poker {
        overflow-x: hidden;
    }

    .page-poker img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min image size */
        min-height: 200px; /* Enforce min image size */
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }

    .page-poker__hero-description {
        font-size: 0.9em;
    }

    .page-poker__section-title {
        font-size: 1.5em;
    }

    .page-poker__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}