/* style/index-game-highlights.css */

/* Base styles for the page content, considering body background #0a0a0a */
.page-index-game-highlights {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text on dark body background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared.css */
}

.page-index-game-highlights__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section base styles */
.page-index-game-highlights__hero-section,
.page-index-game-highlights__video-section,
.page-index-game-highlights__content-section,
.page-index-game-highlights__advantages-section,
.page-index-game-highlights__guide-section,
.page-index-game-highlights__faq-section,
.page-index-game-highlights__conclusion-section {
    padding: 60px 0;
}

/* Color schemes for sections */
.page-index-game-highlights__dark-bg {
    background-color: #0a0a0a; /* Ensure dark background for sections */
    color: #ffffff;
}

.page-index-game-highlights__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Hero Section */
.page-index-game-highlights__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #0a0a0a;
}

.page-index-game-highlights__hero-content {
    flex: 1;
    padding-right: 40px;
    z-index: 1;
}

.page-index-game-highlights__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-game-highlights__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-game-highlights__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-index-game-highlights__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.page-index-game-highlights__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index-game-highlights__cta-buttons--center {
    justify-content: center;
}

.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

.page-index-game-highlights__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-index-game-highlights__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-index-game-highlights__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-index-game-highlights__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Specific promotion link button color */
.page-index-game-highlights__cta-buttons a[href*="plink_id"] {
    background-color: #EA7C07; /* Login color */
    border-color: #EA7C07;
    color: #ffffff;
}

.page-index-game-highlights__cta-buttons a[href*="plink_id"]:hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Section Titles and Descriptions */
.page-index-game-highlights__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-index-game-highlights__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Video Section */
.page-index-game-highlights__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.page-index-game-highlights__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

/* Game Categories */
.page-index-game-highlights__game-category {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index-game-highlights__category-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-index-game-highlights__category-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-game-highlights__category-text {
    font-size: 1.05em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: left; /* Align text within category */
}

.page-index-game-highlights__feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    width: 100%;
}

.page-index-game-highlights__feature-list li {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #26A9E0;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1em;
}

.page-index-game-highlights__feature-list li strong {
    color: #26A9E0;
}

/* Advantages Section */
.page-index-game-highlights__advantages-section .page-index-game-highlights__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-game-highlights__advantage-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-game-highlights__advantage-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-game-highlights__advantage-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-index-game-highlights__advantage-text {
    color: #f0f0f0;
    font-size: 1em;
}

/* Login Guide Section */
.page-index-game-highlights__login-steps {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 800px;
}

.page-index-game-highlights__login-steps li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #26A9E0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-game-highlights__login-steps li strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-index-game-highlights__faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.page-index-game-highlights__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-game-highlights__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-index-game-highlights__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-index-game-highlights__faq-question::-webkit-details-marker {
    display: none;
}

.page-index-game-highlights__faq-question::marker {
    display: none;
}

.page-index-game-highlights__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-index-game-highlights__faq-item[open] .page-index-game-highlights__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-index-game-highlights__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Conclusion Section */
.page-index-game-highlights__conclusion-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-index-game-highlights__cta-box {
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent blue from primary color */
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-game-highlights__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-bottom: 60px;
    }

    .page-index-game-highlights__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-index-game-highlights__hero-title {
        font-size: 2.8em;
    }

    .page-index-game-highlights__hero-description {
        font-size: 1.1em;
    }

    .page-index-game-highlights__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-game-highlights__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-index-game-highlights__hero-title {
        font-size: 2.2em;
    }

    .page-index-game-highlights__hero-description {
        font-size: 1em;
    }

    .page-index-game-highlights__section-title {
        font-size: 1.8em;
    }

    .page-index-game-highlights__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .page-index-game-highlights img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness */
    .page-index-game-highlights video,
    .page-index-game-highlights__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-game-highlights__video-section,
    .page-index-game-highlights__video-container,
    .page-index-game-highlights__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-index-game-highlights__cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .page-index-game-highlights__btn-primary,
    .page-index-game-highlights__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-index-game-highlights__cta-buttons,
    .page-index-game-highlights__button-group,
    .page-index-game-highlights__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-index-game-highlights__game-category,
    .page-index-game-highlights__advantage-item,
    .page-index-game-highlights__login-steps li,
    .page-index-game-highlights__faq-item,
    .page-index-game-highlights__cta-box {
        padding: 20px;
    }

    .page-index-game-highlights__category-title,
    .page-index-game-highlights__advantage-title {
        font-size: 1.5em;
    }

    .page-index-game-highlights__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-index-game-highlights__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-index-game-highlights__hero-title {
        font-size: 1.8em;
    }

    .page-index-game-highlights__section-title {
        font-size: 1.5em;
    }
    .page-index-game-highlights__hero-section,
    .page-index-game-highlights__video-section,
    .page-index-game-highlights__content-section,
    .page-index-game-highlights__advantages-section,
    .page-index-game-highlights__guide-section,
    .page-index-game-highlights__faq-section,
    .page-index-game-highlights__conclusion-section {
        padding: 40px 0;
    }
}