/* style/poker.css */
:root {
    --phdream-primary: #F2C14E;
    --phdream-secondary: #FFD36B;
    --phdream-card-bg: #111111;
    --phdream-bg: #0A0A0A;
    --phdream-text-main: #FFF6D6;
    --phdream-border: #3A2A12;
    --phdream-glow: #FFD36B;
    --phdream-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-poker {
    background-color: var(--phdream-bg);
    color: var(--phdream-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-poker__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.page-poker__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.page-poker__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-poker__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px;
}

.page-poker__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--phdream-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-poker__hero-description {
    font-size: 1.2rem;
    color: var(--phdream-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker a[class*="button"],
.page-poker a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-poker__btn-primary {
    background: var(--phdream-button-gradient);
    color: #ffffff; /* Forced white for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-poker__btn-secondary:hover {
    background-color: var(--phdream-primary);
    color: #0A0A0A;
}

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

.page-poker__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-poker__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--phdream-primary);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-poker__paragraph {
    font-size: 1.1rem;
    color: var(--phdream-text-main);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker__card {
    background-color: var(--phdream-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--phdream-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-poker__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-poker__card-title {
    font-size: 1.5rem;
    color: var(--phdream-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-poker__card-description {
    font-size: 1rem;
    color: var(--phdream-text-main);
    line-height: 1.5;
}

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

.page-poker__step-card {
    background-color: var(--phdream-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--phdream-border);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-poker__step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--phdream-secondary);
    margin-bottom: 15px;
}

.page-poker__step-title {
    font-size: 1.4rem;
    color: var(--phdream-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-poker__step-description {
    font-size: 1rem;
    color: var(--phdream-text-main);
    margin-bottom: 20px;
}

.page-poker__btn-text {
    color: var(--phdream-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-poker__btn-text:hover {
    color: var(--phdream-glow);
    text-decoration: underline;
}

.page-poker__promo-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__center-button {
    margin-top: 30px;
}

.page-poker__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

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

.page-poker__mobile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-poker__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__strategy-list li {
    background-color: var(--phdream-card-bg);
    border: 1px solid var(--phdream-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--phdream-text-main);
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-poker__strategy-list li strong {
    color: var(--phdream-primary);
}

.page-poker__link-text {
    color: var(--phdream-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-poker__link-text:hover {
    color: var(--phdream-glow);
    text-decoration: underline;
}

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

.page-poker__faq-item {
    background-color: var(--phdream-card-bg);
    border: 1px solid var(--phdream-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-poker__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--phdream-card-bg);
    color: var(--phdream-primary);
    font-size: 1.2rem;
    font-weight: 600;
    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;
    font-size: 1.2rem;
    color: var(--phdream-primary);
}

.page-poker__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--phdream-secondary);
}

.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;
    color: var(--phdream-text-main);
    background-color: rgba(17, 17, 17, 0.8);
}

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

.page-poker__faq-answer p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.page-poker__center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-poker__mobile-app-content {
        flex-direction: column;
    }
    .page-poker__mobile-text, .page-poker__mobile-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-poker__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

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

    .page-poker__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

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

    .page-poker__section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .page-poker__paragraph,
    .page-poker__card-description,
    .page-poker__step-description,
    .page-poker__strategy-list li,
    .page-poker__faq-answer p {
        font-size: 1rem;
    }

    .page-poker__game-grid,
    .page-poker__steps-grid {
        grid-template-columns: 1fr;
    }

    .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__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-poker__faq-question,
    .page-poker__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-poker__video-container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-poker__hero-section .page-poker__video-container {
        padding-bottom: 60%; /* Adjust aspect ratio for mobile if needed */
    }
}