/* style/resources-betting-guide.css */

:root {
    --primary-color: #4A148C; /* Deep Purple */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000;
    --bg-light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-resources-betting-guide {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark); /* Inherited from shared.css body, set explicitly for clarity */
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-resources-betting-guide {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 15px;
    }
}

.page-resources-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.page-resources-betting-guide__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__section {
        padding: 40px 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-betting-guide__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-betting-guide__hero-section {
    background-image: url('[GALLERY:hero:awin68,betting_guide,main_banner]');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.page-resources-betting-guide__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__hero-section {
        padding: 60px 0 !important;
        background-position: top center !important;
    }
}

.page-resources-betting-guide__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__main-title {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }
}

.page-resources-betting-guide__hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__hero-description {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }
}

.page-resources-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__cta-button {
        padding: 12px 25px !important;
        font-size: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-betting-guide__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-betting-guide__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-resources-betting-guide__btn-secondary:hover {
    background: #3a0f70;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-betting-guide__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: inherit;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__section-title {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }
}

.page-resources-betting-guide__sub-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__sub-title {
        font-size: 20px !important;
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }
}

.page-resources-betting-guide__content-block p,
.page-resources-betting-guide__content-block li {
    font-size: 16px;
    margin-bottom: 10px;
    color: inherit;
}

.page-resources-betting-guide__list,
.page-resources-betting-guide__numbered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-resources-betting-guide__list li,
.page-resources-betting-guide__numbered-list li {
    margin-bottom: 8px;
}

.page-resources-betting-guide__sub-list {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;
}

.page-resources-betting-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
    }
}

.page-resources-betting-guide__qr-code {
    max-width: 200px;
    margin-top: 20px;
    border: 5px solid var(--primary-color);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__qr-code {
        max-width: 150px !important;
        width: 150px !important;
        margin: 15px auto !important;
    }
}

.page-resources-betting-guide__app-download-guide {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__app-download-guide {
        flex-direction: column !important;
        gap: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__app-platform {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__app-platform {
        padding: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__app-platform h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__app-platform h4 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
}

.page-resources-betting-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__game-categories {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__game-card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-betting-guide__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__game-card {
        padding: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__card-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__card-image {
        height: 180px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.page-resources-betting-guide__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__card-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
}

.page-resources-betting-guide__game-card p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-betting-guide__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-resources-betting-guide__btn-link:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__btn-link {
        padding: 8px 15px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.page-resources-betting-guide__centered-button {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 300px;
}

@media (max-width: 768px) {
    .page-resources-betting-guide__centered-button {
        margin-top: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
}

/* FAQ styles */
.page-resources-betting-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-answer {
    max-height: 2000px !important; /* Ensure enough space for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-resources-betting-guide__faq-answer p {
    color: var(--text-dark);
}

.page-resources-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-resources-betting-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-betting-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-betting-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-resources-betting-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-toggle {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .page-resources-betting-guide__faq-question {
        padding: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .page-resources-betting-guide__faq-question h3 {
        font-size: 15px !important;
        margin-bottom: 0 !important;
        width: calc(100% - 40px) !important;
    }
    
    .page-resources-betting-guide__faq-toggle {
        margin-left: 10px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 20px !important;
    }
    
    .page-resources-betting-guide__faq-answer {
        padding: 0 15px !important;
    }
    
    .page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-answer {
        padding: 15px !important;
    }
}