/* style/poker.css */

/* Root variables for consistent spacing and colors */
:root {
    --winzir-primary: #F2C14E;
    --winzir-secondary: #FFD36B;
    --winzir-card-bg: #111111;
    --winzir-background: #0A0A0A;
    --winzir-text-main: #FFF6D6;
    --winzir-border: #3A2A12;
    --winzir-glow: #FFD36B;
    --winzir-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

    /* Default header offset, overridden by shared.css if present */
    --header-offset: 120px;
}

.page-poker {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--winzir-text-main); /* Light text for dark body background */
    background-color: var(--winzir-background);
}

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

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

.page-poker__dark-bg {
    background-color: var(--winzir-background);
    color: var(--winzir-text-main);
}

.page-poker__text-block {
    background-color: var(--winzir-background);
    color: var(--winzir-text-main);
}

.page-poker__card {
    background-color: var(--winzir-card-bg);
    border: 1px solid var(--winzir-border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--winzir-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--winzir-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-poker__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-poker__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-poker__btn-primary {
    background: var(--winzir-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-poker__btn-secondary {
    background-color: transparent;
    color: var(--winzir-primary);
    border: 2px solid var(--winzir-primary);
}

.page-poker__btn-secondary:hover {
    background-color: var(--winzir-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-poker__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

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

.page-poker__main-title {
    font-weight: 800;
    color: var(--winzir-secondary);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

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

/* Content Images */
.page-poker__content-image-wrapper {
    margin-top: 50px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Why Choose Section */
.page-poker__why-choose {
    background-color: var(--winzir-background);
    padding-top: 40px; /* Small top padding for subsequent sections */
}

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

.page-poker__feature-title {
    color: var(--winzir-primary);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* Game Selection Section */
.page-poker__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
}

.page-poker__game-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Added glow for icons */
}

.page-poker__game-title {
    color: var(--winzir-secondary);
    font-size: 1.4em;
    margin-bottom: 10px;
}

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

.page-poker__highlight-title {
    color: var(--winzir-primary);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* Bonuses Section */
.page-poker__bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__bonus-title {
    color: var(--winzir-primary);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* Get Started Section */
.page-poker__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__step-title {
    color: var(--winzir-secondary);
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Legitimacy Section */
.page-poker__legitimacy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__point-title {
    color: var(--winzir-primary);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* Community & Support Section */
.page-poker__community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-poker__community-title {
    color: var(--winzir-primary);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-poker__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    padding: 0;
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--winzir-border);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--winzir-text-main);
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

.page-poker__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-poker__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--winzir-primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
    transform: rotate(45deg);
}

.page-poker__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 30px !important;
}

.page-poker__faq-answer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__section-title {
        font-size: 2.2em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-poker__section {
        padding: 40px 0;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__section-description {
        font-size: 1em;
    }
    .page-poker__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
        padding-bottom: 40px;
    }
    .page-poker__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-poker__hero-description {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-poker img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-poker__section,
    .page-poker__card,
    .page-poker__container,
    .page-poker__cta-buttons,
    .page-poker__hero-image-wrapper,
    .page-poker__content-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile button responsiveness */
    .page-poker__cta-button,
    .page-poker__btn-primary,
    .page-poker__btn-secondary,
    .page-poker a[class*="button"],
    .page-poker a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-poker__faq-answer {
        padding: 0 20px;
    }

    .page-poker__faq-item.active .page-poker__faq-answer {
        padding: 10px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__hero-description {
        font-size: 0.95em;
    }
    .page-poker__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-poker__btn-primary,
    .page-poker__btn-secondary {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-poker__feature-title,
    .page-poker__game-title,
    .page-poker__highlight-title,
    .page-poker__bonus-title,
    .page-poker__step-title,
    .page-poker__point-title,
    .page-poker__community-title {
        font-size: 1.3em;
    }
}