/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for content area */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

.page-poker__text-block {
    margin-bottom: 15px;
    color: #333333;
}

.page-poker__text-block a {
    color: #000000;
    text-decoration: underline;
}

/* Buttons */
.page-poker__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-poker__button--register {
    background-color: #000000; /* Main color for register */
    color: #FFFFFF; /* White text for register */
    border: 2px solid #000000;
}

.page-poker__button--register:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-poker__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Black text for login */
    border: 2px solid #FCBC45;
    margin-left: 15px;
}

.page-poker__button--login:hover {
    background-color: #e0a73b;
    border-color: #e0a73b;
}

.page-poker__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

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

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* No padding here, handled by page-poker and hero-content */
    background-color: #000000; /* Dark background for the hero section */
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image for text readability */
}

.page-poker__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
}

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

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

/* About Section */
.page-poker__about-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-poker__feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    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(-5px);
}

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

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

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

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

.page-poker__game-card {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.page-poker__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-poker__game-description {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Guide Section */
.page-poker__guide-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-poker__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-poker__guide-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.page-poker__guide-step-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__guide-step-description {
    color: #555555;
}

.page-poker__guide-step-description a {
    color: #000000;
    text-decoration: underline;
}

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

/* Security Section */
.page-poker__security-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-poker__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-poker__security-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__security-text {
    flex: 2;
    min-width: 300px;
}

/* Promotions Section */
.page-poker__promotions-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-poker__promo-card {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.page-poker__promo-card:hover {
    transform: translateY(-5px);
}

.page-poker__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__promo-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__promo-description {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-poker__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-poker__faq-answer {
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
}

.page-poker__faq-answer a {
    color: #000000;
    text-decoration: underline;
}

/* Active FAQ item */
.page-poker__faq-item.page-poker__faq-item--active .page-poker__faq-answer {
    display: block;
}

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

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

.page-poker__final-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-poker {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }

    .page-poker__hero-content {
        max-width: 90%;
    }

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

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

    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-poker__button--login {
        margin-left: 0;
    }

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

    .page-poker__section-intro {
        font-size: 1em;
    }

    .page-poker__features-grid,
    .page-poker__game-grid,
    .page-poker__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-poker__security-content {
        flex-direction: column;
    }

    .page-poker__security-image {
        min-width: unset;
        width: 100%;
    }

    .page-poker__security-text {
        min-width: unset;
    }

    /* Enforce min-width for all images in content area */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    .page-poker img:not(.page-poker__hero-image) {
        min-width: 200px; /* Enforce minimum width for content images */
        min-height: 200px; /* Enforce minimum height for content images */
    }
    .page-poker__game-image, .page-poker__promo-image {
        height: auto; /* Allow height to adjust for smaller screens */
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__button {
        width: 100%;
    }
}

/* Ensure hero image is responsive and large */
.page-poker__hero-image {
    max-width: 100%;
    height: auto;
    min-width: unset; /* Allow hero image to scale down */
    min-height: unset;
}