:root {
    --okplay-primary: #F2C14E;
    --okplay-secondary: #FFD36B;
    --okplay-card-bg: #111111;
    --okplay-background: #0A0A0A;
    --okplay-text-main: #FFF6D6;
    --okplay-border: #3A2A12;
    --okplay-glow: #FFD36B;
    --okplay-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-poker {
    background-color: var(--okplay-background);
    color: var(--okplay-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-poker__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1920px; /* Max width for large screens */
    object-fit: cover;
    margin-bottom: 30px;
}

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

.page-poker__main-title {
    color: var(--okplay-text-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-poker__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--okplay-text-main);
}

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

.page-poker__btn-primary,
.page-poker__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-poker__btn-primary {
    background: var(--okplay-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-poker__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-poker__btn-secondary {
    background: transparent;
    color: var(--okplay-primary);
    border: 2px solid var(--okplay-primary);
}

.page-poker__btn-secondary:hover {
    background: var(--okplay-primary);
    color: var(--okplay-card-bg);
}

.page-poker__section-title {
    color: var(--okplay-text-main);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-poker__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    color: var(--okplay-text-main);
    padding: 0 20px;
}

.page-poker__why-choose-us-section,
.page-poker__game-types-section,
.page-poker__promotions-section,
.page-poker__get-started-section,
.page-poker__mobile-app-section,
.page-poker__trust-safety-section,
.page-poker__faq-section {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.page-poker__features-grid,
.page-poker__game-grid,
.page-poker__promo-grid,
.page-poker__steps-grid,
.page-poker__trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.page-poker__card {
    background-color: var(--okplay-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--okplay-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--okplay-text-main);
}

.page-poker__card-title {
    color: var(--okplay-primary);
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-poker__step-number {
    background: var(--okplay-button-gradient);
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-poker__mobile-app-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-poker__app-download-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-poker__app-text {
    flex: 1;
    text-align: left;
}

.page-poker__app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-poker__cta-buttons--center {
    margin-top: 40px;
}

.page-poker__faq-section {
    padding-bottom: 80px;
}

.page-poker__faq-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-poker__faq-item {
    background-color: var(--okplay-card-bg);
    border: 1px solid var(--okplay-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--okplay-text-main);
    font-size: 1.2rem;
    font-weight: 600;
    background-color: #1a1a1a;
}

.page-poker__faq-question:hover {
    background-color: #2a2a2a;
}

.page-poker__faq-question h3 {
    margin: 0;
    color: var(--okplay-text-main);
    font-size: 1.2rem;
    font-weight: 600;
}

.page-poker__faq-toggle {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--okplay-primary);
}

.page-poker__faq-item.active .page-poker__faq-toggle {
    transform: rotate(45deg);
}

.page-poker__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--okplay-text-main);
}

.page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px;
}

.page-poker__faq-answer p {
    margin: 0;
    color: var(--okplay-text-main);
}

/* General text styles */
.page-poker p, .page-poker li {
    color: var(--okplay-text-main);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-poker__app-download-content {
        flex-direction: column;
        text-align: center;
    }

    .page-poker__app-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .page-poker__app-image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding-bottom: 40px;
    }

    .page-poker__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-poker__hero-description {
        font-size: 1rem;
    }

    .page-poker__section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        padding-top: 30px;
    }

    .page-poker__section-description {
        margin-bottom: 30px;
    }

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

    .page-poker__btn-primary,
    .page-poker__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-poker__features-grid,
    .page-poker__game-grid,
    .page-poker__promo-grid,
    .page-poker__steps-grid,
    .page-poker__trust-features {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-poker__why-choose-us-section,
    .page-poker__game-types-section,
    .page-poker__promotions-section,
    .page-poker__get-started-section,
    .page-poker__mobile-app-section,
    .page-poker__trust-safety-section,
    .page-poker__faq-section {
        padding: 40px 0;
    }

    .page-poker img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-poker__section,
    .page-poker__card,
    .page-poker__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 🚨 Video section: body already handles --header-offset; prohibit --header-offset on __video-section here */
    .page-poker__video-section {
        padding-top: 10px !important;
    }
    
    .page-poker__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-poker__cta-buttons, .page-poker__button-group, .page-poker__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-poker__cta-buttons {
        flex-direction: column; /* Mobile vertical stacking */
    }
}