/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with body background (white) */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* Slightly off-white for sections */
}

/* Header offset for fixed header */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjusted to remove double padding-top */
    background: linear-gradient(135deg, #017439, #004d26); /* Darker green gradient */
    color: #ffffff;
    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%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure image container doesn't overflow */
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Absolutely no filter */
}

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

.page-slot-games__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for emphasis */
    line-height: 1.2;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 500px; /* Constrain button group width */
    margin: 0 auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    min-width: 180px; /* Minimum width for buttons */
}

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

.page-slot-games__btn-register:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-login:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

/* General Section Styles */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Primary color for titles */
}

.page-slot-games__intro-section,
.page-slot-games__game-showcase,
.page-slot-games__security-support,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

.page-slot-games__dark-bg {
    background-color: #017439; /* Primary color as dark background */
    color: #ffffff;
}

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

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

.page-slot-games__feature-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
    filter: none; /* Absolutely no filter */
}

.page-slot-games__feature-item h3 {
    font-size: 24px;
    color: #017439;
    margin-bottom: 10px;
}

/* Quick Access Section */
.page-slot-games__access-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.page-slot-games__access-button {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #017439;
    border: 1px solid #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__access-button:hover {
    background: #e0e0e0;
    color: #004d26;
}

.page-slot-games__access-button.page-slot-games__btn-register,
.page-slot-games__access-button.page-slot-games__btn-login {
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border-color: #C30808;
}

.page-slot-games__access-button.page-slot-games__btn-register:hover,
.page-slot-games__access-button.page-slot-games__btn-login:hover {
    background: #a80707;
    border-color: #a80707;
}

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

.page-slot-games__game-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-slot-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    filter: none; /* Absolutely no filter */
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-slot-games__game-card h3 {
    font-size: 22px;
    color: #017439;
    margin: 15px 15px 10px;
}

.page-slot-games__game-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 15px;
    flex-grow: 1; /* Make paragraph take available space */
}

.page-slot-games__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: #017439;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 15px 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: calc(100% - 30px); /* Adjust for padding */
}

.page-slot-games__card-button:hover {
    background: #004d26;
}

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

.page-slot-games__promo-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: none; /* Absolutely no filter */
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-slot-games__promo-card h3 {
    font-size: 22px;
    color: #017439;
    margin: 15px 15px 10px;
}

.page-slot-games__promo-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 15px;
    flex-grow: 1;
}

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

.page-slot-games__security-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__security-item img {
     /* Smaller images for service icons */
    height: auto;
    margin-bottom: 15px;
    min-width: 200px; /* This will make the images large, as per requirements, even if semantic is "icon" */
    min-height: 200px; /* Enforcing minimum size for ALL images */
    object-fit: cover;
    filter: none; /* Absolutely no filter */
}

.page-slot-games__security-item h3 {
    font-size: 20px;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__contact-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important; /* Use !important and large value */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: #333333; /* Ensure contrast */
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: #333;
    transform: rotate(180deg); /* Rotate for minus sign effect */
}

/* Latest News Section */
.page-slot-games__latest-news {
    padding: 60px 0;
    background-color: #004d26; /* Darker green for contrast */
    color: #ffffff;
}

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

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

.page-slot-games__news-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: none; /* Absolutely no filter */
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-slot-games__news-card h3 {
    font-size: 20px;
    margin: 15px 15px 10px;
    color: #017439; /* Dark text for light card background */
}

.page-slot-games__news-card h3 a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__news-card h3 a:hover {
    color: #004d26;
    text-decoration: underline;
}

.page-slot-games__news-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 10px;
    flex-grow: 1;
}

.page-slot-games__news-date {
    font-size: 13px;
    color: #888888;
    padding: 0 15px 15px;
    display: block;
}

.page-slot-games__view-all-news {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 40px;
    }
    .page-slot-games__hero-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
}