/* style/newbie-guide-game-rules.css */
.page-newbie-guide-game-rules {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0A1931; /* Deep blue main background */
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-newbie-guide-game-rules h1,
.page-newbie-guide-game-rules h2,
.page-newbie-guide-game-rules h3 {
    color: #FFD700; /* Gold for headings */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-newbie-guide-game-rules h1 {
    font-size: 2.8em;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-newbie-guide-game-rules h2 {
    font-size: 2.2em;
    padding-top: 40px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
    margin-top: 50px;
}

.page-newbie-guide-game-rules h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    text-align: left;
}

.page-newbie-guide-game-rules p {
    margin-bottom: 15px;
    text-align: justify;
    color: #E0E0E0;
}

.page-newbie-guide-game-rules ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #E0E0E0;
}

.page-newbie-guide-game-rules ul li {
    margin-bottom: 8px;
}

.page-newbie-guide-game-rules strong {
    color: #FFD700; /* Gold for strong text */
}

/* Sections */
.page-newbie-guide-game-rules__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.page-newbie-guide-game-rules__hero {
    background: linear-gradient(135deg, #0A1931 0%, #2c4a7e 100%); /* Darker blue to slightly lighter blue */
    color: #E0E0E0;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-newbie-guide-game-rules__hero-content {
    max-width: 800px;
}

.page-newbie-guide-game-rules__hero h1 {
    color: #FFD700;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-newbie-guide-game-rules__hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #C0C0C0;
}

.page-newbie-guide-game-rules__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

/* Buttons */
.page-newbie-guide-game-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide-game-rules__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A1931; /* Deep blue text */
    border: 2px solid #FFD700;
}

.page-newbie-guide-game-rules__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    color: #000000; /* Black text */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-newbie-guide-game-rules__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-newbie-guide-game-rules__btn--secondary:hover {
    background-color: #FFD700; /* Gold background */
    color: #0A1931; /* Deep blue text */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.2);
}

.page-newbie-guide-game-rules__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

/* CTA Box */
.page-newbie-guide-game-rules__cta-box {
    background-color: #1a2a47; /* Slightly lighter blue than main background */
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.page-newbie-guide-game-rules__cta-box h3 {
    color: #FFD700;
    font-size: 2em;
    margin-bottom: 15px;
}

.page-newbie-guide-game-rules__cta-box p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #C0C0C0;
}

.page-newbie-guide-game-rules__cta-box .page-newbie-guide-game-rules__btn {
    margin: 0 10px 15px; /* Add some margin between buttons and bottom */
}

/* Game Categories */
.page-newbie-guide-game-rules__game-categories {
    background-color: #0A1931;
}

.page-newbie-guide-game-rules__game-type {
    background-color: #1a2a47; /* Slightly lighter blue for game cards */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-newbie-guide-game-rules__game-type h3 {
    color: #FFD700;
    text-align: left;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.page-newbie-guide-game-rules__game-type ul {
    list-style: square;
    margin-left: 30px;
}

.page-newbie-guide-game-rules__game-type .page-newbie-guide-game-rules__btn {
    margin-top: 20px;
}

.page-newbie-guide-game-rules__game-image {
    text-align: center;
    margin-bottom: 20px;
}

.page-newbie-guide-game-rules__game-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Fair Play & Responsible Gaming */
.page-newbie-guide-game-rules__fair-play,
.page-newbie-guide-game-rules__responsible-gaming {
    background-color: #0A1931;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-newbie-guide-game-rules__image-full-width {
    text-align: center;
    margin: 40px 0;
}

.page-newbie-guide-game-rules__image-full-width img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* FAQ */
.page-newbie-guide-game-rules__faq {
    background-color: #1a2a47; /* Slightly lighter blue */
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-newbie-guide-game-rules__faq h2 {
    color: #FFD700;
}

.page-newbie-guide-game-rules__faq-item {
    background-color: #0A1931;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-newbie-guide-game-rules__faq-item h3 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: color 0.3s ease;
}

.page-newbie-guide-game-rules__faq-item h3:hover {
    color: #e6c200;
}

.page-newbie-guide-game-rules__faq-item h3::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

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

.page-newbie-guide-game-rules__faq-item p {
    margin-top: 15px;
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    color: #C0C0C0;
}

.page-newbie-guide-game-rules__faq-item.active p {
    display: block;
    max-height: 500px; /* Arbitrary large value to allow content to expand */
    opacity: 1;
}

/* Join Us CTA */
.page-newbie-guide-game-rules__join-us {
    text-align: center;
    padding-bottom: 80px;
}

.page-newbie-guide-game-rules__join-us h2 {
    color: #FFD700;
}

.page-newbie-guide-game-rules__join-us p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-newbie-guide-game-rules__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.page-newbie-guide-game-rules__promo-banner {
    background-color: #FFD700; /* Gold background for promo */
    color: #0A1931; /* Deep blue text on gold */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin: 0 auto;
}

.page-newbie-guide-game-rules__promo-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
}

.page-newbie-guide-game-rules__promo-banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #0A1931;
}

.page-newbie-guide-game-rules__promo-banner .page-newbie-guide-game-rules__btn {
    background-color: #0A1931; /* Deep blue button on gold banner */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A1931;
}

.page-newbie-guide-game-rules__promo-banner .page-newbie-guide-game-rules__btn:hover {
    background-color: #1a2a47; /* Slightly lighter deep blue */
    color: #FFD700;
    border-color: #1a2a47;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-newbie-guide-game-rules__hero h1 {
        font-size: 3em;
    }
    .page-newbie-guide-game-rules h2 {
        font-size: 1.8em;
    }
    .page-newbie-guide-game-rules h3 {
        font-size: 1.5em;
    }
    .page-newbie-guide-game-rules__section {
        padding: 40px 15px;
    }
    .page-newbie-guide-game-rules__cta-box {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide-game-rules__hero {
        flex-direction: column;
        padding: 80px 15px;
    }
    .page-newbie-guide-game-rules__hero h1 {
        font-size: 2.5em;
    }
    .page-newbie-guide-game-rules__hero p {
        font-size: 1.1em;
    }
    .page-newbie-guide-game-rules h2 {
        font-size: 1.6em;
    }
    .page-newbie-guide-game-rules h3 {
        font-size: 1.3em;
    }
    .page-newbie-guide-game-rules__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
        min-width: unset;
    }
    .page-newbie-guide-game-rules__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-newbie-guide-game-rules__cta-box .page-newbie-guide-game-rules__btn {
        margin: 10px 0;
        width: 100%;
    }
    .page-newbie-guide-game-rules__promo-banner {
        padding: 30px;
    }
    .page-newbie-guide-game-rules__promo-banner p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-newbie-guide-game-rules__hero h1 {
        font-size: 2em;
    }
    .page-newbie-guide-game-rules h2 {
        font-size: 1.4em;
    }
    .page-newbie-guide-game-rules h3 {
        font-size: 1.2em;
    }
    .page-newbie-guide-game-rules__section {
        padding: 30px 10px;
    }
    .page-newbie-guide-game-rules__btn {
        width: 100%;
        margin-bottom: 15px;
    }
    .page-newbie-guide-game-rules__cta-box .page-newbie-guide-game-rules__btn {
        margin: 10px 0;
    }
    .page-newbie-guide-game-rules__game-type {
        padding: 20px;
    }
}