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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --background-color-dark: #1a1a2e;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --card-bg-color: rgba(255, 255, 255, 0.1);
    --border-color-light: #e0e0e0;
}

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

.page-promotions-new-player-bonus__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    overflow: hidden;
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
}

.page-promotions-new-player-bonus__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-promotions-new-player-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7); /* Adjust brightness, not color */
}

.page-promotions-new-player-bonus__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-new-player-bonus__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-player-bonus__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

.page-promotions-new-player-bonus__hero-cta {
    margin-top: 30px;
}

.page-promotions-new-player-bonus__btn-primary,
.page-promotions-new-player-bonus__btn-secondary,
.page-promotions-new-player-bonus__btn-tertiary,
.page-promotions-new-player-bonus a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-player-bonus__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-promotions-new-player-bonus__btn-primary:hover {
    background-color: #1e8dc7;
    transform: translateY(-3px);
}

.page-promotions-new-player-bonus__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-promotions-new-player-bonus__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.page-promotions-new-player-bonus__btn-tertiary {
    background-color: var(--login-button-color);
    color: var(--secondary-color);
    border: 2px solid var(--login-button-color);
    margin: 10px;
}

.page-promotions-new-player-bonus__btn-tertiary:hover {
    background-color: #c96706;
    transform: translateY(-3px);
}

.page-promotions-new-player-bonus__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.page-promotions-new-player-bonus__dark-bg {
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
}

.page-promotions-new-player-bonus__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.page-promotions-new-player-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-promotions-new-player-bonus__content-section .page-promotions-new-player-bonus__section-title,
.page-promotions-new-player-bonus__terms-section .page-promotions-new-player-bonus__section-title,
.page-promotions-new-player-bonus__faq-section .page-promotions-new-player-bonus__section-title {
    color: var(--text-color-dark);
}

.page-promotions-new-player-bonus__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-promotions-new-player-bonus__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-new-player-bonus__text-block a:hover {
    color: #1e8dc7;
}

.page-promotions-new-player-bonus__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions-new-player-bonus__image-item {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding-bottom: 15px;
}

.page-promotions-new-player-bonus__content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-promotions-new-player-bonus__image-caption {
    font-size: 0.95em;
    color: var(--text-color-light);
    padding: 0 15px;
}

.page-promotions-new-player-bonus__how-to-claim-section {
    padding: 60px 0;
}

.page-promotions-new-player-bonus__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions-new-player-bonus__step-item {
    background-color: var(--card-bg-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-player-bonus__step-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions-new-player-bonus__step-item p {
    color: var(--text-color-light);
    font-size: 1.05em;
}

.page-promotions-new-player-bonus__step-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-new-player-bonus__step-item a:hover {
    color: #1e8dc7;
}

.page-promotions-new-player-bonus__cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-promotions-new-player-bonus__terms-section {
    padding: 60px 0;
}

.page-promotions-new-player-bonus__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    color: var(--text-color-dark);
}

.page-promotions-new-player-bonus__terms-list strong {
    color: var(--primary-color);
}

.page-promotions-new-player-bonus__terms-list a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-new-player-bonus__terms-list a:hover {
    color: #1e8dc7;
}

.page-promotions-new-player-bonus__terms-item {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-promotions-new-player-bonus__games-section {
    padding: 60px 0;
}

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

.page-promotions-new-player-bonus__card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-color-light);
}

.page-promotions-new-player-bonus__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-promotions-new-player-bonus__card-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-promotions-new-player-bonus__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-promotions-new-player-bonus__card-title a:hover {
    text-decoration: underline;
}

.page-promotions-new-player-bonus__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-promotions-new-player-bonus__card-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions-new-player-bonus__card-link:hover {
    background-color: #1e8dc7;
}

.page-promotions-new-player-bonus__faq-section {
    padding: 60px 0;
}

.page-promotions-new-player-bonus__faq-list {
    margin-top: 40px;
}

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

.page-promotions-new-player-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-promotions-new-player-bonus__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions-new-player-bonus__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-promotions-new-player-bonus__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-promotions-new-player-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-light);
}

.page-promotions-new-player-bonus__faq-item.active .page-promotions-new-player-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 20px;
}

.page-promotions-new-player-bonus__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-promotions-new-player-bonus__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-new-player-bonus__final-cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions-new-player-bonus__final-cta-section .page-promotions-new-player-bonus__section-title {
    font-size: 2.8em;
    margin-bottom: 25px;
}

.page-promotions-new-player-bonus__final-cta-section .page-promotions-new-player-bonus__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15em;
}

/* Video Section Specific Styles */
.page-promotions-new-player-bonus__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions-new-player-bonus__video-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions-new-player-bonus__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-promotions-new-player-bonus__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.page-promotions-new-player-bonus__video-caption {
    font-size: 1em;
    margin-top: 15px;
    color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-player-bonus__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-new-player-bonus__section-title {
        font-size: 2em;
    }
    .page-promotions-new-player-bonus__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-new-player-bonus__game-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-new-player-bonus {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions-new-player-bonus__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; 
    }
    .page-promotions-new-player-bonus__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-new-player-bonus__hero-description {
        font-size: 1em;
    }
    .page-promotions-new-player-bonus__section-title {
        font-size: 1.8em;
    }
    .page-promotions-new-player-bonus__container,
    .page-promotions-new-player-bonus__hero-content,
    .page-promotions-new-player-bonus__video-section,
    .page-promotions-new-player-bonus__video-container,
    .page-promotions-new-player-bonus__video-wrapper,
    .page-promotions-new-player-bonus__image-grid,
    .page-promotions-new-player-bonus__game-cards,
    .page-promotions-new-player-bonus__faq-list,
    .page-promotions-new-player-bonus__final-cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-new-player-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-new-player-bonus video,
    .page-promotions-new-player-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-new-player-bonus__video-section {
        padding-top: var(--header-offset, 120px) !important; 
    }

    .page-promotions-new-player-bonus__cta-button,
    .page-promotions-new-player-bonus__btn-primary,
    .page-promotions-new-player-bonus__btn-secondary,
    .page-promotions-new-player-bonus__btn-tertiary,
    .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;
        margin: 10px 0 !important;
    }

    .page-promotions-new-player-bonus__cta-center {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-new-player-bonus__image-grid,
    .page-promotions-new-player-bonus__game-cards {
        grid-template-columns: 1fr;
    }

    .page-promotions-new-player-bonus__card {
        padding-bottom: 15px;
    }

    .page-promotions-new-player-bonus__faq-question h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-player-bonus__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-new-player-bonus__section-title {
        font-size: 1.6em;
    }
    .page-promotions-new-player-bonus__btn-primary,
    .page-promotions-new-player-bonus__btn-secondary,
    .page-promotions-new-player-bonus__btn-tertiary,
    .page-promotions-new-player-bonus a[class*="btn"] {
        padding: 12px 20px;
    }
}