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

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

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

.page-poker__dark-bg {
    background-color: #0A0A0A; /* Matches body background for consistency */
    color: #FFF6D6;
}

.page-poker__section-title {
    font-size: clamp(2em, 4vw, 3em); /* H2 font size with clamp */
    color: #F2C14E; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Desktop padding for fixed header */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-poker__hero-container {
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px; /* Space between image and content */
}

.page-poker__hero-content {
    text-align: center;
    max-width: 800px;
    margin-top: -20px; /* Slightly pull up content closer to image */
}

.page-poker__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size with clamp */
    color: #FFD36B; /* Accent color for H1 */
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

.page-poker__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    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: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

.page-poker__btn-secondary {
    background-color: transparent;
    color: #F2C14E;
    border: 2px solid #F2C14E;
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-poker__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}

/* Cards */
.page-poker__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    height: 100%; /* Ensure equal height in grid */
    box-sizing: border-box;
}

.page-poker__card-title {
    font-size: 1.6em;
    color: #FFD36B;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-poker__card-text {
    font-size: 1em;
    color: #FFF6D6;
}

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

.page-poker__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-poker__step-btn,
.page-poker__guide-btn {
    margin-top: 20px;
    width: auto; /* Allow buttons in cards to size naturally */
    display: inline-block; /* Ensure proper spacing */
}

/* VIP Section */
.page-poker__vip-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-poker__vip-content .page-poker__content-image {
    flex: 1;
    min-width: 400px; /* Minimum width before wrapping */
    margin: 0; /* Override default margin */
}

.page-poker__vip-details {
    flex: 1;
    min-width: 400px; /* Minimum width before wrapping */
    padding: 20px;
    box-sizing: border-box;
}

.page-poker__vip-details .page-poker__card-title {
    font-size: 1.5em;
    color: #FFD36B;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-poker__vip-details .page-poker__card-text {
    margin-bottom: 20px;
}

.page-poker__vip-details .page-poker__btn-primary,
.page-poker__vip-details .page-poker__btn-secondary {
    margin-right: 15px;
    margin-bottom: 15px; /* For stacking on mobile */
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section .page-poker__section-text {
    text-align: center;
    margin-bottom: 30px;
}

.page-poker__responsible-gaming-section .page-poker__btn-primary {
    display: block;
    margin: 0 auto;
    width: fit-content;
    max-width: 300px; /* Constrain button width */
}

.page-poker__link {
    color: #F2C14E;
    text-decoration: underline;
}

.page-poker__link:hover {
    color: #FFD36B;
}

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

.page-poker__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
    background-color: #222222;
}

.page-poker__faq-title {
    font-size: 1.2em;
    color: #FFD36B;
    margin: 0;
    font-weight: bold;
}

.page-poker__faq-toggle {
    font-size: 1.8em;
    color: #F2C14E;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate + to - */
}

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

.page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 1000px !important; /* Use !important as specified */
    padding: 15px 20px;
}

.page-poker__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.5;
    text-align: left;
}

/* CTA Section */
.page-poker__cta-section {
    padding-bottom: 80px;
}

.page-poker__cta-section .page-poker__cta-buttons {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

    .page-poker__section {
        padding: 40px 0;
    }

    .page-poker__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile padding for fixed header */
        padding-bottom: 40px;
    }

    .page-poker__hero-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }

    .page-poker__hero-description {
        font-size: 1em;
    }

    .page-poker__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker__btn-primary,
    .page-poker__btn-secondary {
        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__cta-buttons,
    .page-poker__button-group,
    .page-poker__btn-container {
      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__features-grid,
    .page-poker__steps-grid,
    .page-poker__guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-poker__card {
        padding: 20px;
    }

    .page-poker__card-title {
        font-size: 1.4em;
    }

    .page-poker__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 30px auto;
    }

    .page-poker__vip-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-poker__vip-content .page-poker__content-image,
    .page-poker__vip-details {
        min-width: unset; /* Remove min-width for mobile */
        width: 100%;
    }

    .page-poker__vip-details .page-poker__btn-primary,
    .page-poker__vip-details .page-poker__btn-secondary {
        margin-right: 0;
        width: 100%;
        display: block;
    }

    .page-poker__faq-question {
        padding: 15px;
    }

    .page-poker__faq-title {
        font-size: 1.1em;
    }

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

    .page-poker__faq-item.active .page-poker__faq-answer {
        padding: 15px 15px;
    }
}

/* Ensure all content containers are responsive */
.page-poker__section,
.page-poker__card,
.page-poker__container,
.page-poker__why-choose-section,
.page-poker__getting-started-section,
.page-poker__guides-section,
.page-poker__vip-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__cta-section {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Content area images CSS dimensions lower bound (200px) */
.page-poker img:not(.page-poker__game-category-icon, .page-poker__partner-logo) {
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}
@media (max-width: 768px) {
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__hero-container,
  .page-poker__vip-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}