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

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

.page-poker__container--reversed {
    display: flex;
    flex-direction: column-reverse; /* Default for mobile */
    align-items: center;
    gap: 40px;
}

@media (min-width: 769px) {
    .page-poker__container--reversed {
        flex-direction: row; /* Desktop */
    }
}

.page-poker__heading {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-poker__paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px; /* Adjust as needed */
}

.page-poker__hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-poker__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-poker__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 900px;
}

.page-poker__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
}

.page-poker__hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    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, color 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-poker__button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-poker__button--register:hover {
    background-color: #f0f0f0;
}

.page-poker__button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-poker__button--login:hover {
    background-color: #e0a53b;
}

.page-poker__button--primary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-poker__button--primary:hover {
    background-color: #333333;
    border-color: #333333;
}

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

.page-poker__button--secondary:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #000000;
    color: #FFFFFF;
}

.page-poker__button--small:hover {
    background-color: #333333;
}

/* About Section */
.page-poker__about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-poker__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
    transform: translateY(-10px);
}

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

.page-poker__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-poker__cta-area {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Games Section */
.page-poker__games-section {
    padding: 80px 0;
}

.page-poker__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__game-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-5px);
}

.page-poker__game-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-poker__game-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__game-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-poker__tournament-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__tournament-card:hover {
    transform: translateY(-10px);
}

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

.page-poker__tournament-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__tournament-description {
    font-size: 1em;
    color: #555555;
}

/* Mobile Section */
.page-poker__mobile-section {
    padding: 80px 0;
}

.page-poker__mobile-content {
    flex: 1;
    padding-right: 40px;
    text-align: center;
}

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

.page-poker__mobile-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-poker__mobile-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__mobile-features li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #333333;
}

.page-poker__mobile-feature-icon {
    color: #000000;
    font-weight: bold;
    margin-right: 10px;
}

@media (min-width: 769px) {
    .page-poker__mobile-content {
        text-align: left;
    }

    .page-poker__mobile-features {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Tips Section */
.page-poker__tips-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-poker__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__tip-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.page-poker__tip-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__tip-description {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-poker__faq-section {
    padding: 80px 0;
}

.page-poker__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__faq-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-poker__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    display: none;
}

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

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

@media (max-width: 768px) {
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-poker__heading {
        font-size: 2em;
    }
    .page-poker__paragraph {
        font-size: 1em;
    }
    .page-poker__mobile-content {
        padding-right: 0;
    }

    /* Ensure all content area images are responsive */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }

    /* Content area should not cause horizontal scroll */
    .page-poker {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
    }
    .page-poker__button {
        width: 100%;
    }
    .page-poker__heading {
        font-size: 1.8em;
    }
    .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__tournament-grid, .page-poker__tips-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure all content images meet minimum size requirements */
.page-poker__feature-image, 
.page-poker__game-image, 
.page-poker__tournament-image, 
.page-poker__mobile-image {
    min-width: 200px;
    min-height: 200px;
}