.page-poker {
    color: #333333; /* Default text color for light body background */
}

.page-poker__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-poker__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.page-poker__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    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;
    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: #FFD700; /* Gold */
    color: #0056B3; /* Dark Blue */
    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 */
    border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.page-poker__button--tertiary {
    background-color: #0056B3; /* Dark Blue */
    color: #ffffff;
    border: 2px solid #0056B3;
}

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

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

.page-poker__section-title {
    font-size: 2.8em;
    color: #0056B3; /* Dark Blue */
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.page-poker__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent */
    border-radius: 2px;
}

.page-poker__section-intro {
    font-size: 1.15em;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

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

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

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

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

.page-poker__feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__feature-title {
    font-size: 1.6em;
    color: #0056B3; /* Dark Blue */
    margin-bottom: 15px;
}

.page-poker__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
}

.page-poker__getting-started-section {
    padding: 60px 0;
}

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

.page-poker__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.page-poker__step-card:hover {
    transform: translateY(-5px);
}

.page-poker__step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__step-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
}

.page-poker__step-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 25px;
}

.page-poker__tournaments-section {
    background-color: #0056B3;
    padding: 80px 0;
    color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-title {
    color: #FFD700; /* Gold */
}

.page-poker__tournaments-section .page-poker__section-title::after {
    background-color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-intro {
    color: #f0f0f0;
}

.page-poker__tournament-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-poker__tournament-text {
    flex: 1;
    min-width: 300px;
}

.page-poker__tournament-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-poker__tournament-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-poker__tournament-features-list li {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFD700; /* Gold */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.page-poker__list-item-title {
    font-size: 1.3em;
    color: #FFD700; /* Gold */
    margin-bottom: 5px;
}

.page-poker__tournament-features-list p {
    font-size: 0.95em;
    color: #cccccc;
    margin: 0;
}

.page-poker__tournament-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__tournament-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__strategies-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-poker__strategy-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    flex-direction: row-reverse; /* Image on right, text on left for this section */
}

.page-poker__strategy-text {
    flex: 1;
    min-width: 300px;
}

.page-poker__strategy-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555555;
}

.page-poker__strategy-tips-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-poker__strategy-tips-list li {
    background-color: #ffffff;
    border-left: 5px solid #0056B3; /* Dark Blue */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-tips-list p {
    font-size: 0.95em;
    color: #666666;
    margin: 0;
}

.page-poker__strategy-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__strategy-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__responsible-gaming-section {
    padding: 80px 0;
    background-color: #eaf4f9; /* Light blue background */
}

.page-poker__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-poker__responsible-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__responsible-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__responsible-text {
    flex: 2;
    min-width: 300px;
}

.page-poker__responsible-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555555;
}

.page-poker__responsible-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-poker__responsible-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-poker__responsible-list strong {
    color: #0056B3;
}

.page-poker__cta-section {
    background-color: #0056B3;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-poker__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-poker__cta-section .page-poker__section-title {
    color: #FFD700; /* Gold */
    position: relative;
    z-index: 1;
}

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

.page-poker__cta-section .page-poker__section-intro {
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.page-poker__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

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

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

    .page-poker__tournament-content, .page-poker__strategy-content, .page-poker__responsible-content {
        flex-direction: column;
        text-align: center;
    }
    .page-poker__strategy-content {
        flex-direction: column-reverse; /* Reset order for smaller screens */
    }
    .page-poker__tournament-image-wrapper, .page-poker__strategy-image-wrapper, .page-poker__responsible-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-poker__tournament-image, .page-poker__strategy-image, .page-poker__responsible-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px);
    }
    .page-poker__hero-container {
        padding: 40px 15px;
    }
    .page-poker__hero-title {
        font-size: 2.5em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-intro {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-poker__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-poker__features-grid, .page-poker__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-poker__tournament-image, .page-poker__strategy-image, .page-poker__responsible-image, .page-poker__cta-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        min-width: 200px; /* Enforce minimum size even on mobile */
        min-height: 200px; /* Enforce minimum size even on mobile */
    }
    /* Enforce max-width: 100%; height: auto; for all content images on mobile */
    .page-poker img {
        max-width: 100% !important;
        height: auto !important;
    }
    /* Ensure no content causes horizontal scrolling */
    .page-poker {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-poker__hero-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 0.95em;
    }
    .page-poker__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-poker__section-title {
        font-size: 1.6em;
    }
    .page-poker__feature-title, .page-poker__step-title, .page-poker__list-item-title {
        font-size: 1.3em;
    }
    .page-poker__feature-card, .page-poker__step-card {
        padding: 20px;
    }
}