/* style/casino.css */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--primary-color, #0A192F); /* Ensures consistency with shared primary color */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--primary-color, #0A192F);
    overflow: hidden;
    min-height: 500px;
}

.page-casino__hero-content {
    z-index: 10;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-casino__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.page-casino__btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-casino__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-casino__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-casino__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

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

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* General Section Styling */
.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-casino__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700; /* Gold for titles */
}

.page-casino__about-section,
.page-casino__games-section,
.page-casino__strategies-section,
.page-casino__conclusion-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
}

.page-casino__about-section .page-casino__section-title,
.page-casino__games-section .page-casino__section-title,
.page-casino__strategies-section .page-casino__section-title,
.page-casino__conclusion-section .page-casino__section-title {
    color: #0A192F; /* Dark blue for titles on light background */
}

.page-casino__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-casino__text-block a {
    color: #0A192F;
    text-decoration: underline;
}

.page-casino__text-block a:hover {
    color: #FFD700;
}

.page-casino__highlight {
    font-weight: bold;
    color: #FFD700; /* Gold for highlights on dark bg */
}

.page-casino__about-section .page-casino__highlight,
.page-casino__games-section .page-casino__highlight,
.page-casino__strategies-section .page-casino__highlight,
.page-casino__conclusion-section .page-casino__highlight {
    color: #0A192F; /* Dark blue for highlights on light bg */
}

/* Why Choose Section */
.page-casino__why-choose-section {
    padding: 80px 0;
    background-color: var(--primary-color, #0A192F);
    color: #ffffff;
}

.page-casino__why-choose-section .page-casino__section-title {
    color: #FFD700;
}

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

.page-casino__feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-casino__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-casino__feature-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-casino__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-casino__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-casino__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-casino__game-title {
    font-size: 1.4em;
    color: #0A192F;
    padding: 20px 20px 0;
    margin-bottom: 10px;
}

.page-casino__game-title a {
    color: #0A192F;
    text-decoration: none;
}

.page-casino__game-title a:hover {
    color: #FFD700;
}

.page-casino__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px 20px;
    flex-grow: 1;
}

/* Get Started Section */
.page-casino__get-started-section {
    padding: 80px 0;
    background-color: var(--primary-color, #0A192F);
    color: #ffffff;
}

.page-casino__get-started-section .page-casino__section-title {
    color: #FFD700;
}

.page-casino__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-casino__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background-color 0.3s ease;
}

.page-casino__step-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-casino__step-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-casino__step-item .page-casino__btn-primary,
.page-casino__step-item .page-casino__btn-secondary {
    margin-top: 15px;
}

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

.page-casino__tip-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}