:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #0A2239;
    --bg-light: #f4f7f6;
    --bg-dark: #0A2239;
    --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 h1,
.page-slot-games h2,
.page-slot-games h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games h1 {
    font-size: 3em;
    text-align: center;
    color: var(--text-light);
}

.page-slot-games h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.page-slot-games p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-slot-games a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-slot-games__hero-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--text-light);
}

.page-slot-games__hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-slot-games__btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

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

.page-slot-games__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn--secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn--large {
    padding: 18px 50px;
    font-size: 1.4em;
}

.page-slot-games__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__intro p,
.page-slot-games__promotions p,
.page-slot-games__security-support p {
    text-align: justify;
}

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

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__tip-card,
.page-slot-games__info-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-card:hover,
.page-slot-games__tip-card:hover,
.page-slot-games__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-slot-games__feature-card img,
.page-slot-games__game-card img,
.page-slot-games__tip-card img,
.page-slot-games__info-card img {
    max-width: 100%;
    height: 200px; /* Enforce min height */
    width: auto; /* Allow width to adjust proportionally */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__game-card h3,
.page-slot-games__feature-card h3,
.page-slot-games__tip-card h3,
.page-slot-games__info-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-slot-games__how-to-play ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.page-slot-games__how-to-play li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 60px;
}

.page-slot-games__how-to-play li::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__how-to-play li h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.6em;
}

.page-slot-games__promotions ul {
    list-style: none;
    padding: 0;
}

.page-slot-games__promotions li {
    background-color: #f9f9f9;
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__promotions li h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5em;
}

.page-slot-games__faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

.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;
    background-color: #f9f9f9;
    padding: 0 25px;
    color: var(--text-dark);
}

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

.page-slot-games__call-to-action {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a6b);
    color: var(--text-light);
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__call-to-action h2 {
    color: var(--secondary-color);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-slot-games__call-to-action p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-slot-games__floating-btn {
    display: block;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-slot-games__floating-btn--register {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-slot-games__floating-btn--register:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-slot-games__floating-btn--login {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-slot-games__floating-btn--login:hover {
    background-color: #2a4a6b;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content h1 {
        font-size: 3em;
    }

    .page-slot-games__hero-content p {
        font-size: 1.1em;
    }

    .page-slot-games h2 {
        font-size: 2em;
    }

    .page-slot-games h3 {
        font-size: 1.6em;
    }

    .page-slot-games__btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-banner {
        min-height: 400px;
        padding: 40px 15px;
    }

    .page-slot-games__hero-content h1 {
        font-size: 2.5em;
    }

    .page-slot-games__hero-content p {
        font-size: 1em;
    }

    .page-slot-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-slot-games h2 {
        font-size: 1.8em;
    }

    .page-slot-games h3 {
        font-size: 1.4em;
    }

    .page-slot-games__section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-cards,
    .page-slot-games__tips-grid,
    .page-slot-games__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__how-to-play li {
        padding-left: 50px;
    }

    .page-slot-games__how-to-play li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 1.5em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }

    .page-slot-games__call-to-action h2 {
        font-size: 2em;
    }

    .page-slot-games__call-to-action p {
        font-size: 1em;
    }

    .page-slot-games__floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .page-slot-games__floating-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content h1 {
        font-size: 2em;
    }

    .page-slot-games__hero-content p {
        font-size: 0.9em;
    }

    .page-slot-games__btn {
        padding: 10px 25px;
        font-size: 1em;
    }

    .page-slot-games h2 {
        font-size: 1.6em;
    }

    .page-slot-games h3 {
        font-size: 1.2em;
    }

    .page-slot-games__floating-buttons {
        flex-direction: row;
        width: 90%;
        left: 5%;
        right: 5%;
        justify-content: space-around;
    }

    .page-slot-games__floating-btn {
        flex: 1;
        margin: 0 5px;
    }
}