:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-game-guides-roulette {
    color: var(--text-main-color);
    background-color: var(--deep-navy); /* Body background is deep-navy, so content text is light */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-game-guides-roulette__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-game-guides-roulette__section {
    padding: 60px 0;
    position: relative;
}

.page-game-guides-roulette__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-game-guides-roulette__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-game-guides-roulette__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-game-guides-roulette__hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 30px 20px;
    margin-top: -100px; /* Pull content up over image a bit for visual flow, but not overlay */
    background-color: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-game-guides-roulette__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-game-guides-roulette__hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides-roulette__btn-primary,
.page-game-guides-roulette__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-game-guides-roulette__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides-roulette__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides-roulette__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 15px;
}

.page-game-guides-roulette__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--deep-navy);
}

.page-game-guides-roulette__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-game-guides-roulette__sub-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-game-guides-roulette__text-block p {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-game-guides-roulette__text-block p:last-child {
    margin-bottom: 0;
}

.page-game-guides-roulette__image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.page-game-guides-roulette__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-game-guides-roulette__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-game-guides-roulette__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-game-guides-roulette__content-grid--reverse {
        grid-template-columns: 1fr 1fr;
        direction: rtl; /* Reverse order for content grid */
    }
    .page-game-guides-roulette__content-grid--reverse > *:first-child {
        grid-column: 2; /* Text block to second column */
        direction: ltr;
    }
    .page-game-guides-roulette__content-grid--reverse > *:last-child {
        grid-column: 1; /* Image to first column */
        direction: ltr;
    }
}

.page-game-guides-roulette__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-game-guides-roulette__list li {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--text-secondary-color);
    border-left: 4px solid var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-game-guides-roulette__list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-game-guides-roulette__list li strong {
    color: var(--text-main-color);
}

.page-game-guides-roulette__list--columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .page-game-guides-roulette__list--columns {
        grid-template-columns: 1fr 1fr;
    }
}

.page-game-guides-roulette__card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .page-game-guides-roulette__card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-game-guides-roulette__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-secondary-color);
}

.page-game-guides-roulette__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-game-guides-roulette__card .page-game-guides-roulette__list li {
    background-color: rgba(255, 255, 255, 0.03);
    border-left-color: var(--gold-color);
}

.page-game-guides-roulette__text-center {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--text-secondary-color);
}

.page-game-guides-roulette__dark-section {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    padding: 80px 0;
}

.page-game-guides-roulette__dark-section .page-game-guides-roulette__section-title {
    color: var(--text-main-color);
}

.page-game-guides-roulette__cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    background-color: var(--card-bg);
}

.page-game-guides-roulette__cta-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-game-guides-roulette__cta-content .page-game-guides-roulette__section-title {
    color: var(--text-main-color);
}

.page-game-guides-roulette__cta-content .page-game-guides-roulette__description {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-game-guides-roulette__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-game-guides-roulette__cta-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
}

.page-game-guides-roulette__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-game-guides-roulette__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-game-guides-roulette__faq-item[open] {
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-game-guides-roulette__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    list-style: none; /* Hide default triangle */
}

.page-game-guides-roulette__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-guides-roulette__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-game-guides-roulette__faq-item[open] .page-game-guides-roulette__faq-toggle {
    color: var(--gold-color);
    transform: rotate(0deg); /* Explicitly set for consistency */
}

.page-game-guides-roulette__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05rem;
    color: var(--text-secondary-color);
}

.page-game-guides-roulette__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-secondary-color);
}

.text-main {
    color: var(--text-main-color);
}

.text-secondary {
    color: var(--text-secondary-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-game-guides-roulette__section {
        padding: 40px 0;
    }
    .page-game-guides-roulette__hero-section {
        padding-bottom: 40px;
    }
    .page-game-guides-roulette__hero-content-wrapper {
        margin-top: -60px;
        padding: 20px;
    }
    .page-game-guides-roulette__hero-title {
        font-size: 2rem;
    }
    .page-game-guides-roulette__hero-description {
        font-size: 1rem;
    }
    .page-game-guides-roulette__btn-primary,
    .page-game-guides-roulette__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides-roulette__cta-buttons {
        flex-direction: column;
        gap: 0;
    }
    .page-game-guides-roulette__section-title {
        font-size: 1.75rem;
    }
    .page-game-guides-roulette__sub-title {
        font-size: 1.4rem;
    }
    .page-game-guides-roulette__text-block p,
    .page-game-guides-roulette__list li,
    .page-game-guides-roulette__faq-answer p {
        font-size: 0.95rem;
    }
    .page-game-guides-roulette__card-title {
        font-size: 1.3rem;
    }
    .page-game-guides-roulette__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-game-guides-roulette img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides-roulette__container,
    .page-game-guides-roulette__hero-image-wrapper,
    .page-game-guides-roulette__hero-content-wrapper,
    .page-game-guides-roulette__content-grid,
    .page-game-guides-roulette__card-grid,
    .page-game-guides-roulette__cta-content,
    .page-game-guides-roulette__cta-image-wrapper,
    .page-game-guides-roulette__faq-list,
    .page-game-guides-roulette__list--columns {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-game-guides-roulette__video-section {
        padding-top: 10px !important;
    }
    .page-game-guides-roulette__hero-image-wrapper + .page-game-guides-roulette__hero-content-wrapper {
        margin-top: -60px; /* Ensure content is still pulled up */
    }
}