/* style/games-center-mahjong-game-details.css */
.page-games-center-mahjong-game-details {
    font-family: 'Arial', sans-serif;
    color: #E5E5E5; /* Light grey for general text on dark background */
    background-color: #1A1A1A;
    line-height: 1.6;
}

.page-games-center-mahjong-game-details__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-games-center-mahjong-game-details__hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 50%, #1A1A1A 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-games-center-mahjong-game-details__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-games-center-mahjong-game-details__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    overflow: hidden;
}

.page-games-center-mahjong-game-details__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) blur(3px);
    transform: scale(1.05);
}

.page-games-center-mahjong-game-details__title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-games-center-mahjong-game-details__subtitle {
    font-size: 1.3em;
    color: #CCCCCC;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-games-center-mahjong-game-details__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-games-center-mahjong-game-details__button--primary {
    background-color: #FFD700;
    color: #1A1A1A;
}

.page-games-center-mahjong-game-details__button--primary:hover {
    background-color: #E0B800;
    transform: translateY(-2px);
}

.page-games-center-mahjong-game-details__button--secondary {
    background-color: #333333;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-games-center-mahjong-game-details__button--secondary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-2px);
}

.page-games-center-mahjong-game-details__button--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-games-center-mahjong-game-details__button--outline:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-2px);
}

.page-games-center-mahjong-game-details__button--block {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 15px 40px;
}

.page-games-center-mahjong-game-details__button--large {
    padding: 18px 45px;
    font-size: 1.2em;
}

.page-games-center-mahjong-game-details__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-games-center-mahjong-game-details__button--inline {
    margin-left: 20px;
    margin-top: 0;
    padding: 10px 20px;
    font-size: 1em;
}

.page-games-center-mahjong-game-details__section {
    padding: 60px 0;
    border-bottom: 1px solid #333333;
}

.page-games-center-mahjong-game-details__section:last-of-type {
    border-bottom: none;
}

.page-games-center-mahjong-game-details__heading {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-games-center-mahjong-game-details__section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E5E5E5;
}

.page-games-center-mahjong-game-details__introduction p strong,
.page-games-center-mahjong-game-details__rules p strong {
    color: #FFD700;
}

.page-games-center-mahjong-game-details__promo-banner {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-games-center-mahjong-game-details__promo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
}

.page-games-center-mahjong-game-details__promo-text h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-games-center-mahjong-game-details__promo-text p {
    color: #CCCCCC;
    margin-bottom: 20px;
}

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

.page-games-center-mahjong-game-details__grid-item {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-games-center-mahjong-game-details__grid-item h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-games-center-mahjong-game-details__grid-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-games-center-mahjong-game-details__grid-item ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #E5E5E5;
}

.page-games-center-mahjong-game-details__grid-item ul li::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-games-center-mahjong-game-details__grid-item ul li strong {
    color: #FFD700;
}

.page-games-center-mahjong-game-details__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-games-center-mahjong-game-details__card {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-games-center-mahjong-game-details__card:hover {
    transform: translateY(-5px);
}

.page-games-center-mahjong-game-details__card-image {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-games-center-mahjong-game-details__card h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-games-center-mahjong-game-details__card p {
    font-size: 1em;
    color: #CCCCCC;
}

.page-games-center-mahjong-game-details__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-games-center-mahjong-game-details__feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1em;
    color: #E5E5E5;
}

.page-games-center-mahjong-game-details__feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-games-center-mahjong-game-details__feature-list li strong {
    color: #FFD700;
}

.page-games-center-mahjong-game-details__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-games-center-mahjong-game-details__steps-list li {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-games-center-mahjong-game-details__step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px #FFD700);
}

.page-games-center-mahjong-game-details__steps-list h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-games-center-mahjong-game-details__steps-list p {
    color: #CCCCCC;
    font-size: 1em;
}

.page-games-center-mahjong-game-details__steps-list p a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-games-center-mahjong-game-details__steps-list p a:hover {
    text-decoration: underline;
}

.page-games-center-mahjong-game-details__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-games-center-mahjong-game-details__strategy-list li {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-games-center-mahjong-game-details__strategy-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 6px #FFD700);
}

.page-games-center-mahjong-game-details__strategy-list h4 {
    color: #FFD700;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-games-center-mahjong-game-details__strategy-list p {
    color: #CCCCCC;
    font-size: 1em;
}

.page-games-center-mahjong-game-details__responsible-gambling {
    text-align: center;
    background-color: #2A2A2A;
    padding: 80px 0;
}

.page-games-center-mahjong-game-details__responsible-gambling p {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-games-center-mahjong-game-details__cta-final {
    background: linear-gradient(90deg, #FFD700 0%, #E0B800 100%);
    padding: 80px 0;
    text-align: center;
    color: #1A1A1A;
}

.page-games-center-mahjong-game-details__cta-final .page-games-center-mahjong-game-details__heading {
    color: #1A1A1A;
    text-shadow: none;
}

.page-games-center-mahjong-game-details__cta-final p {
    color: #333333;
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-games-center-mahjong-game-details__cta-final .page-games-center-mahjong-game-details__button--primary {
    background-color: #1A1A1A;
    color: #FFD700;
}

.page-games-center-mahjong-game-details__cta-final .page-games-center-mahjong-game-details__button--primary:hover {
    background-color: #333333;
    color: #FFD700;
}

.page-games-center-mahjong-game-details__faq .page-games-center-mahjong-game-details__accordion {
    margin-top: 40px;
}

.page-games-center-mahjong-game-details__accordion-item {
    background-color: #2A2A2A;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-games-center-mahjong-game-details__accordion-header {
    width: 100%;
    background-color: #333333;
    color: #FFD700;
    padding: 20px 25px;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-games-center-mahjong-game-details__accordion-header:hover {
    background-color: #444444;
}

.page-games-center-mahjong-game-details__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-games-center-mahjong-game-details__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-games-center-mahjong-game-details__accordion-content {
    padding: 0 25px;
    background-color: #2A2A2A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-games-center-mahjong-game-details__accordion-content.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-games-center-mahjong-game-details__accordion-content p {
    color: #E5E5E5;
    margin-bottom: 15px;
}

.page-games-center-mahjong-game-details__accordion-content a {
    color: #FFD700;
    text-decoration: none;
}

.page-games-center-mahjong-game-details__accordion-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-games-center-mahjong-game-details__title {
        font-size: 2.8em;
    }
    .page-games-center-mahjong-game-details__heading {
        font-size: 2em;
    }
    .page-games-center-mahjong-game-details__promo-banner {
        flex-direction: column;
        text-align: center;
    }
    .page-games-center-mahjong-game-details__promo-image {
        margin-bottom: 20px;
    }
    .page-games-center-mahjong-game-details__feature-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-games-center-mahjong-game-details__feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-games-center-mahjong-game-details__button--inline {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-games-center-mahjong-game-details__hero {
        padding: 60px 0;
    }
    .page-games-center-mahjong-game-details__title {
        font-size: 2.2em;
    }
    .page-games-center-mahjong-game-details__subtitle {
        font-size: 1.1em;
    }
    .page-games-center-mahjong-game-details__heading {
        font-size: 1.8em;
    }
    .page-games-center-mahjong-game-details__section {
        padding: 40px 0;
    }
    .page-games-center-mahjong-game-details__grid,
    .page-games-center-mahjong-game-details__cards-grid,
    .page-games-center-mahjong-game-details__steps-list,
    .page-games-center-mahjong-game-details__strategy-list {
        grid-template-columns: 1fr;
    }
    .page-games-center-mahjong-game-details__steps-list li {
        max-width: 100%;
    }
    .page-games-center-mahjong-game-details__promo-banner {
        padding: 20px;
    }
    .page-games-center-mahjong-game-details__promo-text h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-games-center-mahjong-game-details__title {
        font-size: 1.8em;
    }
    .page-games-center-mahjong-game-details__subtitle {
        font-size: 1em;
    }
    .page-games-center-mahjong-game-details__heading {
        font-size: 1.5em;
    }
    .page-games-center-mahjong-game-details__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-games-center-mahjong-game-details__button--large {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-games-center-mahjong-game-details__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-games-center-mahjong-game-details__accordion-content {
        padding: 15px 20px;
    }
}