/* style/slot-games.css */

/* --- Base Styles for .page-slot-games --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--secondary-color); /* Matches body background #FFFFFF */
}

.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: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* --- Buttons --- */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-register,
.page-slot-games__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
}

.page-slot-games__btn-download,
.page-slot-games__btn-secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-slot-games__btn-contact {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- 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); /* Desktop fixed header offset */
    background: linear-gradient(135deg, #017439, #004d26); /* Darker green gradient */
    color: #ffffff;
}

.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: 12px;
    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%;
}

.page-slot-games__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    color: #FFFF00; /* Highlight title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* --- Introduction Section --- */
.page-slot-games__introduction {
    background-color: var(--secondary-color);
}

.page-slot-games__introduction .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__image-wrapper {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Game Types Section --- */
.page-slot-games__game-types {
    background-color: #f8f8f8;
}

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

.page-slot-games__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.page-slot-games__card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency, object-fit will handle aspect */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-slot-games__card-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Benefits Section (Dark Background) --- */
.page-slot-games__benefits.page-slot-games__dark-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0;
}

.page-slot-games__benefits .page-slot-games__section-title {
    color: #FFFF00; /* Highlight title */
}

.page-slot-games__benefits .page-slot-games__text-block {
    color: #f0f0f0;
}

.page-slot-games__benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__benefit-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-slot-games__benefit-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__benefit-heading {
    font-size: 22px;
    color: #FFFF00; /* Highlight heading */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__benefit-description {
    font-size: 16px;
    color: #e0e0e0;
}

/* --- Guide Section --- */
.page-slot-games__guide {
    background-color: var(--secondary-color);
}

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

.page-slot-games__step-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.page-slot-games__step-description {
    font-size: 16px;
    color: #666666;
}

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

/* --- Promotions Section (Light Background) --- */
.page-slot-games__promotions.page-slot-games__light-bg {
    background-color: #f2f2f2;
}

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

.page-slot-games__promotion-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.page-slot-games__promotion-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-slot-games__promotion-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Safety & Support Section (Dark Background) --- */
.page-slot-games__safety-support.page-slot-games__dark-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0;
}

.page-slot-games__safety-support .page-slot-games__section-title {
    color: #FFFF00; /* Highlight title */
}

.page-slot-games__safety-support .page-slot-games__text-block {
    color: #f0f0f0;
}

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

.page-slot-games__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-title {
    font-size: 22px;
    color: #FFFF00; /* Highlight title */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__feature-description {
    font-size: 16px;
    color: #e0e0e0;
}

/* --- FAQ Section --- */
.page-slot-games__faq {
    background-color: var(--secondary-color);
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

.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: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #333333;
}