/* style/beginner-guide-game-rules.css */
.page-beginner-guide-game-rules {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A192F; /* Primary dark blue background */
    line-height: 1.6;
}

.page-beginner-guide-game-rules .highlight {
    color: #FFD700; /* Auxiliary gold for highlights */
    font-weight: bold;
}

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

/* Hero Section */
.page-beginner-guide-game-rules__hero {
    background: linear-gradient(135deg, #0A192F 0%, #1A2E4B 100%);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide-game-rules__hero-content {
    max-width: 900px;
    z-index: 10;
    padding: 0 20px;
}

.page-beginner-guide-game-rules__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-beginner-guide-game-rules__hero-description {
    font-size: 1.2em;
    color: #B0B0B0;
    margin-bottom: 30px;
}

.page-beginner-guide-game-rules__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-beginner-guide-game-rules__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, color 0.3s ease;
    white-space: nowrap;
}

.page-beginner-guide-game-rules__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-beginner-guide-game-rules__btn--primary:hover {
    background-color: #E6C200;
    border-color: #E6C200;
}

.page-beginner-guide-game-rules__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-beginner-guide-game-rules__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-beginner-guide-game-rules__btn--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
}

.page-beginner-guide-game-rules__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-beginner-guide-game-rules__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
}

/* General Section Styling */
.page-beginner-guide-game-rules__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-beginner-guide-game-rules__section:nth-of-type(even) {
    background-color: #1A2E4B;
}

.page-beginner-guide-game-rules__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-beginner-guide-game-rules__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #B0B0B0;
}

/* Why Rules Section */
.page-beginner-guide-game-rules__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-beginner-guide-game-rules__feature-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #FFD70044;
}

.page-beginner-guide-game-rules__feature-item:hover {
    transform: translateY(-10px);
}

.page-beginner-guide-game-rules__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-beginner-guide-game-rules__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-beginner-guide-game-rules__feature-description {
    color: #B0B0B0;
}

/* General Rules Section */
.page-beginner-guide-game-rules__general-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-beginner-guide-game-rules__rule-item {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #FFD70044;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-beginner-guide-game-rules__rule-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-beginner-guide-game-rules__rule-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-beginner-guide-game-rules__rule-item p {
    color: #B0B0B0;
    font-size: 0.95em;
}

/* Game Types Section */
.page-beginner-guide-game-rules__game-category {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #FFD70044;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-game-rules__category-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-beginner-guide-game-rules__category-icon {
    width: 40px;
    height: 40px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-beginner-guide-game-rules__category-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #FFD70066;
}

.page-beginner-guide-game-rules__game-category p {
    color: #B0B0B0;
    margin-bottom: 15px;
}

.page-beginner-guide-game-rules__game-category ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-beginner-guide-game-rules__game-category ul li {
    background-color: #1A2E4B;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    color: #E0E0E0;
    font-size: 0.95em;
}

.page-beginner-guide-game-rules__game-category ul li strong {
    color: #FFD700;
}

/* Bonus Section */
.page-beginner-guide-game-rules__bonus-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.page-beginner-guide-game-rules__step-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #FFD70044;
}

.page-beginner-guide-game-rules__step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-beginner-guide-game-rules__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-beginner-guide-game-rules__step-item p {
    color: #B0B0B0;
    font-size: 1em;
}

.page-beginner-guide-game-rules__bonus-note {
    text-align: center;
    font-size: 1.1em;
    color: #FFD700;
    margin-top: 20px;
}

.page-beginner-guide-game-rules__call-to-action {
    text-align: center;
    margin-top: 40px;
}

/* App Download Section */
.page-beginner-guide-game-rules__app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-beginner-guide-game-rules__app-info {
    flex: 1;
    text-align: center;
}

.page-beginner-guide-game-rules__app-subtitle {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-beginner-guide-game-rules__app-info ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.page-beginner-guide-game-rules__app-info ul li {
    background-color: #1A2E4B;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-left: 4px solid #FFD700;
    border-radius: 5px;
    color: #E0E0E0;
    font-size: 0.95em;
}

.page-beginner-guide-game-rules__app-image-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.page-beginner-guide-game-rules__app-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
}

/* FAQ Section */
.page-beginner-guide-game-rules__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-beginner-guide-game-rules__faq-item {
    background-color: #0A192F;
    border: 1px solid #FFD70044;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-beginner-guide-game-rules__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1A2E4B;
}

.page-beginner-guide-game-rules__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-beginner-guide-game-rules__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-beginner-guide-game-rules__faq-answer {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #B0B0B0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-beginner-guide-game-rules__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 15px;
}

/* Conclusion Section */
.page-beginner-guide-game-rules__conclusion {
    text-align: center;
}

.page-beginner-guide-game-rules__conclusion p {
    font-size: 1.1em;
    color: #B0B0B0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-beginner-guide-game-rules__final-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-beginner-guide-game-rules__hero-title {
        font-size: 2.5em;
    }

    .page-beginner-guide-game-rules__hero-description {
        font-size: 1em;
    }

    .page-beginner-guide-game-rules__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-beginner-guide-game-rules__section-title {
        font-size: 2em;
    }

    .page-beginner-guide-game-rules__features,
    .page-beginner-guide-game-rules__general-rules-grid,
    .page-beginner-guide-game-rules__bonus-steps {
        grid-template-columns: 1fr;
    }

    .page-beginner-guide-game-rules__app-content {
        flex-direction: column;
    }

    .page-beginner-guide-game-rules__app-info ul {
        text-align: center;
    }

    .page-beginner-guide-game-rules__final-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide-game-rules__hero-title {
        font-size: 2em;
    }

    .page-beginner-guide-game-rules__hero-actions {
        flex-direction: column;
    }

    .page-beginner-guide-game-rules__btn {
        width: 100%;
    }

    .page-beginner-guide-game-rules__section-title {
        font-size: 1.8em;
    }

    .page-beginner-guide-game-rules__feature-title,
    .page-beginner-guide-game-rules__rule-title,
    .page-beginner-guide-game-rules__category-title,
    .page-beginner-guide-game-rules__step-title,
    .page-beginner-guide-game-rules__app-subtitle,
    .page-beginner-guide-game-rules__faq-question {
        font-size: 1.4em;
    }
}