/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* Slightly off-white background for sections */
}

/* Fixed header offset for main content */
.page-poker__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* General section styling */
.page-poker__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-poker__section--dark {
    background-color: #0A2342; /* Primary dark blue background */
    color: #ffffff; /* Light text for dark background */
}

.page-poker__section--dark .page-poker__section-title,
.page-poker__section--dark .page-poker__section-intro,
.page-poker__section--dark .page-poker__faq-question,
.page-poker__section--dark .page-poker__faq-answer,
.page-poker__section--dark .page-poker__link {
    color: #ffffff;
}

.page-poker__section--alt {
    background-color: #f0f0f0; /* Alternative light background */
}

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

.page-poker__section-title {
    font-size: 2.8em;
    color: #0A2342; /* Primary dark blue for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-poker__section--dark .page-poker__section-title {
    color: #FFD700; /* Gold for titles on dark background */
}

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

/* Hero Section */
.page-poker__hero-section {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Dark blue gradient background */
    color: #ffffff;
    text-align: center;
    padding: 100px 20px 60px; /* Adjusted padding-top for header offset */
    position: relative;
    overflow: hidden;
}

.page-poker__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-poker__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-poker__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.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;
    white-space: nowrap;
}

.page-poker__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2342; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-poker__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

.page-poker__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

/* Features Grid */
.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;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-poker__feature-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-poker__link {
    color: #0A2342;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.page-poker__link:hover {
    color: #FFD700;
}

/* Games Grid */
.page-poker__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

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

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

.page-poker__game-title {
    font-size: 1.8em;
    color: #0A2342;
    margin: 20px 15px 10px;
    font-weight: 600;
}

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

.page-poker__game-card .page-poker__button {
    margin-bottom: 20px;
}

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

.page-poker__tournament-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.page-poker__tournament-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-poker__tournament-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-poker__cta-center {
    text-align: center;
    margin-top: 50px;
}

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

.page-poker__strategy-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-poker__strategy-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-subtitle {
    font-size: 1.4em;
    color: #0A2342;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Bonuses Section */
.page-poker__bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

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

.page-poker__bonus-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Get Started Section */
.page-poker__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__step-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-poker__step-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-poker__step-title {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-poker__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-poker__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for arrow */
}

.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--expanded::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-poker__faq-answer {
    font-size: 1em;
    color: #f0f0f0;
    padding-top: 10px;
}

/* Final Call to Action */
.page-poker__cta-final-section {
    text-align: center;
    background-color: #0A2342; /* Primary dark blue background */
    color: #ffffff;
    padding: 80px 20px;
}

.page-poker__cta-final-section .page-poker__section-title {
    color: #FFD700;
}

.page-poker__cta-final-section .page-poker__section-intro {
    color: #f0f0f0;
    margin-bottom: 50px;
}

.page-poker__cta-final-section .page-poker__cta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding: 80px 15px 40px;
    }
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 100%;
        max-width: 300px;
    }
    .page-poker__section {
        padding: 40px 15px;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-intro {
        font-size: 0.95em;
    }
    .page-poker__features-grid,
    .page-poker__games-grid,
    .page-poker__tournament-cards,
    .page-poker__strategy-grid,
    .page-poker__bonus-grid,
    .page-poker__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-poker__feature-icon,
    .page-poker__step-icon {
        width: 200px; /* Ensure minimum size */
        height: 150px;
    }
    .page-poker__game-image {
        height: 200px;
    }
    .page-poker__cta-final-section .page-poker__cta {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile image overflow prevention */
    .page-poker img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area doesn't cause horizontal scroll */
    .page-poker {
        overflow-x: hidden;
    }
    .page-poker__container {
        padding: 0 10px;
    }
}

/* Ensure all images in content area are at least 200px wide/high */
.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__step-icon {
    min-width: 200px;
    min-height: 200px;
}
/* Override specific small sizes if they appear, ensuring min 200px */
.page-poker img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* or contain, depending on context */
}

/* Specific overrides for images in content sections to ensure min-width/height */
.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__step-card img {
    width: auto; /* Allow natural width */
    height: auto; /* Allow natural height */
    max-width: 100%; /* Ensure responsiveness */
    object-fit: cover; /* Maintain aspect ratio and fill */
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter properties are used on images */
.page-poker img {
    filter: none;
}