/* style/casino-game-types.css */

/* Base styles for the page content */
.page-casino-game-types {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background for the main content area */
}

.page-casino-game-types__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-casino-game-types__section-title {
    color: #0A246A;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-casino-game-types__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E3A72F;
    border-radius: 2px;
}

.page-casino-game-types__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-casino-game-types__btn-primary,
.page-casino-game-types__btn-secondary,
.page-casino-game-types__btn-tertiary,
.page-casino-game-types__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-casino-game-types__btn-primary {
    background-color: #0A246A;
    color: #ffffff;
    border: 2px solid #0A246A;
}

.page-casino-game-types__btn-primary:hover {
    background-color: #0d3a8a;
    border-color: #0d3a8a;
}

.page-casino-game-types__btn-secondary {
    background-color: transparent;
    color: #0A246A;
    border: 2px solid #0A246A;
}

.page-casino-game-types__btn-secondary:hover {
    background-color: #0A246A;
    color: #ffffff;
}

.page-casino-game-types__btn-tertiary {
    background-color: #E3A72F;
    color: #0A246A;
    border: 2px solid #E3A72F;
}

.page-casino-game-types__btn-tertiary:hover {
    background-color: #e6b74f;
    border-color: #e6b74f;
}

.page-casino-game-types__btn-link {
    background-color: transparent;
    color: #E3A72F;
    border: none;
    padding: 8px 0;
    font-weight: normal;
    text-decoration: underline;
}

.page-casino-game-types__btn-link:hover {
    color: #0A246A;
}

/* Hero Section */
.page-casino-game-types__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    background-color: #0A246A; /* Dark background for hero */
    color: #ffffff; /* Light text for dark background */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-casino-game-types__hero-content {
    flex: 1;
    padding-left: 50px;
    max-width: 50%;
}

.page-casino-game-types__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #E3A72F; /* Highlight title with accent color */
}

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

.page-casino-game-types__hero-cta-buttons {
    display: flex;
    gap: 20px;
}

.page-casino-game-types__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    padding-right: 50px;
}

.page-casino-game-types__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-casino-game-types__introduction-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-casino-game-types__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-casino-game-types__games-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page-casino-game-types__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino-game-types__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-casino-game-types__card-title {
    font-size: 1.5em;
    color: #0A246A;
    margin: 20px 15px 10px;
    min-height: 50px; /* Ensure consistent height for titles */
}

.page-casino-game-types__card-title a {
    color: #0A246A;
    text-decoration: none;
}

.page-casino-game-types__card-title a:hover {
    color: #E3A72F;
}

.page-casino-game-types__card-description {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; /* Allow description to take available space */
}

.page-casino-game-types__game-card .page-casino-game-types__btn-tertiary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Benefits Section */
.page-casino-game-types__benefits-section {
    padding: 80px 0;
}