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

.page-poker__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
}

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

.page-poker__hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: #FFFFFF; /* Light text for dark hero background */
}

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

.page-poker__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

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

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

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

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

.page-poker__button--login {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-poker__button--play-now, .page-poker__button--register-now {
    background-color: #FCBC45;
    color: #000000;
}

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

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-poker__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FCBC45;
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.page-poker__about-section, .page-poker__how-to-play, .page-poker__strategies, .page-poker__faq, .page-poker__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-poker__feature-card, .page-poker__strategy-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-poker__feature-image, .page-poker__strategy-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-poker__feature-card h3, .page-poker__strategy-card h3 {
    font-size: 1.5em;
    color: #000000;
    margin: 20px 15px 10px;
}

.page-poker__feature-description, .page-poker__strategy-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
    line-height: 1.5;
}

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

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

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

.page-poker__step-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

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

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

.page-poker__step-description a {
    color: #FCBC45;
    text-decoration: none;
}

.page-poker__step-description a:hover {
    text-decoration: underline;
}

.page-poker__accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__accordion-item {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-poker__accordion-header {
    background-color: #F0F0F0;
    color: #000000;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-poker__accordion-header:hover {
    background-color: #E5E5E5;
}

.page-poker__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-poker__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-poker__accordion-content {
    padding: 0 25px;
    background-color: #FFFFFF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__accordion-content.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px;
}

.page-poker__accordion-content p {
    margin: 0;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-poker__accordion-content a {
    color: #FCBC45;
    text-decoration: none;
}

.page-poker__accordion-content a:hover {
    text-decoration: underline;
}

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

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

.page-poker__cta-section .page-poker__section-title::after {
    background-color: #FCBC45;
}

.page-poker__cta-section .page-poker__section-intro {
    color: #F0F0F0;
    margin-bottom: 40px;
}

.page-poker__cta-section .page-poker__section-intro a {
    color: #FCBC45;
    text-decoration: none;
}

.page-poker__cta-section .page-poker__section-intro a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-intro {
        font-size: 0.95em;
    }
    .page-poker__feature-grid, .page-poker__strategy-grid {
        grid-template-columns: 1fr;
    }
    .page-poker__steps-list {
        grid-template-columns: 1fr;
    }
    .page-poker__feature-image, .page-poker__strategy-image {
        height: 200px;
    }
    .page-poker__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-poker__accordion-content.active {
        padding: 10px 20px 20px;
    }
    /* Ensure content area images are responsive and do not overflow */
    .page-poker img {
        max-width: 100%;
        height: auto; /* Maintain aspect ratio */
    }
    .page-poker {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-poker__button {
        width: 100%;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__feature-card h3, .page-poker__strategy-card h3 {
        font-size: 1.3em;
    }
    .page-poker__step-title {
        font-size: 1.4em;
    }
}