.page-poker {
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color); /* Matches body background */
    padding-top: var(--header-offset, 120px);
}

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

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

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

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

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

.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;
    cursor: pointer;
    text-align: center;
}

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

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

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

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

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-poker__button--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

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

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

.page-poker__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.page-poker__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-poker__features-section,
.page-poker__how-to-start-section,
.page-poker__variants-section,
.page-poker__promotions-section,
.page-poker__mobile-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__cta-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

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

.page-poker__feature-card,
.page-poker__step-card,
.page-poker__variant-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-poker__feature-image,
.page-poker__variant-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-poker__feature-description,
.page-poker__step-description,
.page-poker__variant-description,
.page-poker__promotions-intro,
.page-poker__promo-description,
.page-poker__mobile-description,
.page-poker__responsible-gaming-description,
.page-poker__cta-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.page-poker__step-card {
    position: relative;
    padding-top: 60px;
}

.page-poker__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FCBC45;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #000000;
}

.page-poker__promotions-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-poker__promotions-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-poker__promo-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-poker__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-poker__promo-item > h3,
.page-poker__promo-item > p,
.page-poker__promo-item > a {
    padding: 0 25px;
}

.page-poker__promo-item > h3 {
    margin-top: 25px;
}

.page-poker__promo-item > a {
    margin-top: auto;
    margin-bottom: 25px;
}

.page-poker__promotions-cta {
    text-align: center;
}

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

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

.page-poker__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-poker__mobile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__responsible-gaming-section {
    text-align: center;
}

.page-poker__faq-accordion {
    margin-top: 30px;
}

.page-poker__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-poker__faq-question:hover {
    background-color: #333333;
}

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

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

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

.page-poker__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding: 20px 25px;
}

.page-poker__faq-answer p {
    margin: 0;
    color: #555555;
}

.page-poker__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
}

.page-poker__faq-answer a:hover {
    text-decoration: underline;
}

.page-poker__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 60px;
}

.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-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 2.8em;
    }
}

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

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

    .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: 2em;
        margin-bottom: 40px;
    }

    .page-poker__features-grid,
    .page-poker__steps-grid,
    .page-poker__variants-grid,
    .page-poker__promotions-content {
        grid-template-columns: 1fr;
    }

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

    .page-poker__mobile-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }

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

    .page-poker__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-poker__faq-answer.active {
        padding: 15px 20px;
    }

    .page-poker__cta-section {
        padding: 60px 15px;
    }

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

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

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

    .page-poker__feature-title,
    .page-poker__step-title,
    .page-poker__variant-title,
    .page-poker__promo-title {
        font-size: 1.4em;
    }

    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}