/* style/poker.css */

/* Base styling for the poker page content */
.page-poker {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__section {
    padding: 60px 0;
    text-align: center;
}

.page-poker__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-poker__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.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.3s ease;
    margin: 10px;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

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

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

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

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

.page-poker__button--cta {
    margin-top: 30px;
    padding: 18px 35px;
    font-size: 1.2em;
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-poker__button--cta:hover {
    background-color: #e6c200;
    color: #0A192F;
    transform: translateY(-3px);
}

.page-poker__button--card,
.page-poker__button--feature,
.page-poker__button--tech,
.page-poker__button--step {
    background-color: #0A192F; /* Dark blue */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 20px;
}

.page-poker__button--card:hover,
.page-poker__button--feature:hover,
.page-poker__button--tech:hover,
.page-poker__button--step:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
}

.page-poker__button--large {
    padding: 20px 40px;
    font-size: 1.3em;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px; /* Minimum height for hero section */
    padding-top: 0; /* Handled by .page-poker */
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* filter: brightness(0.6); -- Removed to comply with image color rule */
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

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

.page-poker__hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-poker__card {
    background-color: rgba(10, 25, 47, 0.8); /* Slightly transparent dark blue */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-poker__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
}

.page-poker__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-poker__card-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1; /* Allows text to take available space */
    text-align: center;
}

/* Features Grid (Tournaments and Cash Games) */
.page-poker__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-poker__feature-card {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-poker__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__feature-image {
    width: 100%;
    height: 280px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-poker__feature-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1;
    text-align: center;
}

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

.page-poker__tech-item {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__tech-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-poker__tech-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-poker__tech-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Bonus List */
.page-poker__bonus-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-poker__bonus-item {
    background-color: rgba(10, 25, 47, 0.8);
    border-left: 5px solid #FFD700;
    padding: 25px 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__bonus-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-poker__bonus-text {
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-poker__bonus-text a {
    color: #FFD700;
    text-decoration: underline;
}

.page-poker__bonus-text a:hover {
    color: #e6c200;
}

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

.page-poker__step-card {
    background-color: rgba(10, 25, 47, 0.8);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-poker__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #0A192F;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

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

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

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

@media (max-width: 768px) {
    .page-poker {
        padding-top: var(--header-offset, 120px); /* Ensure mobile content is not hidden */
    }
    .page-poker__hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-poker__button {
        width: 80%;
        max-width: 300px;
    }
    .page-poker__section {
        padding: 40px 0;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__container {
        padding: 0 15px;
    }
    .page-poker__grid,
    .page-poker__features-grid,
    .page-poker__tech-grid,
    .page-poker__steps-grid {
        grid-template-columns: 1fr;
    }
    /* Ensure content images are responsive and not too small */
    .page-poker img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
    .page-poker__card-image,
    .page-poker__feature-image,
    .page-poker__tech-image {
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Maintain minimum height */
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-poker__button--cta {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}

/* Ensure no content image is smaller than 200px */
.page-poker__card-image,
.page-poker__feature-image,
.page-poker__tech-image {
    min-width: 200px;
    min-height: 200px;
}