/* style/games-mahjong.css */

.page-games-mahjong {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-games-mahjong__hero {
    background: linear-gradient(135deg, #0A2463 0%, #1A3E8A 50%, #E3B23C 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games-mahjong__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:mahjong,pattern,abstract]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-games-mahjong__hero > * {
    position: relative;
    z-index: 1;
}

.page-games-mahjong__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-games-mahjong__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-games-mahjong__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-games-mahjong__btn--primary {
    background-color: #E3B23C;
    color: #0A2463;
    box-shadow: 0 4px 15px rgba(227, 178, 60, 0.4);
}

.page-games-mahjong__btn--primary:hover {
    background-color: #f5c760;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 178, 60, 0.6);
}

.page-games-mahjong__btn--secondary {
    background-color: #0A2463;
    color: #E3B23C;
    border: 2px solid #E3B23C;
    box-shadow: 0 4px 10px rgba(10, 36, 99, 0.3);
}

.page-games-mahjong__btn--secondary:hover {
    background-color: #1A3E8A;
    color: #f5c760;
    border-color: #f5c760;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(10, 36, 99, 0.5);
}

.page-games-mahjong__btn--text {
    background: none;
    color: #0A2463;
    padding: 10px 0;
    border-bottom: 2px solid #E3B23C;
    border-radius: 0;
}

.page-games-mahjong__btn--text:hover {
    color: #E3B23C;
    border-color: #0A2463;
}

.page-games-mahjong__btn--center {
    margin-top: 40px;
}

.page-games-mahjong__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-games-mahjong__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-games-mahjong__intro .page-games-mahjong__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-games-mahjong__intro .page-games-mahjong__text-content {
    flex: 1;
}

.page-games-mahjong__intro .page-games-mahjong__image-box {
    flex: 1;
    text-align: center;
}

.page-games-mahjong__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-games-mahjong__image-small {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-games-mahjong__text-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.page-games-mahjong__text-content a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-games-mahjong__text-content a:hover {
    color: #E3B23C;
    text-decoration: underline;
}

.page-games-mahjong__highlight {
    color: #0A2463;
    font-weight: bold;
}

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

.page-games-mahjong__card {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #E3B23C;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-mahjong__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-games-mahjong__card-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 20px;
}

.page-games-mahjong__card p {
    color: #666;
    margin-bottom: 15px;
}

.page-games-mahjong__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-games-mahjong__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.page-games-mahjong__list li::before {
    content: '✓';
    color: #E3B23C;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-games-mahjong__text-center {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555;
}

.page-games-mahjong__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-games-mahjong__strategy-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-games-mahjong__strategy-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-games-mahjong__strategy-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-games-mahjong__strategy-item p {
    color: #666;
    font-size: 1em;
}

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

.page-games-mahjong__step-item {
    text-align: center;
    padding: 30px;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 5px solid #0A2463;
}

.page-games-mahjong__step-icon {
    width: 60px;
    height: 60px;
    background-color: #E3B23C;
    color: #0A2463;
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(227, 178, 60, 0.5);
}

.page-games-mahjong__step-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-games-mahjong__step-item p {
    color: #666;
}

.page-games-mahjong__step-image {
    max-width: 120px;
    height: auto;
    margin-top: 20px;
}

.page-games-mahjong__promotion-text {
    font-size: 1.2em;
    margin-top: 40px;
    font-weight: bold;
}

.page-games-mahjong__faq {
    background-color: #f0f4f7;
    padding: 60px 0;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-games-mahjong__faq-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0A2463;
}

.page-games-mahjong__faq-question {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-games-mahjong__faq-answer {
    color: #555;
    font-size: 1em;
}

.page-games-mahjong__faq-answer a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-games-mahjong__faq-answer a:hover {
    color: #E3B23C;
    text-decoration: underline;
}

.page-games-mahjong__cta-final {
    background: linear-gradient(to right, #0A2463, #1A3E8A);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-games-mahjong__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E3B23C;
}

.page-games-mahjong__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-mahjong__hero-title {
        font-size: 2.8em;
    }
    .page-games-mahjong__section-title {
        font-size: 2em;
    }
    .page-games-mahjong__intro .page-games-mahjong__content-wrapper {
        flex-direction: column;
    }
    .page-games-mahjong__image-box {
        margin-top: 30px;
    }
    .page-games-mahjong__hero {
        padding: 80px 0;
    }
    .page-games-mahjong__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-games-mahjong__hero-title {
        font-size: 2.2em;
    }
    .page-games-mahjong__hero-subtitle {
        font-size: 1.1em;
    }
    .page-games-mahjong__section {
        padding: 40px 0;
    }
    .page-games-mahjong__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-games-mahjong__grid, .page-games-mahjong__strategy-grid, .page-games-mahjong__join .page-games-mahjong__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-games-mahjong__cta-title {
        font-size: 1.8em;
    }
    .page-games-mahjong__cta-description {
        font-size: 1em;
    }
    .page-games-mahjong__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-games-mahjong__hero-title {
        font-size: 1.8em;
    }
    .page-games-mahjong__hero-subtitle {
        font-size: 1em;
    }
    .page-games-mahjong__section-title {
        font-size: 1.5em;
    }
    .page-games-mahjong__card-title, .page-games-mahjong__strategy-title, .page-games-mahjong__step-title {
        font-size: 1.3em;
    }
    .page-games-mahjong__faq-question {
        font-size: 1.2em;
    }
    .page-games-mahjong__cta-title {
        font-size: 1.6em;
    }
}