/* style/poker.css */

/* Root variables for colors */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-dark: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Page-specific styling for poker */
.page-poker {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Main text color for the page */
    background-color: var(--background-dark); /* Page background color */
}

/* Fixed header spacing - Small top padding for the first section */
.page-poker__hero-section {
    padding-top: 10px; /* Small top padding for the first section, relying on body for header offset */
}

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

.page-poker__section {
    padding: 60px 0;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-poker__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-poker__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main);
}

.page-poker__grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.page-poker__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-poker__grid-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-poker__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Minimum height for hero */
    background: var(--background-dark); /* Fallback */
}

.page-poker__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit image height to ensure text is below */
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for better text contrast if text were on top, but here it's below */
}

.page-poker__hero-content-wrapper {
    position: relative; /* Relative to hero section */
    z-index: 1;
    padding: 40px 0;
    width: 100%; /* Ensure content takes full width for max-width container */
    max-width: 1200px; /* Constrain content width */
    margin-top: -100px; /* Pull content up slightly over image for visual flow */
}

.page-poker__hero-title {
    font-size: clamp(2.5em, 4vw, 3.8em); /* Responsive font size */
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-outline,
.page-poker__btn-text-link {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't increase width beyond max-width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-poker__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast on dark/gradient button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-poker__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

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

.page-poker__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}