/* style/news-new-game-launch.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-news-new-game-launch {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--bg-color);
    line-height: 1.6;
}

.page-news-new-game-launch__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more at bottom */
    text-align: center;
    overflow: hidden;
}

.page-news-new-game-launch__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-news-new-game-launch__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-news-new-game-launch__hero-content {
    position: relative;
    z-index: 1;
    margin-top: -100px; /* Overlap slightly with image for visual flow */
    background: linear-gradient(180deg, rgba(8, 22, 15, 0) 0%, var(--bg-color) 50%);
    padding-top: 100px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-news-new-game-launch__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--gold-color);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-news-new-game-launch__intro-text {
    font-size: 1.2em;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-news-new-game-launch__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-news-new-game-launch__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news-new-game-launch__btn-primary,
.page-news-new-game-launch__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-news-new-game-launch__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-news-new-game-launch__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-news-new-game-launch__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-news-new-game-launch__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: var(--text-main-color);
    transform: translateY(-2px);
}

.page-news-new-game-launch__section {
    padding: 60px 20px;
    background-color: var(--bg-color);
    color: var(--text-main-color);
    text-align: center;
}

.page-news-new-game-launch__section--dark-bg {
    background-color: var(--card-bg-color);
}

.page-news-new-game-launch__section--cta-final {
    padding-bottom: 80px;
}

.page-news-new-game-launch__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-news-new-game-launch__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-news-new-game-launch__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-news-new-game-launch__game-grid,
.page-news-new-game-launch__feature-grid,
.page-news-new-game-launch__promo-grid,
.page-news-new-game-launch__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-news-new-game-launch__game-card,
.page-news-new-game-launch__feature-card,
.page-news-new-game-launch__promo-card,
.page-news-new-game-launch__step-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-news-new-game-launch__game-card:hover,
.page-news-new-game-launch__feature-card:hover,
.page-news-new-game-launch__promo-card:hover,
.page-news-new-game-launch__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-news-new-game-launch__game-card-image,
.page-news-new-game-launch__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news-new-game-launch__feature-card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 30px auto 20px;
    display: block;
}

.page-news-new-game-launch__game-card-title,
.page-news-new-game-launch__feature-card-title,
.page-news-new-game-launch__promo-card-title,
.page-news-new-game-launch__step-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-news-new-game-launch__game-card-text,
.page-news-new-game-launch__feature-card-text,
.page-news-new-game-launch__promo-card-text,
.page-news-new-game-launch__step-text {
    color: var(--text-secondary-color);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-news-new-game-launch__game-card-link,
.page-news-new-game-launch__promo-card-link,
.page-news-new-game-launch__step-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--deep-green-color);
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-news-new-game-launch__game-card-link:hover,
.page-news-new-game-launch__promo-card-link:hover,
.page-news-new-game-launch__step-link:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
}

.page-news-new-game-launch__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-color);
    color: var(--bg-color);
    font-size: 1.8em;
    font-weight: bold;
    margin: 30px auto 20px;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-news-new-game-launch__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

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

.page-news-new-game-launch__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-news-new-game-launch__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

.page-news-new-game-launch__faq-question::-webkit-details-marker {
    display: none;
}

.page-news-new-game-launch__faq-question::marker {
    display: none;
}

.page-news-new-game-launch__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-news-new-game-launch__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-news-new-game-launch__faq-item[open] .page-news-new-game-launch__faq-toggle {
    transform: rotate(45deg);
}

.page-news-new-game-launch__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--text-secondary-color);
    border-top: 1px solid var(--border-color);
    background-color: var(--card-bg-color);
}

.page-news-new-game-launch__faq-answer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news-new-game-launch__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-news-new-game-launch__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-news-new-game-launch__hero-section {
        padding: 10px 15px 40px;
    }
    .page-news-new-game-launch__hero-content {
        margin-top: -80px;
        padding-top: 80px;
    }
    .page-news-new-game-launch__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
    }
    .page-news-new-game-launch__intro-text {
        font-size: 1em;
    }
    .page-news-new-game-launch__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news-new-game-launch__btn-primary,
    .page-news-new-game-launch__btn-secondary,
    .page-news-new-game-launch a[class*="button"],
    .page-news-new-game-launch 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: 12px 15px;
    }
    .page-news-new-game-launch__cta-buttons,
    .page-news-new-game-launch__button-group,
    .page-news-new-game-launch__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-news-new-game-launch__section {
        padding: 40px 15px;
    }
    .page-news-new-game-launch__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news-new-game-launch__section-title {
        font-size: 1.8em;
    }
    .page-news-new-game-launch__game-grid,
    .page-news-new-game-launch__feature-grid,
    .page-news-new-game-launch__promo-grid,
    .page-news-new-game-launch__step-grid {
        grid-template-columns: 1fr;
    }
    .page-news-new-game-launch img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-new-game-launch__game-card,
    .page-news-new-game-launch__feature-card,
    .page-news-new-game-launch__promo-card,
    .page-news-new-game-launch__step-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news-new-game-launch__video-section {
      padding-top: 10px !important; /* body đã xử lý padding-top */
    }
}

@media (max-width: 480px) {
    .page-news-new-game-launch__main-title {
        font-size: clamp(1.5em, 8vw, 2.5em);
    }
    .page-news-new-game-launch__section-title {
        font-size: 1.5em;
    }
}