.page-poker {
    background-color: #0d0d0d; /* Dark background */
    color: #f5f5f5; /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for non-body */
}

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

.page-poker__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px; /* Space below hero content */
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-poker__hero-content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-poker__main-title {
    font-weight: 700;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 15px;
    /* Using clamp for responsive font size, but not excessively large */
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.page-poker__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e5e5e5;
}

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

.page-poker__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
}

.page-poker__button--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2E44; /* Dark blue-gray */
    border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-2px);
}

.page-poker__button--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: unset;
}

.page-poker__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    padding-top: 40px;
}

.page-poker__section-description {
    font-size: 1.05rem;
    color: #e5e5e5;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Variety Section */
.page-poker__game-variety {
    background-color: #1A2E44; /* Dark blue-gray for contrast section */
    padding: 60px 0;
}

.page-poker__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

.page-poker__game-card {
    background-color: #2a3e54; /* Slightly lighter dark blue-gray */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-poker__game-card-title {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-poker__game-card-text {
    font-size: 1rem;
    color: #c0c0c0;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Features Section */
.page-poker__features-section {
    padding: 60px 0;
}

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

.page-poker__feature-item {
    background-color: #1A2E44;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__feature-icon {
    width: 200px; /* Ensure minimum size */
    height: 200px; /* Ensure minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 200px; /* Constrain icon size */
    max-height: 200px; /* Constrain icon size */
    display: block; /* Center block elements */
    margin-left: auto;
    margin-right: auto;
}

.page-poker__feature-title {
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-poker__feature-description {
    font-size: 1rem;
    color: #c0c0c0;
}

/* How to Play Section */
.page-poker__how-to-play {
    background-color: #0d0d0d;
    padding: 60px 0;
}

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

.page-poker__step-item {
    background-color: #1A2E44;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-poker__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A2E44;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.page-poker__step-title {
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-poker__step-description {
    font-size: 1rem;
    color: #c0c0c0;
}

.page-poker__how-to-play-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-poker__faq-section {
    padding: 60px 0;
    background-color: #1A2E44;
}

.page-poker__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-poker__faq-item {
    background-color: #2a3e54;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__faq-question {
    font-size: 1.2rem;
    color: #FFD700;
    padding: 18px 25px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

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

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

.page-poker__faq-answer {
    font-size: 1rem;
    color: #c0c0c0;
    padding: 0 25px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-poker__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 0 25px 18px;
}

/* Bottom CTA Section */
.page-poker__cta-bottom {
    padding: 60px 0;
    text-align: center;
    background-color: #0d0d0d;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-poker__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-poker__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-poker__game-grid,
    .page-poker__features-grid,
    .page-poker__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-poker__game-card-image {
        height: 200px;
    }

    .page-poker__feature-icon {
        width: 200px;
        height: 200px;
    }

    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Important: Mobile images must not overflow */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images are not tiny */
.page-poker img:not(.page-poker__feature-icon) {
    min-width: 200px;
    min-height: 200px;
}