/* style/poker.css */
.page-poker {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    color: #ffffff;
    text-align: center;
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for text readability */
}

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

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

.page-poker__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.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: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

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

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

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

.page-poker__button--secondary:hover {
    background-color: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for section titles */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-poker__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 0;
}

.page-poker__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-poker__why-choose-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

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

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

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

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image {
    width: 100%; /* Ensures images scale within their containers */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__feature-icon {
    max-width: 150px;
    height: auto;
    margin: 0 auto 20px auto;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__step-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description,
.page-poker__step-description {
    font-size: 1em;
    color: #666666;
}

.page-poker__game-variants-section {
    padding: 60px 0;
}

.page-poker__tournaments-promos-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-poker__secure-fair-play-section {
    padding: 60px 0;
}

.page-poker__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

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

.page-poker__security-item:hover {
    transform: translateY(-5px);
}

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

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

.page-poker__security-description {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 15px;
}

.page-poker__text-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-poker__text-link:hover {
    text-decoration: underline;
}

.page-poker__get-started-section {
    background-color: #007bff;
    color: #ffffff;
    padding: 60px 0;
}

.page-poker__get-started-section .page-poker__section-title,
.page-poker__get-started-section .page-poker__section-intro {
    color: #ffffff;
}

.page-poker__get-started-section .page-poker__section-title::after {
    background-color: #ffc107;
}

.page-poker__step-card {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333333;
}

.page-poker__step-title {
    color: #007bff;
}

.page-poker__cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    text-align: center;
    color: #ffffff;
}

.page-poker__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.page-poker__cta-title {
    font-size: 3em;
    color: #ffc107;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.page-poker__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-poker__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border: 3px solid #ffc107;
}

.page-poker__floating-button {
    position: fixed;
    bottom: 30px;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff; /* Primary color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it floats above other content */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker__floating-button--register {
    right: 30px;
    background-color: #ffc107; /* Auxiliary color for Register */
    color: #000000;
}

.page-poker__floating-button--register:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-poker__floating-button--login {
    right: 180px;
    background-color: #007bff; /* Primary color for Login */
}

.page-poker__floating-button--login:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__hero-title {
        font-size: 3em;
    }
    .page-poker__cta-title {
        font-size: 2.5em;
    }
    .page-poker__floating-button--login {
        right: 160px;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__section-title {
        font-size: 2em;
    }
    .page-poker__section-intro {
        font-size: 0.95em;
    }
    .page-poker__floating-button {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-poker__floating-button--register {
        right: 20px;
    }
    .page-poker__floating-button--login {
        right: 140px;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__button {
        width: 80%;
        margin: 0 auto;
    }
    .page-poker__features-grid, .page-poker__game-grid, .page-poker__promo-grid, .page-poker__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-poker__security-features {
        grid-template-columns: 1fr;
    }
    .page-poker__hero-image,
    .page-poker__feature-icon,
    .page-poker__game-image,
    .page-poker__promo-image,
    .page-poker__security-icon,
    .page-poker__cta-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-poker__cta-title {
        font-size: 2em;
    }
    .page-poker__cta-description {
        font-size: 1em;
    }
    .page-poker__button--large {
        width: 90%;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__floating-button--login {
        right: 120px;
    }
    .page-poker__floating-button--register {
        right: 10px;
    }
}