/* style/poker-room.css */

:root {
    --ph33-gold: #FFD700;
    --ph33-navy: #000080;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
}

.page-poker-room {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--gray-light);
}

.page-poker-room__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 500px;
    overflow: hidden;
    text-align: center;
}

.page-poker-room__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-poker-room__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    color: var(--text-light);
}

.page-poker-room__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--ph33-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker-room__hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker-room__btn-primary,
.page-poker-room__btn-secondary,
.page-poker-room__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-poker-room__btn-primary {
    background-color: var(--ph33-gold);
    color: var(--ph33-navy);
    border: 2px solid var(--ph33-gold);
}

.page-poker-room__btn-primary:hover {
    background-color: #e6c200;
    color: var(--ph33-navy);
    border-color: #e6c200;
}

.page-poker-room__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--ph33-gold);
}

.page-poker-room__btn-secondary:hover {
    background-color: var(--ph33-gold);
    color: var(--ph33-navy);
    border-color: var(--ph33-gold);
}

.page-poker-room__btn-tertiary {
    background-color: var(--ph33-navy);
    color: var(--text-light);
    border: 2px solid var(--ph33-navy);
}

.page-poker-room__btn-tertiary:hover {
    background-color: var(--ph33-gold);
    color: var(--ph33-navy);
    border-color: var(--ph33-gold);
}

.page-poker-room__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-poker-room__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-poker-room__section-intro,
.page-poker-room__explore-text,
.page-poker-room__promo-text,
.page-poker-room__mobile-prompt,
.page-poker-room__support-text,
.page-poker-room__final-note {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-poker-room__dark-bg {
    background-color: var(--ph33-navy);
    color: var(--text-light);
}

.page-poker-room__dark-bg .page-poker-room__section-title,
.page-poker-room__dark-bg .page-poker-room__section-intro,
.page-poker-room__dark-bg .page-poker-room__explore-text,
.page-poker-room__dark-bg .page-poker-room__promo-text,
.page-poker-room__dark-bg .page-poker-room__mobile-prompt,
.page-poker-room__dark-bg .page-poker-room__support-text,
.page-poker-room__dark-bg .page-poker-room__final-note,
.page-poker-room__dark-bg h3,
.page-poker-room__dark-bg p {
    color: var(--text-light);
}

.page-poker-room__light-bg {
    background-color: var(--gray-light);
    color: var(--text-dark);
}

.page-poker-room__features-grid,
.page-poker-room__games-grid,
.page-poker-room__bonus-grid,
.page-poker-room__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-poker-room__card {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker-room__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker-room__dark-card {
    background-color: var(--ph33-gold);
    color: var(--ph33-navy);
}

.page-poker-room__dark-card h3,
.page-poker-room__dark-card p {
    color: var(--ph33-navy);
}

.page-poker-room__feature-title,
.page-poker-room__game-title,
.page-poker-room__bonus-title,
.page-poker-room__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ph33-navy);
}

.page-poker-room__dark-card .page-poker-room__feature-title,
.page-poker-room__dark-card .page-poker-room__game-title,
.page-poker-room__dark-card .page-poker-room__bonus-title,
.page-poker-room__dark-card .page-poker-room__step-title {
    color: var(--ph33-navy);
}

.page-poker-room__feature-description,
.page-poker-room__game-description,
.page-poker-room__bonus-description,
.page-poker-room__step-description {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-poker-room__game-image,
.page-poker-room__bonus-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker-room__button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-poker-room__security-content,
.page-poker-room__mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-poker-room__security-image,
.page-poker-room__mobile-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-poker-room__security-text,
.page-poker-room__mobile-text {
    max-width: 600px;
    text-align: center;
}

.page-poker-room__security-subtitle,
.page-poker-room__mobile-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--ph33-gold);
}

.page-poker-room__security-description,
.page-poker-room__mobile-description {
    font-size: 1rem;
    margin-bottom: 20px;
}

.page-poker-room__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker-room__faq-item {
    background-color: var(--text-light);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: var(--text-dark);
}

.page-poker-room__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--ph33-gold);
    color: var(--ph33-navy);
    transition: background-color 0.3s ease;
}

.page-poker-room__faq-question:hover {
    background-color: #e6c200;
}

.page-poker-room__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-poker-room__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--text-light);
    color: var(--text-dark);
}

.page-poker-room__faq-item.active .page-poker-room__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px !important;
}

.page-poker-room__faq-answer p {
    margin: 0;
    font-size: 1rem;
}

.page-poker-room__cta-final-section {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-poker-room__security-content {
        flex-direction: row;
        text-align: left;
    }
    .page-poker-room__security-image {
        order: 2;
    }
    .page-poker-room__security-text {
        order: 1;
        text-align: left;
    }
    .page-poker-room__mobile-content {
        flex-direction: row;
        text-align: left;
    }
    .page-poker-room__mobile-image {
        order: 1;
    }
    .page-poker-room__mobile-text {
        order: 2;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-poker-room__hero-content {
        padding: 20px 15px;
    }

    .page-poker-room__container {
        padding: 40px 15px;
    }

    .page-poker-room__section-intro,
    .page-poker-room__explore-text,
    .page-poker-room__promo-text,
    .page-poker-room__mobile-prompt,
    .page-poker-room__support-text,
    .page-poker-room__final-note {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .page-poker-room__cta-buttons,
    .page-poker-room__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-poker-room__btn-primary,
    .page-poker-room__btn-secondary,
    .page-poker-room__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker-room__features-grid,
    .page-poker-room__games-grid,
    .page-poker-room__bonus-grid,
    .page-poker-room__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-poker-room__security-content,
    .page-poker-room__mobile-content {
        flex-direction: column;
    }

    .page-poker-room__security-text,
    .page-poker-room__mobile-text {
        text-align: left;
    }

    .page-poker-room__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-poker-room__faq-toggle {
        font-size: 1.5rem;
    }

    /* Mobile image and video responsiveness */
    .page-poker-room img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-poker-room__section,
    .page-poker-room__card,
    .page-poker-room__container,
    .page-poker-room__hero-section,
    .page-poker-room__why-choose-section,
    .page-poker-room__games-selection-section,
    .page-poker-room__bonuses-section,
    .page-poker-room__getting-started-section,
    .page-poker-room__security-section,
    .page-poker-room__mobile-section,
    .page-poker-room__faq-section,
    .page-poker-room__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker-room__hero-section {
        padding-top: 10px !important; /* Small top padding for hero on mobile */
    }

    .page-poker-room__video-section {
        padding-top: 10px !important;
    }

    .page-poker-room__cta-buttons,
    .page-poker-room__button-group {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}