/* style/casino-classic-games.css */

/* Variables */
:root {
    --page-primary-color: #26A9E0;
    --page-secondary-color: #FFFFFF;
    --page-text-dark: #333333;
    --page-text-light: #FFFFFF;
    --page-button-login: #EA7C07;
    --page-background-light: #F5F5F5; /* A slightly off-white for sections */
}

/* Base styles for the page content area */
.page-casino-classic-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-text-dark); /* Default text color for light body background */
    background-color: var(--page-secondary-color); /* Matches body background if not overridden by shared */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-casino-classic-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--page-text-light);
    background-color: var(--page-primary-color); /* Use primary color for hero background */
    padding: 80px 20px;
    overflow: hidden;
    min-height: 500px;
}

.page-casino-classic-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Slightly dim the image for text readability */
}

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

.page-casino-classic-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-casino-classic-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--page-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Enhance readability */
}

.page-casino-classic-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Section General */
.page-casino-classic-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino-classic-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--page-primary-color);
}

.page-casino-classic-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-dark);
}

/* Buttons */
.page-casino-classic-games__btn-primary,
.page-casino-classic-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino-classic-games__btn-primary {
    background-color: var(--page-button-login); /* Login color */
    color: var(--page-text-light);
    border: 2px solid var(--page-button-login);
}

.page-casino-classic-games__btn-primary:hover {
    background-color: #EA6C07; /* Slightly darker */
    border-color: #EA6C07;
}

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

.page-casino-classic-games__btn-secondary:hover {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
}

.page-casino-classic-games__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Game Grid */
.page-casino-classic-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-classic-games__game-card {
    background-color: var(--page-secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-casino-classic-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-classic-games__game-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum height */
    min-width: 200px; /* Enforce minimum width */
}

.page-casino-classic-games__game-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-primary-color);
}

.page-casino-classic-games__game-card-text {
    font-size: 1em;
    color: var(--page-text-dark);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
}

/* Benefits Section */
.page-casino-classic-games__dark-section {
    background-color: var(--page-primary-color);
    color: var(--page-text-light);
}

.page-casino-classic-games__dark-section .page-casino-classic-games__section-title,
.page-casino-classic-games__dark-section .page-casino-classic-games__section-description {
    color: var(--page-text-light);
}

.page-casino-classic-games__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-casino-classic-games__benefits-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino-classic-games__benefits-icon {
    width: 200px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: var(--page-secondary-color);
    padding: 0;
}

.page-casino-classic-games__benefits-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--page-text-light);
}

.page-casino-classic-games__benefits-text {
    font-size: 1em;
    color: var(--page-text-light);
}

.page-casino-classic-games__benefits-text a {
    color: var(--page-text-light);
    text-decoration: underline;
}

.page-casino-classic-games__benefits-text a:hover {
    color: var(--page-background-light); /* Lighter white */
}

/* Get Started Section */
.page-casino-classic-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-casino-classic-games__steps-item {
    background-color: var(--page-secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-casino-classic-games__steps-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--page-primary-color);
    margin-bottom: 15px;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(38, 169, 224, 0.1); /* Light tint of primary color */
    border-radius: 50%;
}

.page-casino-classic-games__steps-list {
    counter-reset: step-counter;
}

.page-casino-classic-games__steps-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--page-primary-color);
}

.page-casino-classic-games__steps-text {
    font-size: 1em;
    color: var(--page-text-dark);
}

.page-casino-classic-games__steps-text a {
    color: var(--page-primary-color);
    text-decoration: underline;
}

.page-casino-classic-games__steps-text a:hover {
    color: var(--page-button-login);
}

/* Tips and Strategy Section */
.page-casino-classic-games__light-bg {
    background-color: var(--page-background-light); /* Slightly off-white */
}

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