/* style/poker.css */
.page-poker {
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #007bff;
    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__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1.05em;
    text-align: center;
    white-space: nowrap;
}

.page-poker__button--primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-poker__button--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

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

.page-poker__button--secondary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-poker__button--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
}

/* Hero Section */
.page-poker__hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffc107; /* Use auxiliary color for highlight */
}

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

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

.page-poker__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    z-index: 1;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 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(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

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

.page-poker__feature-card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__card-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-poker__card-description {
    font-size: 1em;
    color: #666666;
}

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

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

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

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

.page-poker__game-card-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

/* Download CTA Section */
.page-poker__download-cta-section {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-poker__download-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-poker__download-cta-section .page-poker__section-title {
    color: #ffc107;
}

.page-poker__download-cta-section .page-poker__section-intro {
    color: #f0f0f0;
}

.page-poker__download-buttons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-poker__download-app-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Why Choose Section */
.page-poker__why-choose-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-poker__why-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-poker__why-list-item {
    background-color: #ffffff;
    border-left: 5px solid #007bff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.page-poker__why-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__list-item-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-poker__list-item-description {
    color: #666666;
}

/* How to Start Section */
.page-poker__how-to-start-section {
    padding: 80px 0;
}

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

.page-poker__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__step-card:hover {
    transform: translateY(-8px);
}

.page-poker__step-card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #ffc107;
    box-shadow: 0 0 0 8px rgba(255, 193, 7, 0.3);
    min-width: 200px;
    min-height: 200px;
}

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

.page-poker__faq-items {
    margin-top: 50px;
}

.page-poker__faq-item {
    background-color: #ffffff;
    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.3em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-right: 30px;
}

.page-poker__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #ffc107;
    transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
    font-size: 1em;
    color: #666666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.page-poker__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    margin-top: 15px;
}

/* Contact CTA Section */
.page-poker__contact-cta-section {
    background: linear-gradient(135deg, #007bff, #ffc107);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-poker__contact-cta-section .page-poker__section-title {
    color: #ffffff;
}

.page-poker__contact-cta-section .page-poker__section-intro {
    color: #f0f0f0;
}

.page-poker__contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-poker__contact-buttons .page-poker__button--primary {
    background-color: #ffffff;
    color: #007bff;
    border-color: #ffffff;
}

.page-poker__contact-buttons .page-poker__button--primary:hover {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
}

.page-poker__contact-buttons .page-poker__button--secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-poker__contact-buttons .page-poker__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-poker__hero-title {
        font-size: 2.8em;
    }
    .page-poker__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-poker {
        padding-top: var(--header-offset, 100px);
    }
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__hero-buttons, .page-poker__download-buttons, .page-poker__contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 100%;
    }
    .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__steps-grid, .page-poker__why-list {
        grid-template-columns: 1fr;
    }
    .page-poker__feature-card-image, .page-poker__game-card-image, .page-poker__download-app-image, .page-poker__step-card-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    /* Mobile overflow prevention for all images within .page-poker */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    .page-poker__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__section-title {
        font-size: 1.6em;
    }
    .page-poker__hero-section, .page-poker__about-section, .page-poker__games-section, .page-poker__download-cta-section, .page-poker__why-choose-section, .page-poker__how-to-start-section, .page-poker__faq-section, .page-poker__contact-cta-section {
        padding: 40px 0;
    }
    .page-poker__container {
        padding: 0 15px;
    }
}