/* style/newbie-guide.css */
:root {
    --primary-color: #1A1A2E;
    --secondary-color: #E94560;
    --text-color-light: #F0F0F0;
    --text-color-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark: #12121D;
    --border-color: #e0e0e0;
}

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

.page-newbie-guide .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-newbie-guide section {
    padding: 60px 0;
    text-align: center;
}

.page-newbie-guide h1,
.page-newbie-guide h2,
.page-newbie-guide h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-newbie-guide h1 {
    font-size: 3.2em;
    color: var(--text-color-light);
}

.page-newbie-guide h2 {
    font-size: 2.5em;
    margin-top: 40px;
}

.page-newbie-guide h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
}

.page-newbie-guide p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.page-newbie-guide .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide .cta-button:hover {
    background: #c7364d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide .cta-button.small {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 20px;
}

/* Hero Section */
.page-newbie-guide .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a3a5e 100%);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-newbie-guide .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-newbie-guide .hero-image {
    width: 100%;
    margin-top: 40px;
}

.page-newbie-guide .hero-image img {
    width: 100%;
    height: auto;
    max-width: 900px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide .hero-content p {
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.2em;
}

/* Intro Section */
.page-newbie-guide .section-intro {
    background-color: var(--bg-light);
    color: var(--text-color-dark);
}

.page-newbie-guide .section-intro h2 {
    color: var(--primary-color);
}

.page-newbie-guide .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-newbie-guide .feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-newbie-guide .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-newbie-guide .feature-item p {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Guide Sections */
.page-newbie-guide .section-guide {
    background-color: #ffffff;
}

.page-newbie-guide .section-guide.alt-bg {
    background-color: var(--bg-light);
}

.page-newbie-guide .guide-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-newbie-guide .guide-steps.reverse {
    flex-direction: row-reverse;
}

.page-newbie-guide .step-item {
    flex: 1 1 45%;
    max-width: 500px;
    text-align: left;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-newbie-guide .section-guide.alt-bg .step-item {
    background: var(--bg-light);
}

.page-newbie-guide .step-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide .step-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-newbie-guide .step-item ul,
.page-newbie-guide .step-item ol {
    list-style-position: inside;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-newbie-guide .step-item li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--text-color-dark);
}

.page-newbie-guide .step-item li strong {
    color: var(--secondary-color);
}

/* Games Section */
.page-newbie-guide .section-games {
    background-color: var(--bg-dark);
    color: var(--text-color-light);
}

.page-newbie-guide .section-games h2 {
    color: var(--secondary-color);
}

.page-newbie-guide .section-games p {
    color: var(--text-color-light);
}

.page-newbie-guide .game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-newbie-guide .game-card {
    background: var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide .game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-newbie-guide .game-card h3 {
    color: var(--text-color-light);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-newbie-guide .game-card p {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
}

.page-newbie-guide .button-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-newbie-guide .button-link:hover {
    background: #c7364d;
}

/* Promo Section */
.page-newbie-guide .section-promo {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.page-newbie-guide .section-promo h2 {
    color: var(--text-color-light);
}

.page-newbie-guide .section-promo p {
    color: #ffe0e5;
}

.page-newbie-guide .promo-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-newbie-guide .promo-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 45%;
    max-width: 500px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-newbie-guide .promo-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
}

.page-newbie-guide .promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-newbie-guide .promo-card h3 {
    color: var(--text-color-light);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-newbie-guide .promo-card p {
    color: #ffffff;
    font-size: 1.05em;
    margin-bottom: 25px;
}

/* Security Section */
.page-newbie-guide .section-security {
    background-color: #ffffff;
}

.page-newbie-guide .section-security h2 {
    color: var(--primary-color);
}

.page-newbie-guide .security-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-newbie-guide .info-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-newbie-guide .info-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-newbie-guide .info-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-newbie-guide .info-item p {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* FAQ Section */
.page-newbie-guide .section-faq {
    background-color: var(--bg-light);
}

.page-newbie-guide .section-faq h2 {
    color: var(--primary-color);
}

.page-newbie-guide .faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-newbie-guide .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-newbie-guide .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-newbie-guide .faq-question:hover {
    background: #f5f5f5;
}

.page-newbie-guide .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
}

.page-newbie-guide .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-newbie-guide .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-newbie-guide .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    color: var(--text-color-dark);
}

.page-newbie-guide .faq-item.active .faq-answer {
    max-height: 300px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-newbie-guide .faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.7;
}

.page-newbie-guide .faq-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-newbie-guide .faq-link:hover {
    background: #c7364d;
}

/* Conclusion Section */
.page-newbie-guide .section-conclusion {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-newbie-guide .section-conclusion h2 {
    color: var(--text-color-light);
}

.page-newbie-guide .section-conclusion p {
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-newbie-guide h1 {
        font-size: 2.8em;
    }
    .page-newbie-guide h2 {
        font-size: 2em;
    }
    .page-newbie-guide h3 {
        font-size: 1.6em;
    }
    .page-newbie-guide .guide-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-newbie-guide .guide-steps.reverse {
        flex-direction: column;
    }
    .page-newbie-guide .step-item {
        flex: 1 1 90%;
        max-width: 600px;
    }
    .page-newbie-guide .promo-card {
        flex: 1 1 90%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide section {
        padding: 40px 0;
    }
    .page-newbie-guide h1 {
        font-size: 2.2em;
    }
    .page-newbie-guide h2 {
        font-size: 1.8em;
    }
    .page-newbie-guide h3 {
        font-size: 1.4em;
    }
    .page-newbie-guide p {
        font-size: 1em;
    }
    .page-newbie-guide .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-newbie-guide .hero-image img {
        max-width: 100%;
        border-radius: 8px;
    }
    .page-newbie-guide .feature-item, .page-newbie-guide .game-card, .page-newbie-guide .info-item {
        padding: 20px;
    }
    .page-newbie-guide .feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-newbie-guide .step-image {
        height: 250px;
    }
    .page-newbie-guide .faq-question {
        padding: 15px 20px;
    }
    .page-newbie-guide .faq-question h3 {
        font-size: 1.1em;
    }
    .page-newbie-guide .faq-toggle {
        font-size: 20px;
    }
    .page-newbie-guide .faq-answer {
        padding: 0 20px;
    }
    .page-newbie-guide .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-newbie-guide h1 {
        font-size: 1.8em;
    }
    .page-newbie-guide h2 {
        font-size: 1.6em;
    }
    .page-newbie-guide h3 {
        font-size: 1.2em;
    }
    .page-newbie-guide .cta-button {
        font-size: 0.9em;
        padding: 10px 25px;
    }
    .page-newbie-guide .hero-content p {
        font-size: 1em;
    }
    .page-newbie-guide .game-image {
        height: 180px;
    }
    .page-newbie-guide .promo-image {
        height: 200px;
    }
    .page-newbie-guide .faq-question h3 {
        font-size: 1em;
    }
}