.page-poker {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-poker__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

.page-poker__section--dark-bg {
    background-color: #000000; /* Main color */
    color: #ffffff;
}

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

.page-poker__section-title {
    font-size: 2.5em;
    color: inherit;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.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: 2;
    max-width: 900px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    border-radius: 10px;
}

.page-poker__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    line-height: 1.2;
}

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

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

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

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

.page-poker__button--register:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

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

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

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

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

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

.page-poker__button--secondary:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

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

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

.page-poker__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-poker__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-poker__image-full-width--margin-top {
    margin-top: 40px;
}

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

.page-poker__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-poker__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-poker__strategy-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-poker__strategy-item h3 {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__strategy-item p {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

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

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

.page-poker__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__advantage-item h3 {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-poker__advantage-item p {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.7;
}

.page-poker__faq-list {
    margin-top: 40px;
}

.page-poker__faq-item {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-poker__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-poker__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FCBC45;
}

.page-poker__faq-question.active::after {
    content: '-';
}

.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-poker__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-poker__cta-final-content {
    text-align: center;
    padding: 50px;
}

.page-poker__cta-final-content .page-poker__section-title {
    color: #FCBC45;
}

.page-poker__cta-final-content .page-poker__text-content {
    color: #ffffff;
    margin-bottom: 30px;
}

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

@media (max-width: 768px) {
    .page-poker__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px); /* Mobile padding */
    }
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 100%;
    }
    .page-poker__section {
        padding: 40px 15px;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__text-content {
        font-size: 1em;
    }
    .page-poker__game-cards, .page-poker__strategy-grid, .page-poker__advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-poker__card-image {
        height: 200px;
    }
    /* Ensure all images within .page-poker are responsive and do not cause overflow */
    .page-poker img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
    .page-poker__image-full-width {
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
    .page-poker__card-image {
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
}

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