/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Matches body background */
}

/* Header offset for main content */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-slot-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-slot-games__section-intro--light {
    color: #f0f0f0;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background-color: #017439; /* Brand primary */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-slot-games__btn-primary:hover {
    background-color: #005f2e; /* Darker green on hover */
    border-color: #005f2e;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Custom colors for Register/Login */
.page-slot-games__btn-primary--register,
.page-slot-games__btn-primary--login,
.page-slot-games__btn-primary--final {
    background-color: #C30808; /* Red for register/login */
    color: #FFFF00; /* Yellow for register/login text */
    border-color: #C30808;
}

.page-slot-games__btn-primary--register:hover,
.page-slot-games__btn-primary--login:hover,
.page-slot-games__btn-primary--final:hover {
    background-color: #a00606; /* Darker red on hover */
    border-color: #a00606;
}

.page-slot-games__btn-primary--download {
    background-color: #017439;
    color: #ffffff;
    border-color: #017439;
}

.page-slot-games__btn-primary--download:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}


/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #0a0a0a;
    padding: 60px 0;
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    filter: none; /* Ensure no filter is applied */
}

/* About Section & Cards */
.page-slot-games__about-section {
    background-color: #0a0a0a;
    padding: 80px 0;
}

.page-slot-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__card {
    background-color: #017439; /* Brand primary as background */
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__card-image {
    width: 100%;
    max-width: 400px; /* Example max-width, ensure >200px */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min size requirement */
    min-height: 150px; /* Min size requirement */
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 1.7em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
    background-color: #0a0a0a;
    padding: 80px 0;
}

.page-slot-games__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    margin-bottom: 50px;
}

.page-slot-games__game-card {
    background-color: #017439;
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__game-image {
    width: 100%;
    max-width: 600px; /* Example max-width */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Min size requirement */
    min-height: 150px; /* Min size requirement */
    object-fit: cover;
}

.page-slot-games__game-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-description {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-slot-games__cta-banner {
    background-color: #C30808; /* Red for CTA banner */
    color: #FFFF00; /* Yellow text for CTA banner */
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-banner-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__cta-banner-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Guide Section */
.page-slot-games__guide-section {
    background-color: #0a0a0a;
    padding: 80px 0;
}

.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-slot-games__guide-item {
    background-color: #017439;
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__guide-icon {
    width: 100%;
    max-width: 200px; /* Max width, ensure >200px for generation */
    height: auto;
    margin-bottom: 20px;
    filter: none;
    min-width: 200px; /* Min size requirement */
    min-height: 150px; /* Min size requirement */
    object-fit: cover;
    border-radius: 8px;
}

.page-slot-games__guide-heading {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}