/* style/resources-math-behind-slot-games.css */
.page-resources-math-behind-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-resources-math-behind-slot-games__hero {
    background: linear-gradient(135deg, #0A2463 0%, #304a80 100%); /* Dark blue gradient */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-math-behind-slot-games__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-math-behind-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    color: #FFD700; /* Gold for title for high contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-math-behind-slot-games__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: #E0E0E0;
}

.page-resources-math-behind-slot-games__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-resources-math-behind-slot-games__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    color: #0A2463;
}

.page-resources-math-behind-slot-games__content-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-resources-math-behind-slot-games__main-content {
    padding: 40px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.page-resources-math-behind-slot-games__heading {
    font-size: 2.2em;
    color: #0A2463; /* Dark blue heading */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 3px solid #FFD700; /* Gold underline */
    padding-bottom: 10px;
    font-weight: bold;
}

.page-resources-math-behind-slot-games__sub-heading {
    font-size: 1.7em;
    color: #0A2463;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-math-behind-slot-games__main-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-resources-math-behind-slot-games__main-content ul,
.page-resources-math-behind-slot-games__main-content ol {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #444;
}

.page-resources-math-behind-slot-games__main-content li {
    margin-bottom: 10px;
}

.page-resources-math-behind-slot-games__main-content a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: 600;
}

.page-resources-math-behind-slot-games__main-content a:hover {
    color: #FFD700;
}

.page-resources-math-behind-slot-games__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-resources-math-behind-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-resources-math-behind-slot-games__image:hover {
    transform: scale(1.02);
}

.page-resources-math-behind-slot-games__cta-final {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed #ccc;
}

.page-resources-math-behind-slot-games__cta-final p {
    font-size: 1.3em;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 30px;
}

.page-resources-math-behind-slot-games__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin-right: 20px;
}

.page-resources-math-behind-slot-games__cta-final .page-resources-math-behind-slot-games__cta-button {
    margin: 10px;
}

.page-resources-math-behind-slot-games .highlight {
    color: #FFD700;
    font-weight: bold;
    background-color: rgba(10, 36, 99, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-math-behind-slot-games__hero-title {
        font-size: 2.5em;
    }

    .page-resources-math-behind-slot-games__hero-subtitle {
        font-size: 1.2em;
    }

    .page-resources-math-behind-slot-games__heading {
        font-size: 1.8em;
    }

    .page-resources-math-behind-slot-games__sub-heading {
        font-size: 1.5em;
    }

    .page-resources-math-behind-slot-games__main-content {
        padding: 20px;
    }

    .page-resources-math-behind-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-math-behind-slot-games__cta-button--large {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-resources-math-behind-slot-games__cta-final .page-resources-math-behind-slot-games__cta-button {
        display: block;
        width: fit-content;
        margin: 15px auto;
    }
}

@media (max-width: 480px) {
    .page-resources-math-behind-slot-games__hero-title {
        font-size: 2em;
    }

    .page-resources-math-behind-slot-games__hero-subtitle {
        font-size: 1em;
    }

    .page-resources-math-behind-slot-games__heading {
        font-size: 1.6em;
    }

    .page-resources-math-behind-slot-games__main-content p,
    .page-resources-math-behind-slot-games__main-content ul,
    .page-resources-math-behind-slot-games__main-content ol {
        font-size: 0.95em;
    }
}