/* style/poker.css */
.page-poker {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
}

.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
}

.page-poker__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Constrain hero content width if needed */
    margin: 0 auto;
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-poker__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.page-poker__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

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

.page-poker__button--register:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

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

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

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

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

.page-poker__section-subtitle {
    font-size: 1.3em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-poker__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333333;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__bonuses-section, .page-poker__mobile-section, .page-poker__security-section, .page-poker__cta-section {
    padding: 60px 0;
}

.page-poker__about-section {
    background-color: #f9f9f9;
}

.page-poker__button--learn-more {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 20px;
    display: table; /* To center the button */
    margin-left: auto;
    margin-right: auto;
}

.page-poker__button--learn-more:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

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

.page-poker__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-poker__game-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-poker__game-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    padding: 0 20px;
    flex-grow: 1;
}

.page-poker__button--play-game {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 25px;
    padding: 12px 25px;
    font-size: 1em;
}

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

.page-poker__tournaments-section {
    background-color: #000000;
    color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title,
.page-poker__tournaments-section .page-poker__section-subtitle {
    color: #FFFFFF;
}

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

.page-poker__tournament-image {
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    height: auto;
}

.page-poker__tournament-details {
    flex: 2;
}

.page-poker__tournament-heading {
    font-size: 1.8em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-poker__tournaments-section .page-poker__text-content {
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-poker__button--join-tournament {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 20px;
}

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

.page-poker__bonuses-section {
    background-color: #f9f9f9;
}

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

.page-poker__bonus-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker__bonus-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-poker__bonus-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-poker__bonus-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    padding: 0 20px;
    flex-grow: 1;
}

.page-poker__button--claim-bonus,
.page-poker__button--view-promo {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 25px;
    padding: 12px 25px;
    font-size: 1em;
}

.page-poker__button--check-offers {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 25px;
    padding: 12px 25px;
    font-size: 1em;
}

.page-poker__button--claim-bonus:hover,
.page-poker__button--view-promo:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-poker__button--check-offers:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-poker__mobile-section {
    background-color: #FFFFFF;
}

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

.page-poker__mobile-image {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    height: auto;
}

.page-poker__mobile-details {
    flex: 2;
}

.page-poker__button--download-app {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 20px;
}

.page-poker__button--download-app:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-poker__security-section {
    background-color: #000000;
    color: #FFFFFF;
}

.page-poker__security-section .page-poker__section-title,
.page-poker__security-section .page-poker__section-subtitle {
    color: #FFFFFF;
}

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

.page-poker__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.page-poker__security-heading {
    font-size: 1.6em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-poker__security-section .page-poker__text-content {
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-poker__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-poker__link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-poker__cta-section {
    background-color: #FCBC45;
    text-align: center;
    padding: 80px 20px;
}

.page-poker__cta-title {
    font-size: 3em;
    color: #000000;
    margin-bottom: 20px;
}

.page-poker__cta-description {
    font-size: 1.4em;
    color: #333333;
    margin-bottom: 40px;
}

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

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

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

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

.page-poker__button--login-cta:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

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

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

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

    .page-poker__section-subtitle {
        font-size: 1.1em;
    }

    .page-poker__tournament-content, .page-poker__mobile-content {
        flex-direction: column;
        text-align: center;
    }

    .page-poker__tournament-image, .page-poker__mobile-image {
        min-width: unset;
        width: 80%;
    }

    .page-poker__tournament-details, .page-poker__mobile-details {
        text-align: center;
    }

    .page-poker__button--join-tournament,
    .page-poker__button--download-app {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }

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

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

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

    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 80%;
        max-width: 300px;
    }

    .page-poker__container {
        padding: 30px 15px;
    }

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

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

    .page-poker__text-content {
        font-size: 0.95em;
    }

    .page-poker__game-grid, .page-poker__bonus-grid, .page-poker__security-list {
        grid-template-columns: 1fr;
    }

    .page-poker__game-image,
    .page-poker__bonus-image,
    .page-poker__tournament-image,
    .page-poker__mobile-image {
        max-width: 100%;
        height: auto;
        width: 100%; /* Ensure images don't overflow */
    }

    .page-poker__game-card, .page-poker__bonus-card, .page-poker__security-item {
        padding-bottom: 20px;
    }

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

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

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

    /* Ensure content area images do not cause horizontal scroll */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
}

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

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

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

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

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