/* style/xo-so.css */
:root {
    --primary-color: #0047AB; /* Deep Royal Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #1a2a3a;
    --border-color: #e0e0e0;
}

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

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

.page-xo-so-section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-xo-so-section:nth-of-type(even) {
    background-color: #eaf0f6; /* Light background for alternating sections */
}

.page-xo-so-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--text-color-light);
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d6b 100%); /* Darker blue gradient */
    padding: 80px 0;
    text-align: center;
}

.page-xo-so-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-xo-so-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-xo-so-hero-content {
    text-align: center;
    padding: 0 20px;
}

.page-xo-so-hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold title for impact */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-xo-so-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark blue text on gold button */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.page-xo-so-cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.page-xo-so h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-xo-so h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

.page-xo-so h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-xo-so p {
    margin-bottom: 20px;
    font-size: 1.05em;
}

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

.page-xo-so-why-choose .page-xo-so-feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so-why-choose .page-xo-so-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so-why-choose .page-xo-so-feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-xo-so-why-choose .page-xo-so-feature-item p {
    font-size: 0.95em;
    color: #555;
}

.page-xo-so-game-types .page-xo-so-grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-xo-so-game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-xo-so-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-xo-so-game-card h3 {
    padding: 15px 20px 5px;
    margin-top: 0;
    margin-bottom: 0;
}

.page-xo-so-game-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

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

.page-xo-so-game-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #666;
}

.page-xo-so-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-xo-so-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color); /* Dark text on gold button */
    transform: translateY(-2px);
}

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

.page-xo-so-step-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-xo-so-step-image {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-xo-so-step-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-top: 0;
}

.page-xo-so-step-item p {
    font-size: 0.9em;
    color: #666;
}

.page-xo-so-step-item p a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-xo-so-step-item p a:hover {
    text-decoration: underline;
}

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

.page-xo-so-tips .page-xo-so-list li {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    font-size: 1.05em;
    color: var(--text-color-dark);
}

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

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

.page-xo-so-promotion-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-xo-so-promotion-card h3 {
    padding: 15px 20px 5px;
    margin-top: 0;
    margin-bottom: 0;
}

.page-xo-so-promotion-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.page-xo-so-promotion-card h3 a:hover {
    color: var(--secondary-color);
}

.page-xo-so-promotion-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #666;
}

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

.page-xo-so-channel-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-xo-so-channel-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-xo-so-channel-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-top: 0;
}

.page-xo-so-channel-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 25px;
}

/* FAQ Styling */
.page-xo-so-faq-list {
    margin-top: 40px;
}

.page-xo-so-faq-list .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-xo-so-faq-list .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-xo-so-faq-list .faq-question:hover {
    background: #f5f5f5;
}

.page-xo-so-faq-list .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--primary-color);
}

.page-xo-so-faq-list .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-xo-so-faq-list .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
}

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

.page-xo-so-faq-list .faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

.page-xo-so-conclusion {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #002d6b);
    color: var(--text-color-light);
    padding: 80px 20px;
    border-radius: 0;
}

.page-xo-so-conclusion h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-xo-so-conclusion h2::after {
    background: var(--secondary-color);
}

.page-xo-so-conclusion p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--text-color-light);
}

.page-xo-so-conclusion p a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
}

.page-xo-so-conclusion p a:hover {
    color: #ffd700cc;
}

.page-xo-so-button-group {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-xo-so-hero h1 {
        font-size: 2.5em;
    }
    .page-xo-so h2 {
        font-size: 2em;
    }
    .page-xo-so-container {
        padding: 15px;
    }
    .page-xo-so-hero-image {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-xo-so-hero {
        padding: 60px 0;
    }
    .page-xo-so-hero h1 {
        font-size: 2em;
    }
    .page-xo-so-hero p {
        font-size: 1em;
    }
    .page-xo-so-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-xo-so h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-xo-so h3 {
        font-size: 1.3em;
    }
    .page-xo-so-why-choose .page-xo-so-features-grid,
    .page-xo-so-game-types .page-xo-so-grid-3-col,
    .page-xo-so-how-to-play .page-xo-so-steps,
    .page-xo-so-promotions .page-xo-so-promotion-grid,
    .page-xo-so-support .page-xo-so-support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-xo-so-section {
        padding: 40px 0;
    }
    .page-xo-so-game-card h3 a, .page-xo-so-promotion-card h3 a {
        font-size: 1.2em;
    }
    .page-xo-so-faq-list .faq-question {
        padding: 15px 20px;
    }
    .page-xo-so-faq-list .faq-question h3 {
        font-size: 1em;
    }
    .page-xo-so-faq-list .faq-toggle {
        font-size: 20px;
    }
    .page-xo-so-faq-list .faq-answer {
        padding: 0 20px;
    }
    .page-xo-so-faq-list .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-xo-so-hero h1 {
        font-size: 1.6em;
    }
    .page-xo-so-hero p {
        font-size: 0.95em;
    }
    .page-xo-so-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-xo-so h2 {
        font-size: 1.5em;
    }
    .page-xo-so h3 {
        font-size: 1.2em;
    }
    .page-xo-so-button {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .page-xo-so-hero-image {
        max-width: 90%;
    }
}