/* style/xo-so.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --accent-color: #DC143C;
    --text-light: #F0F2F5;
    --text-dark: #1A1A1A;
    --bg-dark: #0A192F;
    --bg-light: #FFFFFF;
    --card-bg: #1B2B40;
    --border-color: #3A4A60;
}

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

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

.page-xo-so h1, .page-xo-so h2, .page-xo-so h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-xo-so h1 {
    font-size: 3.2em;
    margin-top: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-xo-so h2 {
    font-size: 2.5em;
    padding-top: 60px;
    color: var(--secondary-color);
}

.page-xo-so h3 {
    font-size: 1.8em;
    color: var(--text-light);
}

.page-xo-so p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-xo-so a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-xo-so a:hover {
    color: var(--text-light);
}

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

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

.page-xo-so .hero-image {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.page-xo-so .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-xo-so .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.page-xo-so .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-xo-so .cta-button:hover {
    background: var(--text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-xo-so .cta-button-bottom {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

.page-xo-so .cta-button-bottom:hover {
    background: #FF4D6A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.6);
}

/* Section Intro */
.page-xo-so .section-intro {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-xo-so .intro-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-xo-so .intro-text {
    flex: 1;
    min-width: 300px;
}

.page-xo-so .intro-text p {
    color: var(--text-light);
}

.page-xo-so .intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-xo-so .intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-xo-so .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.page-xo-so .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Section Games */
.page-xo-so .section-games {
    padding: 80px 0;
    background-color: #1A2B45;
}

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

.page-xo-so .game-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-xo-so .game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-xo-so .game-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
}

.page-xo-so .game-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-xo-so .game-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-xo-so .game-card h3 a:hover {
    color: var(--text-light);
}

.page-xo-so .game-card p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-xo-so .btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-xo-so .btn-small:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

/* Section Benefits */
.page-xo-so .section-benefits {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-xo-so .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-xo-so .benefit-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-xo-so .benefit-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-xo-so .benefit-item p {
    font-size: 1em;
    color: var(--text-light);
}

/* Section How-To */
.page-xo-so .section-how-to {
    padding: 80px 0;
    background-color: #1A2B45;
}

.page-xo-so .how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-xo-so .step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-xo-so .step-item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
}

.page-xo-so .step-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-xo-so .step-item p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-xo-so .btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.page-xo-so .btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

/* Section Tips */
.page-xo-so .section-tips {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-xo-so .section-tips ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-xo-so .section-tips li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 1.1em;
    color: var(--text-light);
    border-left: 5px solid var(--secondary-color);
}

.page-xo-so .section-tips li strong {
    color: var(--secondary-color);
}

/* Section Promotions */
.page-xo-so .section-promotions {
    padding: 80px 0;
    background-color: #1A2B45;
}

.page-xo-so .promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-xo-so .promo-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-xo-so .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-xo-so .promo-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-xo-so .promo-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-xo-so .promo-card h3 a:hover {
    color: var(--text-light);
}

.page-xo-so .promo-card p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Section FAQ */
.page-xo-so .section-faq {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-xo-so .faq-list {
    margin-top: 40px;
}

.page-xo-so .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-xo-so .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-xo-so .faq-question:hover {
    background: #2A3B50;
}

.page-xo-so .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--text-light);
    text-align: left;
    flex-grow: 1;
}

.page-xo-so .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.page-xo-so .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #1A2B45;
    color: var(--text-light);
}

.page-xo-so .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.page-xo-so .faq-answer p {
    margin: 0;
    color: var(--text-light);
}

/* Section Conclusion */
.page-xo-so .section-conclusion {
    padding: 80px 0 100px 0;
    background-color: var(--bg-dark);
    text-align: center;
}

.page-xo-so .section-conclusion p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.15em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-xo-so h1 {
        font-size: 2.5em;
    }

    .page-xo-so h2 {
        font-size: 2em;
    }

    .page-xo-so .intro-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-xo-so .intro-text, .page-xo-so .intro-image {
        min-width: unset;
        width: 100%;
    }

    .page-xo-so .hero-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-xo-so h1 {
        font-size: 2em;
    }

    .page-xo-so h2 {
        font-size: 1.8em;
        padding-top: 40px;
    }

    .page-xo-so h3 {
        font-size: 1.4em;
    }

    .page-xo-so p {
        font-size: 1em;
    }

    .page-xo-so .cta-button, .page-xo-so .cta-button-bottom {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-xo-so .hero-section {
        padding: 40px 15px;
    }

    .page-xo-so .section-intro, .page-xo-so .section-games, .page-xo-so .section-benefits, .page-xo-so .section-how-to, .page-xo-so .section-tips, .page-xo-so .section-promotions, .page-xo-so .section-faq, .page-xo-so .section-conclusion {
        padding: 50px 0;
    }

    .page-xo-so .game-cards, .page-xo-so .benefits-grid, .page-xo-so .how-to-steps, .page-xo-so .promo-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-xo-so .faq-question {
        padding: 15px 20px;
    }

    .page-xo-so .faq-question h3 {
        font-size: 1.1em;
    }

    .page-xo-so .faq-toggle {
        font-size: 1.5em;
    }

    .page-xo-so .faq-answer {
        padding: 0 20px;
    }

    .page-xo-so .faq-item.active .faq-answer {
        padding: 15px 20px;
    }

    .page-xo-so .game-card img, .page-xo-so .step-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-xo-so h1 {
        font-size: 1.8em;
    }

    .page-xo-so h2 {
        font-size: 1.6em;
    }

    .page-xo-so .cta-button, .page-xo-so .cta-button-bottom {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-xo-so .btn-small, .page-xo-so .btn-primary, .page-xo-so .btn-secondary {
        padding: 8px 20px;
        font-size: 0.85em;
    }

    .page-xo-so .game-card img, .page-xo-so .step-item img {
        height: 150px;
    }
}