/* style/slot-games.css */
:root {
    --primary-color: #0A2E5B;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #072243;
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

.page-slot-games .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-slot-games .section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-slot-games .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-slot-games .hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image for text readability */
}

.page-slot-games .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-slot-games .hero-title {
    font-size: 3.8em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-slot-games .hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-slot-games .introduction-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

/* Features Section */
.page-slot-games .features-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.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-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games .feature-icon {
    width: 100%; /* Ensure images are large and fit */
    max-width: 400px; /* Max width for feature images */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games .feature-heading {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-slot-games .feature-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Game Types Section */
.page-slot-games .game-types-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.page-slot-games .type-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

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

.page-slot-games .type-heading {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games .type-text {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* How to Play Section */
.page-slot-games .how-to-play-section {
    padding: 80px 0;
    background-color: #f0f3f2;
}

.page-slot-games .steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-slot-games .steps-list li {
    counter-increment: step-counter;
    background-color: #ffffff;
    padding: 20px 25px 20px 70px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-slot-games .steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-slot-games .steps-list li a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-slot-games .steps-list li a:hover {
    color: var(--secondary-color);
}

/* Tips Section */
.page-slot-games .tips-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-slot-games .tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-slot-games .tips-list li {
    background-color: var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    position: relative;
    padding-left: 45px;
}

.page-slot-games .tips-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5em;
}

/* FAQ Section */
.page-slot-games .faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #f5f5f5;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to accommodate content */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1em;
}

/* Final CTA Section */
.page-slot-games .cta-final-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-slot-games .cta-final-section .section-title {
    color: var(--secondary-color);
}

.page-slot-games .cta-final-section .section-title::after {
    background-color: var(--text-light);
}

.page-slot-games .cta-final-section .section-description {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games .hero-title {
        font-size: 3em;
    }
    .page-slot-games .section-title {
        font-size: 2.2em;
    }
    .page-slot-games .feature-heading {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-slot-games .hero-section {
        padding: 40px 15px;
    }
    .page-slot-games .hero-title {
        font-size: 2.5em;
    }
    .page-slot-games .hero-description {
        font-size: 1.1em;
    }
    .page-slot-games .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-slot-games .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-slot-games .section-description {
        font-size: 1em;
    }
    .page-slot-games .features-grid,
    .page-slot-games .types-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games .feature-item,
    .page-slot-games .type-item,
    .page-slot-games .steps-list li,
    .page-slot-games .tips-list li {
        padding: 20px;
    }
    .page-slot-games .steps-list li::before {
        left: 15px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games .hero-title {
        font-size: 2em;
    }
    .page-slot-games .hero-description {
        font-size: 0.95em;
    }
    .page-slot-games .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-slot-games .section-title {
        font-size: 1.8em;
    }
    .page-slot-games .feature-heading {
        font-size: 1.4em;
    }
    .page-slot-games .type-heading {
        font-size: 1.4em;
    }
}