.page-poker {
    color: #333333; /* Default text color for light body background */
}

.page-poker__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #0A192F; /* Dark background for hero text overlay */
    overflow: hidden;
}

.page-poker__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.4; /* Slightly dim image for text readability */
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6); /* Further dimming, but not changing color */
    object-fit: cover;
    height: 100%;
}

.page-poker__hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    max-width: 900px;
}

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

.page-poker__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.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(-3px);
}

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

.page-poker__button--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
}

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

.page-poker__button--center {
    margin: 40px auto 0 auto;
    display: table;
}

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

.page-poker__section-title {
    font-size: 2.8em;
    color: #0A192F;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-poker__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__security-section, .page-poker__getting-started-section, .page-poker__promotions-section, .page-poker__strategy-section, .page-poker__faq-section, .page-poker__cta-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-poker__about-section {
    background-color: #ffffff;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__promo-card, .page-poker__security-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__security-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon, .page-poker__security-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-poker__feature-title, .page-poker__game-title, .page-poker__promo-title, .page-poker__security-title, .page-poker__highlight-title, .page-poker__step-title, .page-poker__strategy-title {
    font-size: 1.8em;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-poker__feature-text, .page-poker__game-text, .page-poker__promo-text, .page-poker__security-text, .page-poker__highlight-text, .page-poker__step-text, .page-poker__strategy-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
    flex-grow: 1;
}

.page-poker__game-image, .page-poker__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__game-card .page-poker__button--small, .page-poker__promo-card .page-poker__button--small {
    margin-top: 20px;
}

.page-poker__tournaments-section {
    background-color: #0A192F;
    color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-title {
    color: #FFD700;
}

.page-poker__tournaments-section .page-poker__section-description {
    color: #cccccc;
}

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

.page-poker__highlight-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.page-poker__highlight-title {
    color: #FFD700;
}

.page-poker__highlight-text {
    color: #e0e0e0;
}

.page-poker__getting-started-section {
    background-color: #f2f2f2;
}

.page-poker__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
    margin-top: 40px;
}

.page-poker__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    position: relative;
    counter-increment: step-counter;
}

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

.page-poker__step-title {
    margin-top: 20px;
}

.page-poker__faq-accordion {
    margin-top: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.page-poker__accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-poker__accordion-item:last-child {
    border-bottom: none;
}

.page-poker__accordion-header {
    background-color: #ffffff;
    color: #0A192F;
    padding: 20px 30px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-poker__accordion-header:hover {
    background-color: #f5f5f5;
}

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

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

.page-poker__accordion-content {
    padding: 0 30px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__accordion-content p {
    padding: 20px 0;
    line-height: 1.6;
    color: #666666;
}

.page-poker__cta-section {
    background-color: #0A192F;
    color: #ffffff;
    text-align: center;
}

.page-poker__cta-section .page-poker__section-title {
    color: #FFD700;
    padding-top: 0;
    margin-bottom: 20px;
}

.page-poker__cta-section .page-poker__section-description {
    color: #cccccc;
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding-top: var(--header-offset, 120px);
    }
    .page-poker__hero-content {
        padding: 60px 15px;
    }
    .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%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-poker__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }
    .page-poker__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__security-section, .page-poker__getting-started-section, .page-poker__promotions-section, .page-poker__strategy-section, .page-poker__faq-section, .page-poker__cta-section {
        padding: 60px 0;
    }
    .page-poker__container {
        padding: 0 15px;
    }
    .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__promo-cards-grid, .page-poker__security-features, .page-poker__strategy-grid, .page-poker__tournament-highlights, .page-poker__steps-list {
        grid-template-columns: 1fr;
    }
    /* Ensure content images do not overflow */
    .page-poker img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px; /* Enforce minimum size for content images */
    }
    .page-poker__feature-icon, .page-poker__security-icon {
        width: 150px;
        height: 150px;
    }
    .page-poker__game-image, .page-poker__promo-image {
        height: 200px;
    }
    .page-poker__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-poker__accordion-content p {
        padding: 15px 0;
    }
    .page-poker__button--center {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__feature-title, .page-poker__game-title, .page-poker__promo-title, .page-poker__security-title, .page-poker__highlight-title, .page-poker__step-title, .page-poker__strategy-title {
        font-size: 1.5em;
    }
    .page-poker__accordion-header {
        font-size: 0.9em;
    }
    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}