/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333333); /* Default text color, overridden by section-specific */
    background: var(--background-color, #FFFFFF); /* Default background */
}

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-slot-games__section-title {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.page-slot-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__keyword {
    font-weight: bold;
    color: var(--primary-color);
}

.page-slot-games__center-content {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Color contrast enforcement */
.page-slot-games__dark-bg {
    background: var(--primary-color); /* #017439 */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__keyword {
    color: #FFFF00; /* Contrast with dark green */
}

.page-slot-games__dark-bg a {
    color: #FFFF00;
}
.page-slot-games__dark-bg a:hover {
    color: #f0f0f0;
}

.page-slot-games__light-bg a {
    color: var(--primary-color);
}
.page-slot-games__light-bg a:hover {
    color: #005a2b;
}


/* HERO Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #017439, #005a2b); /* Gradient for visual appeal */
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Constrain image width */
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* CTA Button Styles */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-slot-games__btn-primary {
    background: #C30808; /* Use custom color for register/login */
    color: #FFFF00; /* Use custom color for text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    background: #a80707; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: #ffffff;
    color: var(--primary-color); /* #017439 */
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Grid Layouts */
.page-slot-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-slot-games__card {
    background: #ffffff;
    border-radius: 10px;
    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;
    color: #333333; /* Ensure dark text on light card background */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__card-description {
    font-size: 16px;
    color: #555555;
}

.page-slot-games__flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: center;
    text-align: left;
}

.page-slot-games__download-item {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    color: #333333;
}

.page-slot-games__download-image {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Use contain for app icons/phones */
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__download-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555555;
}

.page-slot-games__list li {
    margin-bottom: 8px;
}

.page-slot-games__list-styled {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #f0f0f0; /* For dark background */
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__list-styled li {
    margin-bottom: 10px;
}

.page-slot-games__note {
    font-size: 15px;
    color: #777777;
    margin-top: 15px;
}

/* Promotions Section */
.page-slot-games__promo-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promo-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__promo-description {
    font-size: 15px;
    color: #555555;
}