/* style/poker.css */

/* Ensure main content has padding to clear fixed header */
.page-poker {
    padding-top: var(--header-offset, 120px); /* Applies to desktop, mobile will use shared value */
    background-color: #FFFFFF; /* Based on body background color */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px; /* Adjust padding for content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-poker__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    filter: brightness(0.5); /* Darken image for text readability, NO COLOR CHANGE */
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 20px;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

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

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

/* Generic Button Styles */
.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.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-poker__button--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

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

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

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

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

.page-poker__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 250px;
}

.page-poker__button--link {
    background: none;
    border: none;
    color: #FCBC45;
    text-decoration: underline;
    padding: 0;
    font-size: 1em;
    min-width: unset;
}

.page-poker__button--link:hover {
    color: #e0a53b;
    transform: none;
}


/* General Section Styling */
.page-poker__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-poker__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-poker__section-subtitle {
    font-size: 1.2em;
    color: #555555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-poker__text-content {
    flex: 1;
}

.page-poker__text-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-poker__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px;
}

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

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

.page-poker__game-card {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__game-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-poker__game-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Advantages Section */
.page-poker__advantages-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page-poker__advantage-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__advantage-item img {
     /* Use a fixed width for icons, but ensure min size */
    
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Overriding for icon type, but still ensuring minimum content size */
    min-height: 200px;
}

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

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

/* Getting Started Guide */
.page-poker__guide-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-poker__step-item {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-poker__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FCBC45;
    color: #000000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-poker__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

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

.page-poker__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-poker__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-poker__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

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

.page-poker__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

/* Download Section */
.page-poker__download-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background for download section */
    color: #FFFFFF;
}

.page-poker__download-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-poker__download-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-poker__download-content .page-poker__section-title {
    color: #FFFFFF;
}

.page-poker__download-content .page-poker__section-subtitle {
    color: #f0f0f0;
}

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

.page-poker__download-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__download-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Call to Action Section */
.page-poker__cta-section {
    padding: 60px 20px;
    background-color: #FCBC45; /* Login button color */
    text-align: center;
    color: #000000;
}

.page-poker__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #000000;
}

.page-poker__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 3em;
    }
    .page-poker__section-title {
        font-size: 2em;
    }
    .page-poker__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-poker__image-content {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific rules for images to prevent overflow */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    .page-poker__hero-section {
        padding: 60px 15px;
        min-height: 450px;
    }
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 100%;
        min-width: unset;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-subtitle {
        font-size: 1em;
    }
    .page-poker__game-grid,
    .page-poker__advantages-grid,
    .page-poker__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-poker__download-container {
        flex-direction: column;
    }
    .page-poker__download-content {
        order: 1;
    }
    .page-poker__download-image {
        order: 2;
    }
    .page-poker__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-section {
        padding: 40px 10px;
        min-height: 400px;
    }
    .page-poker__section-title {
        font-size: 1.6em;
    }
    .page-poker__cta-title {
        font-size: 1.8em;
    }
}