.page-poker {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-poker__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 20px;
}

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

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

.page-poker__hero-actions {
    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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-poker__button--primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
    background-color: #1E90FF;
    color: #ffffff;
    border: 2px solid #1E90FF;
}

.page-poker__button--secondary:hover {
    background-color: #1565b3;
    transform: translateY(-2px);
}

.page-poker__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-poker__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-poker__why-choose-section, .page-poker__game-types-section, .page-poker__gcash-benefits-section, .page-poker__getting-started-section, .page-poker__faq-section, .page-poker__call-to-action-section {
    padding: 60px 0;
    background-color: #0A192F; /* Consistent dark background */
}

.page-poker__features-grid, .page-poker__game-grid, .page-poker__benefits-list, .page-poker__steps-grid, .page-poker__faq-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__benefit-item, .page-poker__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__benefit-item:hover, .page-poker__step-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__card-image {
    width: 100%;
    max-width: 400px; /* Constrain image width within card */
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: block; /* Ensure it's a block element */
    min-width: 200px;
    min-height: 200px;
}

.page-poker__card-title, .page-poker__game-title, .page-poker__benefit-title, .page-poker__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-poker__card-description, .page-poker__game-description, .page-poker__benefit-description, .page-poker__step-description, .page-poker__faq-answer {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1; /* Allow description to take available space */
}

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

.page-poker__action-center {
    text-align: center;
    margin-top: 50px;
}

.page-poker__getting-started-section .page-poker__action-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-poker__getting-started-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

.page-poker__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-poker__faq-list {
    grid-template-columns: 1fr;
}

.page-poker__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.page-poker__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-poker__faq-question {
    font-size: 1.3em;
    color: #1E90FF;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-poker__faq-answer {
    display: none;
    color: #cccccc;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.page-poker__faq-question.active + .page-poker__faq-answer {
    display: block;
}

.page-poker__call-to-action-section {
    text-align: center;
    padding: 80px 0;
    background-color: #0A192F;
}

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

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

    .page-poker__hero-description {
        font-size: 1.1em;
    }

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

@media (max-width: 768px) {
    .page-poker {
        padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    }
    .page-poker__hero-section {
        min-height: 400px;
    }
    .page-poker__hero-content {
        padding: 30px 20px;
    }
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .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-card, .page-poker__game-card, .page-poker__benefit-item, .page-poker__step-card {
        padding: 25px;
    }
    .page-poker__card-title, .page-poker__game-title, .page-poker__benefit-title, .page-poker__step-title {
        font-size: 1.5em;
    }
    .page-poker__faq-question {
        font-size: 1.1em;
    }
    .page-poker__getting-started-image, .page-poker__container img, .page-poker__features-grid img, .page-poker__game-grid img, .page-poker__benefits-list img, .page-poker__steps-grid img, .page-poker__faq-list img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min-width for all images in content area */
        min-height: 200px; /* Enforce min-height for all images in content area */
    }
    .page-poker__container {
        padding: 15px;
    }
    .page-poker__getting-started-section .page-poker__action-center {
        gap: 20px;
    }
    .page-poker__action-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__button {
        width: 100%;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__section-intro {
        font-size: 0.85em;
    }
    .page-poker__card-title, .page-poker__game-title, .page-poker__benefit-title, .page-poker__step-title {
        font-size: 1.3em;
    }
    .page-poker__faq-question {
        font-size: 1em;
    }
}