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

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

.page-poker__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff; /* White text on hero image for contrast */
    background-color: rgba(26, 32, 44, 0.7); /* Semi-transparent main color overlay */
    padding: 40px 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 20px;
}

.page-poker__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-poker__button--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #1A202C; /* Main color for text */
    border: 2px solid #FFD700;
}

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

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

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

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #1A202C;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-poker__button--small:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

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

.page-poker__button--link {
    background: none;
    border: none;
    color: #FFD700;
    text-decoration: underline;
    padding: 5px 0;
    min-width: unset;
    text-align: left;
}

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

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

.page-poker__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__promotions-section,
.page-poker__guide-section,
.page-poker__cta-section {
    padding: 60px 0;
}

.page-poker__about-section {
    background-color: #f9f9f9;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image {
    width: 100%;
    height: 250px; /* Uniform height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

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

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-poker__highlight-item {
    background-color: #1A202C;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-poker__highlight-description {
    font-size: 1.1em;
    color: #cccccc;
}

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

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

.page-poker__guide-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-poker__guide-step-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-bottom: 15px;
}

.page-poker__guide-step-description {
    color: #666666;
    margin-bottom: 20px;
}

.page-poker__cta-section {
    background-color: #1A202C;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

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

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

.page-poker__cta-section .page-poker__section-text {
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    .page-poker__hero-section {
        min-height: 400px;
    }
    .page-poker__hero-content {
        padding: 30px 15px;
    }
    .page-poker__hero-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-poker__button {
        width: 100%;
        min-width: unset;
    }
    .page-poker__section-title {
        font-size: 2em;
    }
    .page-poker__section-text {
        font-size: 1em;
    }
    .page-poker__features-grid,
    .page-poker__game-cards-grid,
    .page-poker__promo-cards-grid,
    .page-poker__tournament-highlights,
    .page-poker__guide-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-poker__feature-icon, 
    .page-poker__game-image, 
    .page-poker__promo-image {
        max-width: 100%; 
        height: auto; /* Ensure images do not overflow */
        min-width: 200px; 
        min-height: 200px; /* Maintain minimum size */
    }
    .page-poker__feature-card img, 
    .page-poker__game-card img, 
    .page-poker__promo-card img {
        max-width: 100%; 
        height: auto; 
        min-width: 200px; 
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 1.8em;
    }
    .page-poker__hero-description {
        font-size: 0.9em;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__button--large {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-poker {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-poker__hero-section .page-poker__hero-image {
        min-width: 200px;
        min-height: 200px;
    }
}