/* style/poker.css */
.page-poker {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-poker__hero-section {
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-poker__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

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

.page-poker__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.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, transform 0.2s ease;
    white-space: nowrap;
}

.page-poker__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-poker__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-poker__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-poker__hero-image-wrapper {
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.page-poker__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
}

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

.page-poker__why-phjoy-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__get-started-section,
.page-poker__testimonials-section,
.page-poker__cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__testimonial-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover,
.page-poker__testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure content images are at least 200px and scale */
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
}

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

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__tournament-description,
.page-poker__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-poker__button--play,
.page-poker__button--join,
.page-poker__button--view,
.page-poker__button--register-small,
.page-poker__button--deposit,
.page-poker__button--play-now {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    padding: 12px 25px;
    font-size: 0.95em;
}

.page-poker__button--play:hover,
.page-poker__button--join:hover,
.page-poker__button--view:hover,
.page-poker__button--register-small:hover,
.page-poker__button--deposit:hover,
.page-poker__button--play-now:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

.page-poker__button--view-all {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 40px;
}

.page-poker__button--view-all:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-poker__all-promos-action {
    text-align: center;
    margin-top: 40px;
}

.page-poker__step-card {
    position: relative;
    padding-top: 50px;
}

.page-poker__step-number {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    border: 4px solid #FCBC45;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #FCBC45;
}

.page-poker__testimonial-text {
    font-style: italic;
    color: #444444;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-poker__testimonial-author {
    font-weight: bold;
    color: #000000;
}

.page-poker__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
}

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

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

.page-poker__button--big-cta {
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 30px;
    border: 2px solid #FCBC45;
}

.page-poker__button--big-cta:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

/* Media Queries for Responsiveness */
@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-section {
        flex-direction: column;
        padding: 60px 15px;
    }

    .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 {
        width: 100%;
        max-width: 300px;
    }

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

    .page-poker__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-poker__why-phjoy-section,
    .page-poker__game-types-section,
    .page-poker__tournaments-section,
    .page-poker__get-started-section,
    .page-poker__testimonials-section,
    .page-poker__cta-section {
        padding: 40px 15px;
    }

    .page-poker__features-grid,
    .page-poker__game-cards-grid,
    .page-poker__steps-grid,
    .page-poker__testimonials-grid,
    .page-poker__tournament-cards {
        grid-template-columns: 1fr;
    }

    .page-poker__feature-icon,
    .page-poker__game-image,
    .page-poker__tournament-image,
    .page-poker__testimonial-avatar {
        max-width: 100%;
        height: auto;
    }

    /* Enforce responsive images for all content area images */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }

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

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

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

    .page-poker__button--register,
    .page-poker__button--login {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-poker__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
}