/* style/poker.css */
.page-poker {
    color: #333333; /* Dark text on light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

/* Ensure proper spacing for fixed header */
.page-poker__hero-section {
    padding-top: var(--header-offset, 120px); /* Default for desktop, will be adjusted by JS */
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF;
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow */
    min-height: 600px; /* Minimum height for hero section */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-poker__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
    text-align: center;
    z-index: 1;
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
    z-index: 0;
}

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

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-poker__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    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, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

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

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

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

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

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

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

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

.page-poker__button--play-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 30px;
    display: table; /* To center the button */
    margin-left: auto;
    margin-right: auto;
}

.page-poker__button--play-now:hover {
    background-color: #e0a030;
    transform: translateY(-2px);
}

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

.page-poker__game-card,
.page-poker__tournament-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-card-image,
.page-poker__tournament-card-image,
.page-poker__highlight-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-poker__game-card-title,
.page-poker__tournament-card-title,
.page-poker__highlight-title {
    font-size: 1.6em;
    color: #000000;
    margin: 20px 15px 10px;
}

.page-poker__game-card-description,
.page-poker__tournament-card-description,
.page-poker__highlight-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-poker__button--card,
.page-poker__button--tournament,
.page-poker__button--highlight {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin: 0 15px 20px;
    padding: 10px 20px;
    align-self: center;
    width: calc(100% - 30px);
    box-sizing: border-box;
}

.page-poker__button--card:hover,
.page-poker__button--tournament:hover,
.page-poker__button--highlight:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-2px);
}

.page-poker__text-content--callout {
    background-color: #f8f8f8;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    margin-top: 30px;
    font-style: italic;
    color: #444444;
    border-radius: 8px;
}

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

.page-poker__highlight-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__security-list-item {
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-poker__security-list-item::before {
    content: '✔️'; /* Checkmark icon */
    font-size: 1.2em;
    color: #FCBC45;
}

.page-poker__button--security {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 40px;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

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

.page-poker__cta-section .page-poker__text-content {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

.page-poker__button--register-cta:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

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

.page-poker__button--login-cta:hover {
    background-color: #e0a030;
    transform: translateY(-2px);
}

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

.page-poker__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__faq-answer {
    font-size: 1em;
    color: #555555;
}

.page-poker__button--faq {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 40px;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .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%;
        max-width: 300px;
    }

    .page-poker__section-title {
        font-size: 2em;
    }

    .page-poker__content-area {
        padding: 40px 15px;
    }

    .page-poker__game-cards-grid,
    .page-poker__tournament-grid,
    .page-poker__strategy-highlights,
    .page-poker__security-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-poker__hero-image,
    .page-poker__game-card-image,
    .page-poker__tournament-card-image,
    .page-poker__highlight-image {
        max-width: 100%;
        height: auto;
    }

    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}