/* style/beginner-guide.css */

/* General Page Styling */
.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-beginner-guide__hero-section {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-beginner-guide__hero-btn {
    display: inline-block;
    background-color: #ffc107; /* Contrasting color for CTA */
    color: #333; /* Dark text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__hero-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Content Sections */
.page-beginner-guide__content-section {
    padding: 60px 0;
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-beginner-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #28a745; /* Secondary color for accent */
    border-radius: 2px;
}

.page-beginner-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #495057;
}

.page-beginner-guide__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-beginner-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-beginner-guide__content-image:hover {
    transform: scale(1.02);
}

/* Step Cards for Guides */
.page-beginner-guide__step-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-beginner-guide__step-title {
    font-size: 1.8em;
    color: #007bff; /* Primary color for step titles */
    margin-bottom: 20px;
    text-align: center;
}

.page-beginner-guide__btn {
    display: inline-block;
    background-color: #28a745; /* Secondary color for action buttons */
    color: #fff; /* White text for contrast */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: fit-content;
}

.page-beginner-guide__btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

/* Game List */
.page-beginner-guide__game-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-beginner-guide__game-list li {
    background-color: #e9f7ef; /* Light background with secondary color tint */
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__game-list li strong {
    color: #0056b3; /* Darker primary color for emphasis */
}

/* Detail List */
.page-beginner-guide__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__detail-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-beginner-guide__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-beginner-guide__detail-title {
    font-size: 1.4em;
    color: #007bff; /* Primary color for detail titles */
    margin-bottom: 15px;
}

.page-beginner-guide__detail-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-beginner-guide__detail-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

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

.page-beginner-guide__detail-btn {
    display: inline-block;
    background-color: #007bff; /* Primary color for detail buttons */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
}

.page-beginner-guide__detail-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* Final CTA */
.page-beginner-guide__final-cta {
    display: block;
    width: fit-content;
    margin: 50px auto 20px auto;
    background-color: #ffc107; /* Contrasting color for final CTA */
    color: #333;
    padding: 20px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.page-beginner-guide__final-cta:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 2.8em;
    }

    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }

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

    .page-beginner-guide__step-title {
        font-size: 1.6em;
    }

    .page-beginner-guide__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

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

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

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

    .page-beginner-guide__content-section {
        padding: 40px 0;
    }

    .page-beginner-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-beginner-guide__step-card {
        padding: 20px;
    }

    .page-beginner-guide__step-title {
        font-size: 1.4em;
    }

    .page-beginner-guide__text-block, .page-beginner-guide__game-list li, .page-beginner-guide__detail-description {
        font-size: 0.95em;
    }

    .page-beginner-guide__final-cta {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

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

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

    .page-beginner-guide__hero-description {
        font-size: 0.9em;
    }

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

    .page-beginner-guide__step-title {
        font-size: 1.2em;
    }

    .page-beginner-guide__game-list {
        grid-template-columns: 1fr;
    }

    .page-beginner-guide__detail-list {
        grid-template-columns: 1fr;
    }

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