/* style/poker.css */

/* Base styling for the poker page content */
.page-poker {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly set background as per color scheme */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Container for consistent content width */
.page-poker__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-poker__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    overflow: hidden;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-poker__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-poker__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    opacity: 0.3; /* Subtle background effect */
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-poker__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-poker__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    line-height: 1.2;
}

.page-poker__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFFFFF;
}

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

/* General Button Styling */
.page-poker__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    cursor: pointer;
}

.page-poker__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Main color for text */
    border: 2px solid #FCBC45;
}

.page-poker__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
    color: #000000;
}

.page-poker__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register color */
    border: 2px solid #FFFFFF;
}

.page-poker__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.page-poker__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: unset;
}

/* Section Titles and Descriptions */
.page-poker__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* General Section Padding */
.page-poker__features-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__strategy-guide-section,
.page-poker__how-to-start-section,
.page-poker__cta-section,
.page-poker__about-playjl-section {
    padding: 60px 0;
}

/* Specific Section Backgrounds */
.page-poker__features-section {
    background-color: #f8f8f8;
}

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

.page-poker__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
    transform: translateY(-5px);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__highlight-card img,
.page-poker__guide-card img {
    width: 100%; /* Ensure images are not small */
    height: auto;
    max-width: 400px; /* Example max width, will be overridden by specific cards if needed */
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-poker__feature-card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-poker__feature-card-description {
    font-size: 1em;
    color: #666666;
}

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

.page-poker__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-poker__game-card-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-poker__game-card-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
    background-color: #000000;
    color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title {
    color: #FCBC45;
}

.page-poker__tournaments-section .page-poker__section-description {
    color: #f0f0f0;
}

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

.page-poker__highlight-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__highlight-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-poker__highlight-card-title {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-poker__highlight-card-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-poker__tournament-cta {
    text-align: center;
    margin-top: 50px;
}

/* Strategy Guide Section */
.page-poker__strategy-guide-section {
    background-color: #f8f8f8;
}

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

.page-poker__guide-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-poker__guide-card:hover {
    transform: translateY(-5px);
}

.page-poker__guide-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-poker__guide-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-poker__guide-card-title a:hover {
    color: #FCBC45;
}

.page-poker__guide-card-description {
    font-size: 1em;
    color: #666666;
}

.page-poker__strategy-cta {
    text-align: center;
    margin-top: 50px;
}

/* How to Start Section */
.page-poker__how-to-start-section {
    background-color: #FFFFFF;
}

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