/* style/resources-sanvip-platform-overview.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-light: #ffffff;
    --text-dark: #1A1A1A;
    --background-dark: #1A1A1A;
    --background-light: #f5f5f5;
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-resources-sanvip-platform-overview {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources-sanvip-platform-overview__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-sanvip-platform-overview__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-resources-sanvip-platform-overview__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-color: var(--background-dark);
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-resources-sanvip-platform-overview__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-resources-sanvip-platform-overview__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--text-light);
}

.page-resources-sanvip-platform-overview__hero-title {
    font-size: 4em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.page-resources-sanvip-platform-overview__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-sanvip-platform-overview__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-sanvip-platform-overview__btn-primary,
.page-resources-sanvip-platform-overview__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-sanvip-platform-overview__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-resources-sanvip-platform-overview__btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.page-resources-sanvip-platform-overview__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-sanvip-platform-overview__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

/* About Section */
.page-resources-sanvip-platform-overview__about-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.page-resources-sanvip-platform-overview__about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.page-resources-sanvip-platform-overview__about-content .page-resources-sanvip-platform-overview__text-block {
    flex: 1;
}

.page-resources-sanvip-platform-overview__about-content .page-resources-sanvip-platform-overview__text-block p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-resources-sanvip-platform-overview__about-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
}

/* Games Section */
.page-resources-sanvip-platform-overview__games-section {
    padding: 100px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for distinction */
}

.page-resources-sanvip-platform-overview__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-sanvip-platform-overview__game-card {
    background-color: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-sanvip-platform-overview__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.page-resources-sanvip-platform-overview__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-sanvip-platform-overview__game-title {
    font-size: 1.8em;
    margin: 25px 15px 10px 15px;
    color: var(--primary-color);
}

.page-resources-sanvip-platform-overview__game-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-sanvip-platform-overview__game-title a:hover {
    color: var(--text-light);
}

.page-resources-sanvip-platform-overview__game-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 20px 25px 20px;
}

/* Why Choose Section */
.page-resources-sanvip-platform-overview__why-choose-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.page-resources-sanvip-platform-overview__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-sanvip-platform-overview__feature-item {
    background-color: #0d0d0d;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-sanvip-platform-overview__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.page-resources-sanvip-platform-overview__feature-icon {
    width: 150px;
    height: 112px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size for icons/images */
    min-height: 150px;
}

.page-resources-sanvip-platform-overview__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-sanvip-platform-overview__feature-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Promotions Section */
.page-resources-sanvip-platform-overview__promotions-section {
    padding: 100px 0;
    background-color: #0d0d0d;
}

.page-resources-sanvip-platform-overview__promo-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.page-resources-sanvip-platform-overview__promo-content .page-resources-sanvip-platform-overview__text-block {
    flex: 1;
}

.page-resources-sanvip-platform-overview__promo-content .page-resources-sanvip-platform-overview__text-block p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-resources-sanvip-platform-overview__promo-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

/* Safety Section */
.page-resources-sanvip-platform-overview__safety-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.page-resources-sanvip-platform-overview__safety-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.page-resources-sanvip-platform-overview__safety-content .page-resources-sanvip-platform-overview__text-block {
    flex: 1;
}

.page-resources-sanvip-platform-overview__safety-content .page-resources-sanvip-platform-overview__text-block p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-resources-sanvip-platform-overview__safety-content .page-resources-sanvip-platform-overview__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-sanvip-platform-overview__safety-content .page-resources-sanvip-platform-overview__text-block a:hover {
    color: var(--text-light);
}

.page-resources-sanvip-platform-overview__safety-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

/* FAQ Section */
.page-resources-sanvip-platform-overview__faq-section {
    padding: 100px 0;
    background-color: #0d0d0d;
}

.page-resources-sanvip-platform-overview__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-sanvip-platform-overview__faq-item {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-resources-sanvip-platform-overview__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-sanvip-platform-overview__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-sanvip-platform-overview__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-resources-sanvip-platform-overview__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-resources-sanvip-platform-overview__faq-item.active .page-resources-sanvip-platform-overview__faq-toggle {
    transform: rotate(45deg);
    color: var(--text-light);
}

.page-resources-sanvip-platform-overview__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-sanvip-platform-overview__faq-item.active .page-resources-sanvip-platform-overview__faq-answer {
    max-height: 1000px !important; /* Important to override any other max-height */
    padding: 15px 25px 25px 25px;
}

.page-resources-sanvip-platform-overview__faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}

/* CTA Section */
.page-resources-sanvip-platform-overview__cta-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--background-dark);
}

.page-resources-sanvip-platform-overview__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-sanvip-platform-overview__hero-title {
        font-size: 3.5em;
    }
    .page-resources-sanvip-platform-overview__hero-description {
        font-size: 1.3em;
    }
    .page-resources-sanvip-platform-overview__section-title {
        font-size: 2.5em;
    }
    .page-resources-sanvip-platform-overview__about-content,
    .page-resources-sanvip-platform-overview__promo-content,
    .page-resources-sanvip-platform-overview__safety-content {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-sanvip-platform-overview__about-image,
    .page-resources-sanvip-platform-overview__promo-image,
    .page-resources-sanvip-platform-overview__safety-image {
        max-width: 80%;
        margin-top: 40px;
    }
    .page-resources-sanvip-platform-overview__about-content .page-resources-sanvip-platform-overview__text-block,
    .page-resources-sanvip-platform-overview__promo-content .page-resources-sanvip-platform-overview__text-block,
    .page-resources-sanvip-platform-overview__safety-content .page-resources-sanvip-platform-overview__text-block {
        flex: none;
    }
    .page-resources-sanvip-platform-overview__game-grid,
    .page-resources-sanvip-platform-overview__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-sanvip-platform-overview {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-sanvip-platform-overview__hero-section {
        min-height: 60vh;
        padding: 60px 15px;
    }
    .page-resources-sanvip-platform-overview__hero-title {
        font-size: 2.5em;
    }
    .page-resources-sanvip-platform-overview__hero-description {
        font-size: 1.1em;
    }
    .page-resources-sanvip-platform-overview__hero-buttons,
    .page-resources-sanvip-platform-overview__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-sanvip-platform-overview__btn-primary,
    .page-resources-sanvip-platform-overview__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 25px;
    }
    .page-resources-sanvip-platform-overview__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-resources-sanvip-platform-overview__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-resources-sanvip-platform-overview__about-section,
    .page-resources-sanvip-platform-overview__games-section,
    .page-resources-sanvip-platform-overview__why-choose-section,
    .page-resources-sanvip-platform-overview__promotions-section,
    .page-resources-sanvip-platform-overview__safety-section,
    .page-resources-sanvip-platform-overview__faq-section,
    .page-resources-sanvip-platform-overview__cta-section {
        padding: 60px 0;
    }
    .page-resources-sanvip-platform-overview__container {
        padding: 0 15px;
    }
    .page-resources-sanvip-platform-overview__about-image,
    .page-resources-sanvip-platform-overview__promo-image,
    .page-resources-sanvip-platform-overview__safety-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-sanvip-platform-overview__game-image,
    .page-resources-sanvip-platform-overview__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    /* Ensure all images are responsive */
    .page-resources-sanvip-platform-overview img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sanvip-platform-overview__section,
    .page-resources-sanvip-platform-overview__card,
    .page-resources-sanvip-platform-overview__container,
    .page-resources-sanvip-platform-overview__hero-buttons,
    .page-resources-sanvip-platform-overview__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-sanvip-platform-overview__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-sanvip-platform-overview__faq-question {
        padding: 18px 20px;
        font-size: 1.1em;
    }
    .page-resources-sanvip-platform-overview__faq-answer {
        padding: 0 20px;
    }
    .page-resources-sanvip-platform-overview__faq-item.active .page-resources-sanvip-platform-overview__faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-sanvip-platform-overview__hero-title {
        font-size: 2em;
    }
    .page-resources-sanvip-platform-overview__hero-description {
        font-size: 1em;
    }
    .page-resources-sanvip-platform-overview__section-title {
        font-size: 1.8em;
    }
    .page-resources-sanvip-platform-overview__btn-primary,
    .page-resources-sanvip-platform-overview__btn-secondary {
        font-size: 1em;
    }
}