/* style/news-latest-platform-update.css */
:root {
    --s8bet-green-main: #11A84E;
    --s8bet-green-accent: #22C768;
    --s8bet-bg-dark: #08160F;
    --s8bet-card-bg: #11271B;
    --s8bet-text-main: #F2FFF6;
    --s8bet-text-secondary: #A7D9B8;
    --s8bet-border: #2E7A4E;
    --s8bet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --s8bet-glow: #57E38D;
    --s8bet-gold: #F2C14E;
    --s8bet-divider: #1E3A2A;
    --s8bet-deep-green: #0A4B2C;
}

.page-news-latest-platform-update {
    font-family: Arial, sans-serif;
    color: var(--s8bet-text-main);
    background-color: var(--s8bet-bg-dark);
    line-height: 1.6;
}

.page-news-latest-platform-update__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-latest-platform-update__section {
    padding: 60px 0;
}

.page-news-latest-platform-update__section-title {
    font-size: 2.8em;
    color: var(--s8bet-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-news-latest-platform-update__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--s8bet-text-secondary);
}

.page-news-latest-platform-update__text-block strong.text-main {
    color: var(--s8bet-text-main);
    font-weight: bold;
}

/* Hero Section */
.page-news-latest-platform-update__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Minimal top padding, body handles header offset */
    overflow: hidden;
}

.page-news-latest-platform-update__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
}

.page-news-latest-platform-update__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-news-latest-platform-update__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin-top: -150px; /* Overlap slightly for visual effect, not covering image */
    padding: 40px;
    background: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--s8bet-border);
}

.page-news-latest-platform-update__main-title {
    font-size: 3.2em;
    color: var(--s8bet-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.03em;
}

.page-news-latest-platform-update__lead-text {
    font-size: 1.3em;
    color: var(--s8bet-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Buttons */
.page-news-latest-platform-update__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-latest-platform-update__btn-primary {
    background: var(--s8bet-button-gradient);
    color: var(--s8bet-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-news-latest-platform-update__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-news-latest-platform-update__btn-secondary {
    background: transparent;
    color: var(--s8bet-green-main);
    border: 2px solid var(--s8bet-green-main);
    margin-left: 20px;
}

.page-news-latest-platform-update__btn-secondary:hover {
    background: var(--s8bet-green-main);
    color: var(--s8bet-text-main);
    transform: translateY(-3px);
}

/* Cards */
.page-news-latest-platform-update__card {
    background-color: var(--s8bet-card-bg);
    border: 1px solid var(--s8bet-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--s8bet-text-main);
}

.page-news-latest-platform-update__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-news-latest-platform-update__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-news-latest-platform-update__feature-card {
    text-align: center;
}

.page-news-latest-platform-update__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-news-latest-platform-update__feature-title {
    font-size: 1.8em;
    color: var(--s8bet-gold);
    margin-bottom: 15px;
}

.page-news-latest-platform-update__feature-description {
    font-size: 1em;
    color: var(--s8bet-text-secondary);
}

/* Benefits Section */
.page-news-latest-platform-update__dark-section {
    background-color: var(--s8bet-deep-green);
    color: var(--s8bet-text-main);
}

.page-news-latest-platform-update__dark-section .page-news-latest-platform-update__section-title {
    color: var(--s8bet-gold);
}

.page-news-latest-platform-update__dark-section .page-news-latest-platform-update__text-block {
    color: var(--s8bet-text-secondary);
}

.page-news-latest-platform-update__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-latest-platform-update__benefit-item {
    text-align: center;
    background-color: rgba(17, 39, 27, 0.8); /* Slightly darker card background */
    border: 1px solid var(--s8bet-border);
    border-radius: 12px;
    padding: 30px;
}

.page-news-latest-platform-update__benefit-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-news-latest-platform-update__benefit-title {
    font-size: 1.6em;
    color: var(--s8bet-gold);
    margin-bottom: 10px;
}

.page-news-latest-platform-update__benefit-description {
    font-size: 0.95em;
    color: var(--s8bet-text-secondary);
}

.page-news-latest-platform-update__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Guide Section */
.page-news-latest-platform-update__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-latest-platform-update__guide-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news-latest-platform-update__guide-title {
    font-size: 1.8em;
    color: var(--s8bet-gold);
    margin-bottom: 15px;
}

.page-news-latest-platform-update__guide-description {
    font-size: 1em;
    color: var(--s8bet-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Video Section */
.page-news-latest-platform-update__video-section {
    padding-top: 10px; /* Minimal top padding, body handles header offset */
}

.page-news-latest-platform-update__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid var(--s8bet-border);
    box-sizing: border-box;
}

.page-news-latest-platform-update__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-news-latest-platform-update__video-link {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
    cursor: pointer;
}

/* FAQ Section */
.page-news-latest-platform-update__faq-section {
    background-color: var(--s8bet-deep-green);
    color: var(--s8bet-text-main);
}

.page-news-latest-platform-update__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news-latest-platform-update__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--s8bet-card-bg);
    border: 1px solid var(--s8bet-border);
}

.page-news-latest-platform-update__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--s8bet-gold);
    cursor: pointer;
    background-color: var(--s8bet-card-bg);
    border-bottom: 1px solid var(--s8bet-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-news-latest-platform-update__faq-question::-webkit-details-marker {
    display: none;
}

.page-news-latest-platform-update__faq-question:hover {
    background-color: rgba(34, 199, 104, 0.1);
}

.page-news-latest-platform-update__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-news-latest-platform-update__faq-item[open] .page-news-latest-platform-update__faq-toggle {
    transform: rotate(45deg);
}

.page-news-latest-platform-update__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--s8bet-text-secondary);
    border-top: 1px solid var(--s8bet-divider);
}

.page-news-latest-platform-update__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-news-latest-platform-update__cta-section {
    text-align: center;
    background-color: var(--s8bet-bg-dark);
}

.page-news-latest-platform-update__cta-section .page-news-latest-platform-update__section-title {
    color: var(--s8bet-gold);
}

.page-news-latest-platform-update__cta-section .page-news-latest-platform-update__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-latest-platform-update__main-title {
        font-size: 2.8em;
    }
    .page-news-latest-platform-update__lead-text {
        font-size: 1.2em;
    }
    .page-news-latest-platform-update__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-news-latest-platform-update__section {
        padding: 40px 0;
    }
    .page-news-latest-platform-update__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news-latest-platform-update__main-title {
        font-size: 2em;
    }
    .page-news-latest-platform-update__lead-text {
        font-size: 1em;
    }
    .page-news-latest-platform-update__hero-content {
        margin-top: -80px;
        padding: 20px;
        max-width: calc(100% - 30px);
    }

    /* Images responsive */
    .page-news-latest-platform-update img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-latest-platform-update__feature-image {
        height: 200px;
    }
    .page-news-latest-platform-update__benefit-icon {
        width: 100px;
        height: 100px;
    }

    /* Video responsive */
    .page-news-latest-platform-update__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news-latest-platform-update__video-wrapper video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-latest-platform-update__video-section {
        padding-top: 10px !important;
    }

    /* Buttons responsive */
    .page-news-latest-platform-update__cta-button,
    .page-news-latest-platform-update__btn-primary,
    .page-news-latest-platform-update__btn-secondary,
    .page-news-latest-platform-update a[class*="button"],
    .page-news-latest-platform-update a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important; /* Reset margin for single column */
    }
    .page-news-latest-platform-update__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-news-latest-platform-update__container,
    .page-news-latest-platform-update__section,
    .page-news-latest-platform-update__card {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news-latest-platform-update__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-news-latest-platform-update__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-news-latest-platform-update__main-title {
        font-size: 1.6em;
    }
    .page-news-latest-platform-update__section-title {
        font-size: 1.5em;
    }
    .page-news-latest-platform-update__hero-content {
        margin-top: -60px;
    }
    .page-news-latest-platform-update__feature-title,
    .page-news-latest-platform-update__benefit-title,
    .page-news-latest-platform-update__guide-title {
        font-size: 1.4em;
    }
    .page-news-latest-platform-update__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}