.page-poker {
    color: #000000; /* Dark text for light body background */
}

.page-poker__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-poker__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Limit hero width for very large screens */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 20px;
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-poker__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #FFFFFF; /* White text on dark hero image */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

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

.page-poker__tagline {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-poker__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-poker__button--register {
    background-color: #FCBC45; /* Login color for Register */
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

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

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

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__mobile-section,
.page-poker__cta-section,
.page-poker__strategy-guide-section,
.page-poker__responsible-gambling-section {
    padding: 80px 0;
    text-align: center;
}

.page-poker__about-section,
.page-poker__strategy-guide-section,
.page-poker__responsible-gambling-section {
    background-color: #FFFFFF;
}

.page-poker__games-section,
.page-poker__cta-section {
    background-color: #f5f5f5;
}

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

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

.page-poker__features-grid,
.page-poker__game-variants,
.page-poker__guide-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-poker__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-poker__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
}

.page-poker__game-variants {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

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

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

.page-poker__game-text {
    font-size: 1em;
    line-height: 1.6;
    color: #333333;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-poker__button--play,
.page-poker__button--join {
    background-color: #FCBC45;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
    width: fit-content;
    margin: 0 auto;
}

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

.page-poker__mobile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-poker__mobile-text-content {
    flex: 1;
}

.page-poker__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-poker__button--download {
    background-color: #FCBC45;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
    margin-top: 30px;
}

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

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

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

.page-poker__guide-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: left;
}

.page-poker__guide-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

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

.page-poker__guide-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-poker__guide-title a:hover {
    color: #FCBC45;
}

.page-poker__guide-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

.page-poker__button--more-guides,
.page-poker__button--learn-more {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    margin-top: 40px;
}

.page-poker__button--more-guides:hover,
.page-poker__button--learn-more:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__main-title {
        font-size: 2.8em;
    }
    .page-poker__tagline {
        font-size: 1.1em;
    }
    .page-poker__section-title {
        font-size: 2.2em;
    }
    .page-poker__hero-content {
        padding: 30px;
    }
    .page-poker__about-section,
    .page-poker__games-section,
    .page-poker__mobile-section,
    .page-poker__cta-section,
    .page-poker__strategy-guide-section,
    .page-poker__responsible-gambling-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding-top: var(--header-offset, 120px);
    }
    .page-poker__main-title {
        font-size: 2.2em;
    }
    .page-poker__tagline {
        font-size: 1em;
    }
    .page-poker__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 80%;
        margin: 0 auto;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-description {
        font-size: 0.95em;
    }
    .page-poker__features-grid,
    .page-poker__game-variants,
    .page-poker__guide-list {
        grid-template-columns: 1fr;
    }
    .page-poker__mobile-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-poker__mobile-text-content,
    .page-poker__mobile-image-wrapper {
        text-align: center;
    }
    .page-poker__mobile-image {
        max-width: 80%;
    }
    /* Ensure all images within .page-poker are responsive and don't overflow */
    .page-poker img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce minimum size on mobile */
        min-height: 200px !important;
    }
    .page-poker__game-image {
        height: auto; /* Allow height to adjust for responsiveness */
    }
}

@media (max-width: 480px) {
    .page-poker__hero-content {
        padding: 20px;
    }
    .page-poker__main-title {
        font-size: 1.8em;
    }
    .page-poker__tagline {
        font-size: 0.9em;
    }
    .page-poker__button {
        width: 90%;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__section-description {
        margin-bottom: 20px;
    }
    .page-poker__game-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-poker__mobile-image {
        min-width: 200px;
        min-height: 200px;
    }
}