.page-poker {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

/* Fixed Header Spacing */
.page-poker__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop: 120px, Mobile: controlled by shared's media query for --header-offset */
    position: relative;
    overflow: hidden;
}

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

.page-poker__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-poker__section-title--light {
    color: #FFF6D6; /* Text Main for dark backgrounds */
}

.page-poker__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__section-description--light {
    color: #FFF6D6; /* Text Main for dark backgrounds */
}

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

.page-poker__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button custom color */
    color: #111111; /* Dark text for contrast */
    border: none;
}

.page-poker__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-poker__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Main color border */
}

.page-poker__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #0A0A0A; /* Background color for contrast */
}

.page-poker__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Mobile responsive */
}

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

.page-poker__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

/* Hero Section */
.page-poker__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-poker__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px 60px;
    box-sizing: border-box;
}

.page-poker__main-title {
    font-size: 3em;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
}

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

/* Games Section */
.page-poker__games-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-poker__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border custom color */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2); /* Glow color shadow */
}

.page-poker__game-card-image {
    width: 100%;
    height: 267px; /* Maintain aspect ratio for 400x267 */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-poker__game-card-title {
    font-size: 1.5em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-poker__game-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-poker__game-card-title a:hover {
    text-decoration: underline;
}

.page-poker__game-card-text {
    color: #FFF6D6; /* Text Main */
    font-size: 0.95em;
    padding: 0 15px;
}

/* Features Section */
.page-poker__features-section {
    padding: 80px 0;
}

.page-poker__dark-section {
    background-color: #F2C14E; /* Main color */
    color: #FFF6D6; /* Text Main */
}

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

.page-poker__feature-item {
    background-color: rgba(17, 17, 17, 0.8); /* Darker background for contrast */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid #3A2A12; /* Border custom color */
}

.page-poker__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__feature-title {
    font-size: 1.3em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-poker__feature-text {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
}

/* Promotions Section */
.page-poker__promotions-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-poker__promo-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border custom color */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2); /* Glow color shadow */
}

.page-poker__promo-card-image {
    width: 100%;
    height: 225px; /* Maintain aspect ratio for 800x450 */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-poker__promo-card-title {
    font-size: 1.4em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-poker__promo-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-poker__promo-card-title a:hover {
    text-decoration: underline;
}

.page-poker__promo-card-text {
    color: #FFF6D6; /* Text Main */
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
}

/* Mobile Section */
.page-poker__mobile-section {
    padding: 80px 0;
}

.page-poker__mobile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-poker__mobile-text {
    flex: 1;
    text-align: left;
}

.page-poker__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-poker__mobile-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-poker__faq-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

.page-poker__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    border: 1px solid #3A2A12; /* Border custom color */
    border-radius: 10px;
    overflow: hidden;
}

.page-poker__faq-item {
    border-bottom: 1px solid #3A2A12; /* Border custom color */
}

.page-poker__faq-item:last-child {
    border-bottom: none;
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG */
    transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.1); /* Subtle hover with Glow color */
}

.page-poker__faq-question h3 {
    font-size: 1.15em;
    color: #FFD36B; /* Auxiliary color */
    margin: 0;
}

.page-poker__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
}

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

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

.page-poker__faq-answer a {
    color: #F2C14E; /* Main color for links */
    text-decoration: underline;
}

.page-poker__faq-answer a:hover {
    color: #FFD36B; /* Auxiliary color on hover */
}

/* Contact CTA Section */
.page-poker__contact-cta-section {
    padding: 80px 0;
}

.page-poker__contact-cta-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-poker__main-title {
        font-size: 2.5em;
    }
    .page-poker__section-title {
        font-size: 2em;
    }
    .page-poker__hero-description {
        font-size: 1.1em;
    }
    .page-poker__mobile-content {
        flex-direction: column;
    }
    .page-poker__mobile-text {
        text-align: center;
        margin-bottom: 30px;
    }
    .page-poker__download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-poker {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-poker__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media query for --header-offset */
    }
    .page-poker__main-title {
        font-size: 2em;
    }
    .page-poker__section-title {
        font-size: 1.8em;
    }
    .page-poker__hero-content {
        padding-bottom: 40px;
    }
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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__cta-buttons,
    .page-poker__download-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 img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    .page-poker__section,
    .page-poker__card,
    .page-poker__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-poker__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-poker__feature-item {
        padding: 20px;
    }
    .page-poker__faq-question {
        padding: 15px 20px;
    }
    .page-poker__faq-answer {
        padding: 0 20px;
    }
    .page-poker__faq-item.active .page-poker__faq-answer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-poker__main-title {
        font-size: 1.8em;
    }
    .page-poker__section-title {
        font-size: 1.5em;
    }
    .page-poker__hero-description {
        font-size: 1em;
    }
    .page-poker__game-cards,
    .page-poker__feature-grid,
    .page-poker__promo-cards {
        grid-template-columns: 1fr;
    }
}