/* style/poker.css */
.page-poker {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark body background */
    background: #0A0A0A; /* Body background is #0A0A0A from shared.css, but sections can have it too */
}

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

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
    overflow: hidden;
    min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-poker__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-poker__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-poker__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 200px; /* Adjust based on video height and desired text position */
}

.page-poker__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFD36B;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-poker__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-poker__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-play,
.page-poker__btn-promo,
.page-poker__btn-step {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-poker__btn-primary,
.page-poker__btn-play,
.page-poker__btn-promo,
.page-poker__btn-step {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
}

.page-poker__btn-primary:hover,
.page-poker__btn-play:hover,
.page-poker__btn-promo:hover,
.page-poker__btn-step:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-poker__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
}

/* Section Titles and Text */
.page-poker__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFD36B;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-poker__section-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF6D6;
}

/* About Section */
.page-poker__about-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__promo-section,
.page-poker__get-started-section,
.page-poker__faq-section,
.page-poker__cta-final-section {
    padding: 80px 0;
    background: #0A0A0A;
}

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

.page-poker__feature-card {
    background: #111111;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
}

.page-poker__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__feature-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-poker__feature-description {
    font-size: 1rem;
    color: #FFF6D6;
}

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

.page-poker__game-card {
    background: #111111;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
}

.page-poker__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-poker__game-title {
    font-size: 1.4rem;
    color: #F2C14E;
    margin: 20px 20px 10px 20px;
}

.page-poker__game-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-poker__btn-play {
    margin: 0 20px 20px 20px;
    width: calc(100% - 40px);
}

/* Strategy Section */
.page-poker__strategy-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-poker__strategy-text {
    flex: 1;
    color: #FFF6D6;
}

.page-poker__strategy-subtitle {
    font-size: 1.6rem;
    color: #F2C14E;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-poker__strategy-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.page-poker__strategy-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-poker__strategy-list strong {
    color: #FFD36B;
}

.page-poker__strategy-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
}

.page-poker__strategy-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.page-poker__promo-card {
    background: #111111;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker__promo-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-poker__promo-description {
    font-size: 1rem;
    color: #FFF6D6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-poker__btn-promo {
    width: 100%;
}

.page-poker__full-promo-cta {
    text-align: center;
    margin-top: 60px;
}

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

.page-poker__step-card {
    background: #111111;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-poker__step-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__step-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-poker__step-description {
    font-size: 1rem;
    color: #FFF6D6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-poker__btn-step {
    width: 100%;
}

/* FAQ Section */
.page-poker__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-poker__faq-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #111111;
    color: #F2C14E;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-poker__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.2rem;
}

.page-poker__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #FFD36B;
    transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
    font-size: 1rem;
}

.page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px;
}

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

.page-poker__faq-answer a {
    color: #F2C14E;
    text-decoration: underline;
}

/* Final CTA Section */
.page-poker__cta-final-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background: #0A0A0A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__hero-content {
        margin-top: 150px;
        padding: 40px 20px;
    }
    .page-poker__strategy-content {
        flex-direction: column;
        text-align: center;
    }
    .page-poker__strategy-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }
    .page-poker__strategy-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-poker {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-poker__container {
        padding: 0 15px;
    }

    .page-poker__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        min-height: 500px;
    }

    .page-poker__hero-content {
        margin-top: 100px;
        padding: 30px 15px;
        border-radius: 5px;
    }

    .page-poker__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-poker__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-poker__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-poker__btn-primary,
    .page-poker__btn-secondary,
    .page-poker__btn-play,
    .page-poker__btn-promo,
    .page-poker__btn-step {
        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__hero-buttons,
    .page-poker__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-poker__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-poker__section-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-poker__features-grid,
    .page-poker__game-cards-grid,
    .page-poker__promo-grid,
    .page-poker__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-poker__feature-card,
    .page-poker__game-card,
    .page-poker__promo-card,
    .page-poker__step-card {
        padding: 20px;
    }

    .page-poker__feature-title,
    .page-poker__game-title,
    .page-poker__promo-title,
    .page-poker__step-title {
        font-size: 1.3rem;
    }

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

    .page-poker__faq-toggle {
        font-size: 1.5rem;
    }

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

    /* Image responsive force */
    .page-poker img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Video responsive force */
    .page-poker__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-poker__video-container {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .page-poker__section,
    .page-poker__card,
    .page-poker__container,
    .page-poker__strategy-image-wrapper,
    .page-poker__full-promo-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}