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

.page-poker__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #FFFFFF;
}

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

.page-poker__hero-title {
    font-size: 3.5em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-poker__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-poker__hero-image {
    width: 100%;
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-poker__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-poker__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-poker__section-description {
    font-size: 1.1em;
    color: #555555;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__info-card,
.page-poker__testimonial-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__info-card:hover,
.page-poker__testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__info-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-poker__feature-text,
.page-poker__game-description,
.page-poker__promo-text,
.page-poker__info-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

.page-poker__game-image,
.page-poker__promo-image,
.page-poker__testimonial-image {
    width: 100%;
    height: auto;
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

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

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

.page-poker__button--play,
.page-poker__button--login,
.page-poker__button--primary,
.page-poker__button--join-tournament,
.page-poker__button--learn,
.page-poker__button--register-step,
.page-poker__button--join-step {
    background-color: #FCBC45;
    color: #000000;
}

.page-poker__button--play:hover,
.page-poker__button--login:hover,
.page-poker__button--primary:hover,
.page-poker__button--join-tournament:hover,
.page-poker__button--learn:hover,
.page-poker__button--register-step:hover,
.page-poker__button--join-step:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

.page-poker__button--view-promos,
.page-poker__button--responsible,
.page-poker__button--security,
.page-poker__button--deposit-step,
.page-poker__button--secondary {
    background-color: #EEEEEE;
    color: #000000;
    border: 1px solid #CCCCCC;
}

.page-poker__button--view-promos:hover,
.page-poker__button--responsible:hover,
.page-poker__button--security:hover,
.page-poker__button--deposit-step:hover,
.page-poker__button--secondary:hover {
    background-color: #DDDDDD;
    transform: translateY(-2px);
}

.page-poker__steps-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-poker__step-item {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    padding-top: 70px; /* Space for number */
}

.page-poker__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

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

.page-poker__step-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.page-poker__testimonial-card {
    text-align: left;
}

.page-poker__testimonial-quote {
    font-style: italic;
    font-size: 1.1em;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.page-poker__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    margin: 80px auto 0 auto;
    border-radius: 10px;
}

.page-poker__cta-title {
    color: #FCBC45;
    font-size: 3em;
    margin-bottom: 30px;
    font-weight: bold;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 3em;
    }
    .page-poker__section-title {
        font-size: 2.2em;
    }
    .page-poker__cta-title {
        font-size: 2.5em;
    }
    .page-poker__features-grid,
    .page-poker__game-types-grid,
    .page-poker__promo-grid,
    .page-poker__info-cards,
    .page-poker__testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 100%;
        max-width: 300px; /* Constrain button width */
        margin: 0 auto;
    }
    .page-poker__section {
        margin: 40px auto;
        padding: 30px 15px;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-poker__features-grid,
    .page-poker__game-types-grid,
    .page-poker__promo-grid,
    .page-poker__info-cards,
    .page-poker__testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-poker__step-item {
        max-width: 100%;
    }
    .page-poker__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__cta-title {
        font-size: 2em;
    }
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile image constraint */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-section {
        padding: 40px 15px;
    }
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__cta-title {
        font-size: 1.8em;
    }
    .page-poker__button {
        font-size: 1em;
        padding: 12px 24px;
    }
}

/* Ensure content area images are at least 200px wide/high */
.page-poker__game-image, 
.page-poker__promo-image, 
.page-poker__testimonial-image {
    min-width: 200px;
    min-height: 200px;
}