.guide-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-color);
}

.guide-header p {
    font-size: 1.25rem;
    color: var(--text-muted-color);
    margin-top: 0.5rem;
}

.game-guides {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 5rem; /* Space before contact section */
}

.guide-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: right;
    overflow: hidden;
}
body.light-mode .guide-card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

/* Alternate layout for variety */
.guide-card:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}
.guide-card:nth-child(even) .guide-steps {
    padding-right: 0;
    padding-left: 1rem;
}
.guide-card:nth-child(even) .guide-steps li {
     padding-right: 2rem;
     padding-left: 0;
}
.guide-card:nth-child(even) .guide-steps li::before {
    right: 0;
    left: auto;
}


.guide-content { 
    text-align: right;
    flex: 2;
}
.guide-image { 
    flex: 1; 
    max-width: 450px; 
    display: flex;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 2pc;
}
.guide-image img { 
    width: 100%; 
    border-radius: 12px; 
}

.guide-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.guide-card p {
    color: var(--text-muted-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.guide-steps {
    list-style: none;
    padding-right: 1rem;
    font-size: 1.1rem;
}

.guide-steps li {
    margin-bottom: 1rem;
    padding-right: 2rem;
    position: relative;
    line-height: 1.7;
}

.guide-steps li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--secondary-color);
}

.guide-steps li strong {
    color: var(--text-color);
    font-weight: 700;
}
body.light-mode .guide-steps li strong {
    color: var(--primary-color);
}

.contact-us {
    text-align: center;
    background-color: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}
body.light-mode .contact-us {
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.contact-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-muted-color);
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
}
body.light-mode .input-field {
    background-color: #f0f2f5;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.input-field {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
}


.contact-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-us p {
    color: var(--text-muted-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.instagram {
    background: #7200ff;
    color: white;
}

.social-link.tiktok {
background-color: #000;
    color: #fff;
}


.back-to-home {
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .guide-card, .guide-card:nth-child(even) {
        flex-direction: column-reverse;
        text-align: right;
    }
     .guide-card:nth-child(even) .guide-steps {
        padding-right: 1rem;
        padding-left: 0;
    }
    .guide-card:nth-child(even) .guide-steps li {
        padding-right: 2rem;
        padding-left: 0;
    }
    .guide-card:nth-child(even) .guide-steps li::before {
        right: 0;
        left: auto;
    }
}

