/* style/promotions-new-player-bonus.css */

:root {
    --gakinh79-primary-color: #11A84E;
    --gakinh79-secondary-color: #22C768;
    --gakinh79-background-dark: #08160F;
    --gakinh79-card-bg: #11271B;
    --gakinh79-text-main: #F2FFF6;
    --gakinh79-text-secondary: #A7D9B8;
    --gakinh79-border-color: #2E7A4E;
    --gakinh79-glow-color: #57E38D;
    --gakinh79-gold-color: #F2C14E;
    --gakinh79-divider-color: #1E3A2A;
    --gakinh79-deep-green: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions-new-player-bonus {
    font-family: 'Arial', sans-serif;
    color: var(--gakinh79-text-main); /* Default text color for dark body background */
    background-color: var(--gakinh79-background-dark);
}

.page-promotions-new-player-bonus__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-promotions-new-player-bonus__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for desktop */
    overflow: hidden;
}

.page-promotions-new-player-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-promotions-new-player-bonus__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to slightly overlap image, but not cover text */
    background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(50px); /* Lift content slightly */
}

.page-promotions-new-player-bonus__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gakinh79-text-main);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus__hero-description {
    font-size: 1.2em;
    color: var(--gakinh79-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions-new-player-bonus__btn-primary {
    display: inline-block;
    background: var(--btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions-new-player-bonus__section-title {
    font-size: 2.5em;
    color: var(--gakinh79-gold-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-new-player-bonus__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gakinh79-gold-color);
    border-radius: 2px;
}

.page-promotions-new-player-bonus__benefits-section,
.page-promotions-new-player-bonus__registration-guide,
.page-promotions-new-player-bonus__activation-guide,
.page-promotions-new-player-bonus__terms-conditions,
.page-promotions-new-player-bonus__game-variety,
.page-promotions-new-player-bonus__support-security,
.page-promotions-new-player-bonus__faq-section,
.page-promotions-new-player-bonus__call-to-action {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--gakinh79-background-dark);
    border-radius: 10px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.page-promotions-new-player-bonus__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions-new-player-bonus__benefit-card {
    background-color: var(--gakinh79-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gakinh79-border-color);
}

.page-promotions-new-player-bonus__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions-new-player-bonus__benefit-title {
    font-size: 1.5em;
    color: var(--gakinh79-primary-color);
    margin-bottom: 15px;
}

.page-promotions-new-player-bonus__benefit-text {
    font-size: 1em;
    color: var(--gakinh79-text-secondary);
    line-height: 1.6;
}

.page-promotions-new-player-bonus__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-promotions-new-player-bonus__step-card {
    background-color: var(--gakinh79-card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gakinh79-border-color);
}

.page-promotions-new-player-bonus__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--btn-gradient);
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus__step-title {
    font-size: 1.4em;
    color: var(--gakinh79-primary-color);
    margin-bottom: 10px;
}

.page-promotions-new-player-bonus__step-text {
    font-size: 0.95em;
    color: var(--gakinh79-text-secondary);
    line-height: 1.5;
}

.page-promotions-new-player-bonus__cta-container {
    text-align: center;
    margin-top: 40px;
}

.page-promotions-new-player-bonus__intro-text {
    font-size: 1.1em;
    color: var(--gakinh79-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-promotions-new-player-bonus__activation-list,
.page-promotions-new-player-bonus__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-promotions-new-player-bonus__activation-item,
.page-promotions-new-player-bonus__terms-item {
    background-color: var(--gakinh79-card-bg);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1em;
    color: var(--gakinh79-text-main);
    line-height: 1.6;
    border-left: 5px solid var(--gakinh79-primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-player-bonus__activation-item strong,
.page-promotions-new-player-bonus__terms-item strong {
    color: var(--gakinh79-gold-color);
}

.page-promotions-new-player-bonus__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gakinh79-primary-color);
    border: 2px solid var(--gakinh79-primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-promotions-new-player-bonus__btn-secondary:hover {
    background: var(--gakinh79-primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus__btn-text-link {
    color: var(--gakinh79-text-secondary);
    text-decoration: underline;
    font-size: 1em;
    transition: color 0.3s ease;
}

.page-promotions-new-player-bonus__btn-text-link:hover {
    color: var(--gakinh79-gold-color);
}

.page-promotions-new-player-bonus__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions-new-player-bonus__game-card {
    background-color: var(--gakinh79-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gakinh79-border-color);
    text-align: center;
}

.page-promotions-new-player-bonus__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-player-bonus__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions-new-player-bonus__game-title {
    font-size: 1.4em;
    color: var(--gakinh79-primary-color);
    margin: 20px 15px 10px;
}

.page-promotions-new-player-bonus__game-title a {
    color: var(--gakinh79-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions-new-player-bonus__game-title a:hover {
    color: var(--gakinh79-gold-color);
}

.page-promotions-new-player-bonus__game-description {
    font-size: 0.95em;
    color: var(--gakinh79-text-secondary);
    padding: 0 15px 20px;
    line-height: 1.5;
}

.page-promotions-new-player-bonus__support-security .page-promotions-new-player-bonus__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    background-color: var(--gakinh79-card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--gakinh79-border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-player-bonus__support-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-new-player-bonus__support-text-content {
    flex: 1;
}

.page-promotions-new-player-bonus__text-block {
    font-size: 1.1em;
    color: var(--gakinh79-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-promotions-new-player-bonus__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-new-player-bonus__faq-item {
    background-color: var(--gakinh79-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--gakinh79-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-player-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--gakinh79-primary-color);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-promotions-new-player-bonus__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-new-player-bonus__faq-qtext {
    flex-grow: 1;
    color: var(--gakinh79-text-main);
}

.page-promotions-new-player-bonus__faq-toggle {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 1.5em;
    color: var(--gakinh79-gold-color);
    transition: transform 0.3s ease;
}

.page-promotions-new-player-bonus__faq-item[open] .page-promotions-new-player-bonus__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-new-player-bonus__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--gakinh79-text-secondary);
    line-height: 1.6;
}

/* General image styling */
.page-promotions-new-player-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-new-player-bonus__hero-content {
        margin-top: -80px;
        transform: translateY(40px);
    }

    .page-promotions-new-player-bonus__main-title {
        font-size: 2.2em;
    }

    .page-promotions-new-player-bonus__hero-description {
        font-size: 1.1em;
    }

    .page-promotions-new-player-bonus__section-title {
        font-size: 2em;
    }

    .page-promotions-new-player-bonus__support-security .page-promotions-new-player-bonus__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-promotions-new-player-bonus__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .page-promotions-new-player-bonus__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions-new-player-bonus__hero-content {
        margin-top: -60px !important;
        transform: translateY(30px) !important;
        padding: 15px !important;
        max-width: 95% !important;
    }

    .page-promotions-new-player-bonus__main-title {
        font-size: 1.8em !important;
        margin-bottom: 15px !important;
    }

    .page-promotions-new-player-bonus__hero-description {
        font-size: 1em !important;
        margin-bottom: 25px !important;
    }

    /* 产品展示图区域 (通用图片在内容区，这里指所有 img) */
    .page-promotions-new-player-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 通用图片与容器 */
    .page-promotions-new-player-bonus__benefits-section,
    .page-promotions-new-player-bonus__registration-guide,
    .page-promotions-new-player-bonus__activation-guide,
    .page-promotions-new-player-bonus__terms-conditions,
    .page-promotions-new-player-bonus__game-variety,
    .page-promotions-new-player-bonus__support-security,
    .page-promotions-new-player-bonus__faq-section,
    .page-promotions-new-player-bonus__call-to-action {
        padding: 30px 15px !important;
        margin-bottom: 30px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-new-player-bonus__benefit-icon,
    .page-promotions-new-player-bonus__support-image {
        max-width: 100% !important;
    }

    /* 按钮与按钮容器 */
    .page-promotions-new-player-bonus__btn-primary,
    .page-promotions-new-player-bonus__btn-secondary,
    .page-promotions-new-player-bonus a[class*="button"],
    .page-promotions-new-player-bonus 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 20px !important;
        font-size: 1em !important;
    }

    .page-promotions-new-player-bonus__cta-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* 其他内容模块 */
    .page-promotions-new-player-bonus__section-title {
        font-size: 1.8em !important;
        margin-top: 40px !important;
        margin-bottom: 30px !important;
    }

    .page-promotions-new-player-bonus__intro-text {
        font-size: 0.95em !important;
        margin-bottom: 20px !important;
    }

    .page-promotions-new-player-bonus__benefit-title,
    .page-promotions-new-player-bonus__step-title,
    .page-promotions-new-player-bonus__game-title {
        font-size: 1.3em !important;
    }

    .page-promotions-new-player-bonus__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }

    .page-promotions-new-player-bonus__faq-answer {
        padding: 0 20px 15px !important;
    }

    .page-promotions-new-player-bonus__activation-item,
    .page-promotions-new-player-bonus__terms-item {
        font-size: 0.95em !important;
        padding: 15px 20px !important;
    }

    .page-promotions-new-player-bonus__game-image {
        height: 180px !important;
    }
}