/* style/poker.css */
.page-poker {
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-poker__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-poker__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4; /* Slightly dim the background image */
}

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

.page-poker__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

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

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

.page-poker__hero-buttons {
    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;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-poker__button--register {
    background-color: #FCBC45;
    color: #000000; /* Dark text for golden button */
    border: 2px solid #FCBC45;
}

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

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

.page-poker__button--play:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.page-poker__section--dark-bg {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
}

.page-poker__section--dark-bg .page-poker__section-title,
.page-poker__section--dark-bg .page-poker__feature-title,
.page-poker__section--dark-bg .page-poker__feature-description,
.page-poker__section--dark-bg .page-poker__game-title,
.page-poker__section--dark-bg .page-poker__game-description,
.page-poker__section--dark-bg .page-poker__cta-description {
    color: #FFFFFF;
}

.page-poker__section--light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 80px 20px;
}

.page-poker__info-section {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-poker__feature-card {
    background-color: #F8F8F8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
    width: 250px; /* Minimum 200px */
    height: 187px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

.page-poker__games-section {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-poker__game-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker__game-image {
    width: 100%;
    height: 200px; /* Example fixed height for card images */
    object-fit: cover;
    display: block;
}

.page-poker__game-title {
    font-size: 1.4em;
    margin: 20px 15px 10px;
    color: #FCBC45;
}

.page-poker__game-description {
    font-size: 0.95em;
    line-height: 1.5;
    padding: 0 15px 20px;
    flex-grow: 1;
    color: #e0e0e0;
}

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
    background-color: #FCBC45;
    color: #000000;
    border: none;
}

.page-poker__button--small:hover {
    background-color: #e0a53a;
}

.page-poker__strategy-section {
    max-width: 1000px;
    margin: 0 auto;
}

.page-poker__strategy-content {
    padding: 20px;
    line-height: 1.7;
    font-size: 1.05em;
}

.page-poker__strategy-intro {
    font-size: 1.15em;
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
    color: #444444;
}

.page-poker__strategy-subtitle {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    padding-left: 15px;
}

.page-poker__strategy-text {
    margin-bottom: 20px;
    color: #333333;
}

.page-poker__cta-section {
    padding: 100px 20px;
    text-align: center;
}

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

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

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

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

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

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding: 40px 15px;
    }
    .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%;
    }
    .page-poker__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-poker__section--dark-bg, .page-poker__section--light-bg {
        padding: 60px 15px;
    }
    .page-poker__features-grid,
    .page-poker__game-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-poker__feature-card, .page-poker__game-card {
        padding: 20px;
    }
    .page-poker__feature-icon {
        width: 100%; /* Ensure images are responsive */
        height: auto;
        max-width: 300px; /* Example, ensure > 200px */
        margin-left: auto;
        margin-right: auto;
    }
    .page-poker__game-image {
        height: 180px;
    }
    .page-poker__strategy-content {
        padding: 15px;
    }
    .page-poker__strategy-subtitle {
        font-size: 1.5em;
    }
    .page-poker__cta-section {
        padding: 80px 15px;
    }
    .page-poker__cta-description {
        font-size: 1.1em;
    }
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile specific image sizing for content area */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    .page-poker__feature-card img, .page-poker__game-card img {
        max-width: 100%; /* Ensures images within cards don't overflow */
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__section-title {
        font-size: 1.6em;
    }
    .page-poker__strategy-subtitle {
        font-size: 1.3em;
    }
}