/* style/newbie-guide-how-to-play-games.css */

:root {
    --page-newbie-guide-how-to-play-games-primary-color: #1A237E;
    --page-newbie-guide-how-to-play-games-secondary-color: #FFD700;
    --page-newbie-guide-how-to-play-games-text-dark: #333333;
    --page-newbie-guide-how-to-play-games-text-light: #ffffff;
    --page-newbie-guide-how-to-play-games-bg-light: #f9f9f9;
    --page-newbie-guide-how-to-play-games-bg-alt: #e8eaf6; /* Light variant of primary for subtle contrast */
}

.page-newbie-guide-how-to-play-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-newbie-guide-how-to-play-games-text-dark);
    background-color: var(--page-newbie-guide-how-to-play-games-bg-light);
}

.page-newbie-guide-how-to-play-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-newbie-guide-how-to-play-games__hero {
    background: linear-gradient(135deg, var(--page-newbie-guide-how-to-play-games-primary-color) 0%, #3f51b5 100%);
    color: var(--page-newbie-guide-how-to-play-games-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-newbie-guide-how-to-play-games__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%; /* Adjust as needed */
    max-width: 800px;
    opacity: 0.2;
    z-index: 0;
}

.page-newbie-guide-how-to-play-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-newbie-guide-how-to-play-games__hero .page-newbie-guide-how-to-play-games__container {
    position: relative;
    z-index: 1;
}

.page-newbie-guide-how-to-play-games__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-newbie-guide-how-to-play-games-secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-newbie-guide-how-to-play-games__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-newbie-guide-how-to-play-games__section {
    padding: 60px 0;
}

.page-newbie-guide-how-to-play-games__section--alt-bg {
    background-color: var(--page-newbie-guide-how-to-play-games-bg-alt);
}

.page-newbie-guide-how-to-play-games__section-title {
    font-size: 2.5em;
    color: var(--page-newbie-guide-how-to-play-games-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-newbie-guide-how-to-play-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-newbie-guide-how-to-play-games-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-newbie-guide-how-to-play-games__sub-title {
    font-size: 1.8em;
    color: var(--page-newbie-guide-how-to-play-games-primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-newbie-guide-how-to-play-games__text {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-newbie-guide-how-to-play-games__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-newbie-guide-how-to-play-games__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-newbie-guide-how-to-play-games__list li::before {
    content: '✅'; /* Checkmark for lists */
    position: absolute;
    left: 0;
    color: var(--page-newbie-guide-how-to-play-games-primary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-newbie-guide-how-to-play-games__list--icon li::before {
    content: '💡'; /* Lightbulb for tips */
    color: var(--page-newbie-guide-how-to-play-games-secondary-color);
}

.page-newbie-guide-how-to-play-games__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-newbie-guide-how-to-play-games__button--primary {
    background-color: var(--page-newbie-guide-how-to-play-games-secondary-color);
    color: var(--page-newbie-guide-how-to-play-games-primary-color);
}

.page-newbie-guide-how-to-play-games__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-newbie-guide-how-to-play-games__button--secondary {
    background-color: transparent;
    color: var(--page-newbie-guide-how-to-play-games-primary-color);
    border: 2px solid var(--page-newbie-guide-how-to-play-games-primary-color);
    margin-left: 15px;
}

.page-newbie-guide-how-to-play-games__button--secondary:hover {
    background-color: var(--page-newbie-guide-how-to-play-games-primary-color);
    color: var(--page-newbie-guide-how-to-play-games-text-light);
    transform: translateY(-2px);
}

.page-newbie-guide-how-to-play-games__button-group {
    margin-top: 30px;
    text-align: center;
}

.page-newbie-guide-how-to-play-games__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-newbie-guide-how-to-play-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-newbie-guide-how-to-play-games__section--cta-footer {
    background-color: var(--page-newbie-guide-how-to-play-games-primary-color);
    color: var(--page-newbie-guide-how-to-play-games-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-newbie-guide-how-to-play-games__section--cta-footer .page-newbie-guide-how-to-play-games__section-title {
    color: var(--page-newbie-guide-how-to-play-games-secondary-color);
}

.page-newbie-guide-how-to-play-games__section--cta-footer .page-newbie-guide-how-to-play-games__section-title::after {
    background-color: var(--page-newbie-guide-how-to-play-games-text-light);
}

.page-newbie-guide-how-to-play-games__section--cta-footer .page-newbie-guide-how-to-play-games__text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-newbie-guide-how-to-play-games__main-title {
        font-size: 2.5em;
    }
    .page-newbie-guide-how-to-play-games__subtitle {
        font-size: 1.1em;
    }
    .page-newbie-guide-how-to-play-games__section-title {
        font-size: 2em;
    }
    .page-newbie-guide-how-to-play-games__sub-title {
        font-size: 1.5em;
    }
    .page-newbie-guide-how-to-play-games__button-group {
        flex-direction: column;
        align-items: center;
    }
    .page-newbie-guide-how-to-play-games__button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-newbie-guide-how-to-play-games__hero-image-wrapper {
        width: 100%;
        position: static;
        opacity: 0.1;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .page-newbie-guide-how-to-play-games__main-title {
        font-size: 2em;
    }
    .page-newbie-guide-how-to-play-games__section-title {
        font-size: 1.8em;
    }
    .page-newbie-guide-how-to-play-games__sub-title {
        font-size: 1.3em;
    }
    .page-newbie-guide-how-to-play-games__button {
        width: 90%;
        box-sizing: border-box;
    }
}