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

.page-poker__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #1A202C;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
}

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

.page-poker__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff; /* Light text on dark/image background */
}

.page-poker__hero-content {
    position: relative;
    z-index: 3;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-poker__hero-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.3s ease;
}

.page-poker__hero-button--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-poker__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-poker__hero-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-poker__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-poker__why-choose-section,
.page-poker__games-section,
.page-poker__promotions-section,
.page-poker__getting-started-section,
.page-poker__strategy-section,
.page-poker__mobile-app-section,
.page-poker__faq-section,
.page-poker__cta-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-poker__why-choose-section:nth-of-type(even),
.page-poker__games-section:nth-of-type(even),
.page-poker__promotions-section:nth-of-type(even),
.page-poker__getting-started-section:nth-of-type(even),
.page-poker__strategy-section:nth-of-type(even),
.page-poker__mobile-app-section:nth-of-type(even),
.page-poker__faq-section:nth-of-type(even),
.page-poker__cta-section:nth-of-type(even) {
    background-color: #ffffff;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__step-card,
.page-poker__faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
    width: 200px; /* Minimum 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__step-title,
.page-poker__faq-question {
    font-size: 1.6em;
    color: #1A202C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description,
.page-poker__step-description,
.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-poker__game-image,
.page-poker__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__game-button,
.page-poker__promo-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-poker__game-button:hover,
.page-poker__promo-button:hover {
    background-color: #e6c200;
}

.page-poker__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

.page-poker__view-all-promos p {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 15px;
}

.page-poker__view-all-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-poker__view-all-button:hover {
    background-color: #0d121c;
}

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

.page-poker__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A202C;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__step-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-poker__step-button:hover {
    background-color: #0d121c;
}

.page-poker__strategy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.page-poker__strategy-text {
    text-align: left;
}

.page-poker__strategy-subtitle {
    font-size: 2em;
    color: #1A202C;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-poker__strategy-text p {
    margin-bottom: 15px;
    color: #555555;
}

.page-poker__strategy-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-poker__strategy-list li {
    margin-bottom: 8px;
}

.page-poker__strategy-list li strong {
    color: #1A202C;
}

.page-poker__responsible-gaming-card {
    background-color: #1A202C;
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-poker__responsible-gaming-image {
    width: 100%;
    height: 200px; /* Minimum 200px */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__responsible-gaming-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-poker__responsible-gaming-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-poker__responsible-gaming-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-poker__responsible-gaming-button:hover {
    background-color: #e6c200;
}

.page-poker__mobile-app-section {
    background-color: #f0f0f0;
}

.page-poker__app-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-poker__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

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

.page-poker__app-features {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-poker__app-subtitle {
    font-size: 2em;
    color: #1A202C;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-poker__app-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-poker__app-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #555555;
}

.page-poker__app-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFD700;
}

.page-poker__app-download-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-poker__app-download-button:hover {
    background-color: #e6c200;
}

.page-poker__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: left;
}

.page-poker__faq-question {
    font-size: 1.4em;
    color: #1A202C;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
}

.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.page-poker__more-faq {
    text-align: center;
    margin-top: 40px;
}

.page-poker__more-faq p {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 15px;
}

.page-poker__more-faq-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-poker__more-faq-button:hover {
    background-color: #0d121c;
}

.page-poker__cta-section {
    background-color: #1A202C;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-poker__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-poker__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-poker__cta-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.3s ease;
}

.page-poker__cta-button--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-poker__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-poker__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-poker__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@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;
    }
    .page-poker__strategy-content {
        grid-template-columns: 1fr;
    }
    .page-poker__responsible-gaming-card {
        margin-top: 40px;
    }
    .page-poker__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-poker__app-features {
        text-align: center;
    }
    .page-poker__app-list li {
        padding-left: 0;
        text-align: center;
    }
    .page-poker__app-list li::before {
        display: none;
    }
    .page-poker__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding: 60px 20px;
        min-height: 450px;
    }
    .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__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-poker__container {
        padding: 30px 15px;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-poker__features-grid,
    .page-poker__game-grid,
    .page-poker__promo-grid,
    .page-poker__steps-grid,
    .page-poker__faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-poker__feature-card,
    .page-poker__game-card,
    .page-poker__promo-card,
    .page-poker__step-card,
    .page-poker__faq-item {
        padding: 25px;
    }
    .page-poker__feature-icon {
        width: 200px; /* Enforce min size */
        height: auto;
    }
    .page-poker__game-image,
    .page-poker__promo-image,
    .page-poker__responsible-gaming-image,
    .page-poker__app-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and do not cause overflow */
        min-height: 200px; /* Ensure images are not too small */
        object-fit: cover;
    }
    .page-poker__feature-title,
    .page-poker__game-title,
    .page-poker__promo-title,
    .page-poker__step-title,
    .page-poker__faq-question {
        font-size: 1.4em;
    }
    .page-poker__responsible-gaming-title {
        font-size: 1.6em;
    }
    .page-poker__app-subtitle {
        font-size: 1.8em;
    }
    .page-poker__cta-title {
        font-size: 2em;
    }
    .page-poker__cta-description {
        font-size: 1em;
    }
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    /* Ensure all images within .page-poker are responsive */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    /* Prevent horizontal overflow */
    .page-poker {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__section-title {
        font-size: 1.6em;
    }
    .page-poker__hero-button {
        width: 100%;
    }
    .page-poker__cta-button {
        width: 100%;
    }
}