/* style/casino-games-mahjong-rules.css */
.page-casino-games-mahjong-rules {
    font-family: 'Arial', sans-serif;
    color: #2C3E50; /* Auxiliary color for general text */
    line-height: 1.6;
    background-color: #f9f9f9;
}

.page-casino-games-mahjong-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-casino-games-mahjong-rules__hero-section {
    background: linear-gradient(135deg, #C0392B 0%, #2C3E50 100%);
    color: #ffffff;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-casino-games-mahjong-rules__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-casino-games-mahjong-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-casino-games-mahjong-rules__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-casino-games-mahjong-rules__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.page-casino-games-mahjong-rules__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-casino-games-mahjong-rules__section-title {
    font-size: 2.5em;
    color: #C0392B; /* Primary color for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    position: relative;
}

.page-casino-games-mahjong-rules__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #F39C12; /* Accent color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-casino-games-mahjong-rules__sub-section-title {
    font-size: 1.8em;
    color: #2C3E50; /* Auxiliary color for subtitles */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-casino-games-mahjong-rules__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #34495e; /* Slightly darker than auxiliary for readability */
}

.page-casino-games-mahjong-rules__list,
.page-casino-games-mahjong-rules__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #34495e;
}

.page-casino-games-mahjong-rules__ordered-list {
    list-style-type: decimal;
}

.page-casino-games-mahjong-rules__list li,
.page-casino-games-mahjong-rules__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-casino-games-mahjong-rules__btn {
    display: inline-block;
    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;
    margin: 10px;
    cursor: pointer;
}

.page-casino-games-mahjong-rules__btn--primary {
    background-color: #F39C12; /* Accent color */
    color: #ffffff;
    border: 2px solid #F39C12;
}

.page-casino-games-mahjong-rules__btn--primary:hover {
    background-color: #e67e22;
    border-color: #e67e22;
    transform: translateY(-3px);
}

.page-casino-games-mahjong-rules__btn--secondary {
    background-color: transparent;
    color: #F39C12; /* Accent color */
    border: 2px solid #F39C12;
}

.page-casino-games-mahjong-rules__btn--secondary:hover {
    background-color: #F39C12;
    color: #ffffff;
    transform: translateY(-3px);
}

.page-casino-games-mahjong-rules__btn--tertiary {
    background-color: #2C3E50; /* Auxiliary color */
    color: #ffffff;
    border: 2px solid #2C3E50;
}

.page-casino-games-mahjong-rules__btn--tertiary:hover {
    background-color: #34495e;
    border-color: #34495e;
    transform: translateY(-3px);
}

.page-casino-games-mahjong-rules__inline-link {
    color: #C0392B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino-games-mahjong-rules__inline-link:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.page-casino-games-mahjong-rules__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-casino-games-mahjong-rules__cta-section {
    background-color: #eaf1f8; /* Light background for CTA */
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #dcdcdc;
}

.page-casino-games-mahjong-rules__cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-casino-games-mahjong-rules__cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-casino-games-mahjong-rules__responsible-gaming-section,
.page-casino-games-mahjong-rules__contact-section {
    padding: 60px 20px;
    text-align: center;
}

.page-casino-games-mahjong-rules__responsible-gaming-section {
    background-color: #f0f0f0;
}

.page-casino-games-mahjong-rules__contact-section {
    background-color: #ffffff;
}

.page-casino-games-mahjong-rules__highlight {
    color: #C0392B;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-casino-games-mahjong-rules__hero-title {
        font-size: 2.8em;
    }
    .page-casino-games-mahjong-rules__hero-subtitle {
        font-size: 1.3em;
    }
    .page-casino-games-mahjong-rules__section-title {
        font-size: 2em;
    }
    .page-casino-games-mahjong-rules__sub-section-title {
        font-size: 1.5em;
    }
    .page-casino-games-mahjong-rules__text-content,
    .page-casino-games-mahjong-rules__list li,
    .page-casino-games-mahjong-rules__ordered-list li {
        font-size: 1em;
    }
    .page-casino-games-mahjong-rules__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-casino-games-mahjong-rules__hero-section {
        padding: 60px 15px;
    }
    .page-casino-games-mahjong-rules__hero-title {
        font-size: 2.2em;
    }
    .page-casino-games-mahjong-rules__hero-subtitle {
        font-size: 1.1em;
    }
    .page-casino-games-mahjong-rules__section-title {
        font-size: 1.8em;
    }
    .page-casino-games-mahjong-rules__sub-section-title {
        font-size: 1.3em;
    }
    .page-casino-games-mahjong-rules__container {
        padding: 15px;
    }
    .page-casino-games-mahjong-rules__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-casino-games-mahjong-rules__btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-casino-games-mahjong-rules__hero-title {
        font-size: 1.8em;
    }
    .page-casino-games-mahjong-rules__hero-subtitle {
        font-size: 1em;
    }
    .page-casino-games-mahjong-rules__section-title {
        font-size: 1.5em;
    }
    .page-casino-games-mahjong-rules__sub-section-title {
        font-size: 1.2em;
    }
    .page-casino-games-mahjong-rules__btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}