/* style/slot-games.css */

/* --- General Page Styling --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set body background as white */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 36px;
    color: #017439; /* Brand primary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-intro {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-slot-games__card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333;
}

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

.page-slot-games__link-inline {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-slot-games__link-inline:hover {
    color: #005f2f;
}

.page-slot-games__mt-40 {
    margin-top: 40px;
}

.page-slot-games__text-center {
    text-align: center;
}

/* --- 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); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #017439, #005f2f); /* Green gradient */
    overflow: hidden; /* Prevent image overflow */
}

.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;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px 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: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-slot-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    box-sizing: border-box;
}

.page-slot-games__btn-register,
.page-slot-games__btn-login {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-register {
    background: #C30808; /* Custom red for register */
    color: #FFFF00; /* Custom yellow for register font */
    border: 2px solid #FFFF00;
}

.page-slot-games__btn-register:hover {
    background: #a30606;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-login {
    background: #C30808; /* Custom red for login */
    color: #FFFF00; /* Custom yellow for login font */
    border: 2px solid #FFFF00;
}

.page-slot-games__btn-login:hover {
    background: #a30606;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Why Choose Section --- */
.page-slot-games__why-choose .page-slot-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__why-choose .page-slot-games__feature-item {
    text-align: center;
    padding: 25px;
}

.page-slot-games__why-choose .page-slot-games__feature-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

/* --- Game Showcase Section --- */
.page-slot-games__dark-section {
    background-color: #017439; /* Primary brand color for dark section */
    color: #ffffff; /* White text for dark background */
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #FFFF00; /* Yellow title for dark background */
}

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

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

.page-slot-games__game-category {
    text-align: center;
    padding: 20px;
    background-color: #ffffff; /* White background for cards in dark section */
    color: #333333; /* Dark text for cards */
}

.page-slot-games__game-category-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-slot-games__category-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

/* --- How To Play Section --- */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-slot-games__step-item {
    padding: 25px;
    text-align: left;
}

.page-slot-games__step-title {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-slot-games__promo-item {
    padding: 20px;
    text-align: center;
}

.page-slot-games__promo-img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #017439; /* Primary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary:hover {
    background: #005f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: #ffffff;
    color: #017439; /* Primary color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 2px solid #017439;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-secondary:hover {
    background: #f0f0f0;
    color: #005f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Security & Support Section --- */
.page-slot-games__security-support .page-slot-games__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__security-support .page-slot-games__info-item {
    background-color: #ffffff; /* White background for cards in dark section */
    color: #333333; /* Dark text for cards */
    padding: 25px;
    text-align: center;
}

.page-slot-games__info-icon {
    width: 200px; /* Enforce min image size */
    height: 200px; /* Enforce min image size */
    object-fit: contain;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__info-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

/* --- FAQ Section --- */
.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: #555555;
}