/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main color for dark body background */
    background-color: #0A0A0A; /* Background color for consistency, though body is set by shared.css */
}

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

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

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

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for header offset, as body padding handles main offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0A0A0A; /* Fallback */
}

.page-poker__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

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

.page-poker__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #FFD36B; /* Glow color for prominence */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-poker__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #FFF6D6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-poker__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

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

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

/* About Section */
.page-poker__about-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background color */
}

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

.page-poker__feature-card {
    background-color: #111111; /* Card BG color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #3A2A12; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__card-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-poker__card-text {
    color: #FFF6D6; /* Text Main color */
}

/* Games Section */
.page-poker__games-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG as background for this section */
}

.page-poker__games-section .page-poker__section-description {
    color: #FFF6D6;
}

.page-poker__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-poker__game-card {
    background-color: #0A0A0A; /* Background color */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #3A2A12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-3px);
}

.page-poker__game-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

/* Live Poker Section */
.page-poker__live-poker-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background color */
}

.page-poker__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-poker__text-content,
.page-poker__image-content {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
}

.page-poker__image-content {
    text-align: center;
}

.page-poker__live-poker-section .page-poker__section-title,
.page-poker__live-poker-section .page-poker__section-description {
    text-align: left;
}

.page-poker__live-poker-section .page-poker__btn-primary {
    margin-top: 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG as background */
}

.page-poker__strategy-section .page-poker__section-description {
    color: #FFF6D6;
}

.page-poker__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-poker__strategy-card {
    background-color: #0A0A0A; /* Background color */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

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

.page-poker__strategy-card .page-poker__card-title {
    font-size: 1.3em;
    color: #F2C14E; /* Main color */
}

.page-poker__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(242, 193, 78, 0.1); /* Light background using main color */
    border-radius: 10px;
    border: 1px dashed #F2C14E;
}

.page-poker__cta-text {
    font-size: 1.3em;
    color: #FFF6D6;
    margin-bottom: 30px;
    font-weight: 500;
}

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

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

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

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG color */
    color: #F2C14E; /* Main color */
    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-title {
    font-size: 1.2em;
    margin: 0;
    color: #F2C14E;
}

.page-poker__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFD36B;
}

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

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

.page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 1000px !important; /* Use !important for override */
    padding: 20px 25px;
}

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

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

.page-poker__faq-answer a:hover {
    color: #FFD36B;
}

/* CTA Section */
.page-poker__cta-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG as background */
    text-align: center;
}

.page-poker__cta-content {
    max-width: 800px;
}

.page-poker__cta-section .page-poker__section-description {
    color: #FFF6D6;
}

.page-poker__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Image specific styles */
.page-poker__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Images */
.page-poker img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .page-poker__flex-container {
        flex-direction: column;
        text-align: center;
    }

    .page-poker__live-poker-section .page-poker__section-title,
    .page-poker__live-poker-section .page-poker__section-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-poker__section-title {
        font-size: 2em;
    }

    .page-poker__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-poker__hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-poker__hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

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

    .page-poker__btn-primary,
    .page-poker__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-poker__hero-section {
        padding-bottom: 40px;
    }

    .page-poker__about-section,
    .page-poker__games-section,
    .page-poker__live-poker-section,
    .page-poker__strategy-section,
    .page-poker__faq-section,
    .page-poker__cta-section {
        padding: 60px 0;
    }

    .page-poker__features-grid,
    .page-poker__game-categories,
    .page-poker__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

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

    .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;
    }

    /* FAQ specific mobile styles */
    .page-poker__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-poker__faq-answer {
        padding: 15px 20px;
    }
    .page-poker__faq-item.active .page-poker__faq-answer {
        padding: 15px 20px !important;
    }
    
    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}