/* style/slot-games.css */

/* --- General Page Styles --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: transparent; /* Body is #000000 from shared.css */
    padding-top: 0; /* Assuming shared.css handles body padding-top */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0; /* Default text color */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Color Contrast Classes --- */
.page-slot-games__dark-bg {
    background-color: #1A2B4C;
    color: #ffffff;
}

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

.page-slot-games__dark-bg .page-slot-games__section-description {
    color: #f0f0f0;
}

.page-slot-games__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #1A2B4C;
}

.page-slot-games__light-bg .page-slot-games__section-description {
    color: #555555;
}

/* --- Hero Section (Module 1: H1 Title + CTA) --- */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-slot-games__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button--primary {
    background: #FFD700;
    color: #1A2B4C;
}

.page-slot-games__cta-button--primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--secondary {
    background: #1A2B4C;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-slot-games__cta-button--secondary:hover {
    background: #FFD700;
    color: #1A2B4C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

/* --- Slot Games Showcase Section --- */
.page-slot-games__games-showcase {
    padding: 60px 0;
}

.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eeeeee;
}

.page-slot-games__game-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #1A2B4C;
}

.page-slot-games__game-excerpt {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
}

.page-slot-games__game-button {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 20px;
    padding: 12px 0;
    background-color: #FFD700;
    color: #1A2B4C;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__game-button:hover {
    background-color: #e6c200;
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #f0f0f0;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-slot-games__promo-text {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 25px;
}

.page-slot-games__promo-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFD700;
    color: #1A2B4C;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__promo-button:hover {
    background-color: #e6c200;
}

/* --- FAQ Section (Module 2) --- */
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.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;
    color: #1A2B4C; /* Dark text on light background */
}

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

.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;
    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(45deg); /* Rotate to form 'X' or similar */
}

.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: #333333; /* Dark text on light background */
}

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

/* --- Brand Section (Module 3) --- */
.page-slot-games__brand-section {
    padding: 60px 0;
}

.page-slot-games__brand-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-slot-games__brand-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: block;
    max-width: 50%; /* Adjust for flex layout */
    height: auto;
}

.page-slot-games__brand-text {
    flex: 2;
    min-width: 300px;
    color: #f0f0f0;
}

.page-slot-games__brand-text h3 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-slot-games__brand-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* --- Blog Section (Module 4) --- */
.page-slot-games__blog-section {
    padding: 60px 0;
}

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

.page-slot-games__blog-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

.page-slot-games__blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-slot-games__blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eeeeee;
}

.page-slot-games__blog-item-title {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 15px 10px;
    color: #1A2B4C;
}

.page-slot-games__blog-item-excerpt {
    font-size: 15px;
    color: #666666;
    padding: 0 15px;
    margin-bottom: 15px;
}

.page-slot-games__blog-item-date {
    display: block;
    font-size: 13px;
    color: #999999;
    padding: 0 15px 20px;
    text-align: right;
}

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

    .page-slot-games__hero-description {
        font-size: 18px;
    }

    .page-slot-games__section-title {
        font-size: 30px;
    }
    
    .page-slot-games__brand-content {
        flex-direction: column;
    }

    .page-slot-games__brand-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* --- General Mobile Adaptations --- */
    .page-slot-games__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* --- Hero Section Mobile --- */
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    /* --- Games Showcase Mobile --- */
    .page-slot-games__games-showcase {
        padding: 40px 0;
    }

    .page-slot-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* --- Promotions Mobile --- */
    .page-slot-games__promotions-section {
        padding: 40px 0;
    }

    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* --- FAQ Mobile --- */
    .page-slot-games__faq-section {
        padding: 40px 0;
    }

    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-slot-games__faq-question h3 {
        font-size: 15px;
        width: calc(100% - 40px);
    }

    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-slot-games__faq-answer {
        padding: 0 15px;
    }

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }

    /* --- Brand Section Mobile --- */
    .page-slot-games__brand-section {
        padding: 40px 0;
    }

    .page-slot-games__brand-content {
        gap: 20px;
    }

    .page-slot-games__brand-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }

    .page-slot-games__brand-text h3 {
        font-size: 24px;
    }

    .page-slot-games__brand-text p {
        font-size: 15px;
    }

    /* --- Blog Section Mobile --- */
    .page-slot-games__blog-section {
        padding: 40px 0;
    }

    .page-slot-games__blog-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__blog-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}