/* style/index-beginner-guide.css */

/* Global Reset for this page's scope, ensuring consistent box-sizing */
.page-index-beginner-guide *,
.page-index-beginner-guide *::before,
.page-index-beginner-guide *::after {
    box-sizing: border-box;
}

/* Basic Body Styles (within scope, if applicable, for text color) */
.page-index-beginner-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* Container for content width */
.page-index-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-beginner-guide__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-beginner-guide__container--reverse {
    flex-direction: row-reverse;
}

/* Sections */
.page-index-beginner-guide__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #3a5a7b 100%); /* Dark blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.page-index-beginner-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    line-height: 1.2;
}

.page-index-beginner-guide__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-index-beginner-guide__section {
    padding: 60px 0;
}

.page-index-beginner-guide__section--alt-bg {
    background-color: #eef2f5;
}

.page-index-beginner-guide__section-title {
    font-size: 2.5em;
    color: #0A2239;
    margin-bottom: 30px;
    text-align: left;
}

.page-index-beginner-guide__section-title--center {
    text-align: center;
}

.page-index-beginner-guide__center-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Content Blocks for Flex Layout */
.page-index-beginner-guide__content-block {
    flex: 1;
    min-width: 300px;
}

.page-index-beginner-guide__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-beginner-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Lists */
.page-index-beginner-guide__list,
.page-index-beginner-guide__numbered-list {
    list-style-type: disc;
    margin: 20px 0 20px 20px;
    padding: 0;
    color: #444;
}

.page-index-beginner-guide__numbered-list {
    list-style-type: decimal;
}

.page-index-beginner-guide__list li,
.page-index-beginner-guide__numbered-list li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Buttons */
.page-index-beginner-guide__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.2s ease;
    cursor: pointer;
    text-align: center;
}

.page-index-beginner-guide__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2239; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-index-beginner-guide__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-index-beginner-guide__btn--secondary {
    background-color: #0A2239; /* Dark blue */
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-index-beginner-guide__btn--secondary:hover {
    background-color: #1a3a5a;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.page-index-beginner-guide__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-index-beginner-guide__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Game Grid */
.page-index-beginner-guide__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-beginner-guide__game-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-beginner-guide__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-beginner-guide__game-card-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-beginner-guide__game-card-title {
    font-size: 1.5em;
    color: #0A2239;
    margin-bottom: 10px;
}

.page-index-beginner-guide__game-card-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
    min-height: 70px;
}

/* Promotion Grid */
.page-index-beginner-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-beginner-guide__promo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-beginner-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-beginner-guide__promo-card-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-beginner-guide__promo-card-title {
    font-size: 1.5em;
    color: #0A2239;
    margin-bottom: 10px;
}

.page-index-beginner-guide__promo-card-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Info Grid */
.page-index-beginner-guide__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-beginner-guide__info-card {
    background-color: #fff;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    padding: 25px;
}

.page-index-beginner-guide__info-card-title {
    font-size: 1.4em;
    color: #0A2239;
    margin-bottom: 10px;
}

.page-index-beginner-guide__info-card-description {
    color: #555;
    font-size: 0.95em;
}

/* FAQ Section */
.page-index-beginner-guide__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-index-beginner-guide__faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-beginner-guide__faq-question {
    font-size: 1.2em;
    color: #0A2239;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-index-beginner-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-index-beginner-guide__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-beginner-guide__faq-answer {
    padding: 0 25px 20px 25px;
    color: #555;
    font-size: 0.95em;
    display: none;
}

.page-index-beginner-guide__faq-question.active + .page-index-beginner-guide__faq-answer {
    display: block;
}

/* Call to Action Section */
.page-index-beginner-guide__cta-section {
    background: linear-gradient(90deg, #0A2239, #1a3a5a);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-index-beginner-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
}

.page-index-beginner-guide__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

/* Utility Classes */
.page-index-beginner-guide__mt-40 {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-beginner-guide__container--flex {
        flex-direction: column;
        text-align: center;
    }

    .page-index-beginner-guide__content-block,
    .page-index-beginner-guide__image-block {
        flex: none;
        width: 100%;
    }

    .page-index-beginner-guide__section-title {
        text-align: center;
    }

    .page-index-beginner-guide__hero-title {
        font-size: 2.5em;
    }

    .page-index-beginner-guide__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index-beginner-guide__hero-section,
    .page-index-beginner-guide__cta-section {
        padding: 60px 0;
    }

    .page-index-beginner-guide__section {
        padding: 40px 0;
    }

    .page-index-beginner-guide__hero-title {
        font-size: 2em;
    }

    .page-index-beginner-guide__section-title {
        font-size: 2em;
    }

    .page-index-beginner-guide__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-beginner-guide__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-index-beginner-guide__game-grid,
    .page-index-beginner-guide__promo-grid,
    .page-index-beginner-guide__info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-beginner-guide__hero-title {
        font-size: 1.8em;
    }

    .page-index-beginner-guide__hero-description,
    .page-index-beginner-guide__cta-description {
        font-size: 1em;
    }

    .page-index-beginner-guide__section-title {
        font-size: 1.8em;
    }

    .page-index-beginner-guide__btn {
        width: 100%;
        padding: 12px 20px;
    }

    .page-index-beginner-guide__btn--large {
        width: 100%;
    }

    .page-index-beginner-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-index-beginner-guide__faq-question::after {
        right: 20px;
    }

    .page-index-beginner-guide__faq-answer {
        padding: 0 20px 15px 20px;
    }
}