/* style/promotions-welcome-bonus.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #000000; /* Body background from shared.css */
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
}

.page-promotions-welcome-bonus {
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-promotions-welcome-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); /* Ensure content is below fixed header */
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent background */
    min-height: 60vh;
    overflow: hidden;
}

.page-promotions-welcome-bonus__hero-content {
    max-width: 900px;
    z-index: 2;
    margin-bottom: 30px;
}

.page-promotions-welcome-bonus__hero-title {
    font-size: 3.5em;
    color: var(--text-color-dark-bg);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-welcome-bonus__hero-description {
    font-size: 1.3em;
    color: var(--text-color-dark-bg);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-welcome-bonus__btn-primary,
.page-promotions-welcome-bonus__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-promotions-welcome-bonus__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-promotions-welcome-bonus__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

.page-promotions-welcome-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-promotions-welcome-bonus__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions-welcome-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-promotions-welcome-bonus__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions-welcome-bonus__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color-dark-bg);
    text-align: left;
}

/* Video Section */
.page-promotions-welcome-bonus__video-section {
    background-color: rgba(38, 169, 224, 0.05);
}

.page-promotions-welcome-bonus__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 30px;
    border-radius: 10px;
}

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

.page-promotions-welcome-bonus__video-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color-dark-bg);
    margin-bottom: 30px;
}

.page-promotions-welcome-bonus__video-cta {
    margin-top: 20px;
}

/* Bonus Types Section */
.page-promotions-welcome-bonus__bonus-types {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions-welcome-bonus__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-promotions-welcome-bonus__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-welcome-bonus__card-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: left;
}

/* Terms & Conditions Section */
.page-promotions-welcome-bonus__terms-conditions {
    background-color: rgba(38, 169, 224, 0.1);
}

.page-promotions-welcome-bonus__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

.page-promotions-welcome-bonus__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* How to Claim Section */
.page-promotions-welcome-bonus__how-to-claim {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions-welcome-bonus__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    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;
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__step-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-promotions-welcome-bonus__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-welcome-bonus__step-text {
    font-size: 1em;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-promotions-welcome-bonus__why-choose-us {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__why-choose-us .page-promotions-welcome-bonus__section-title {
    color: var(--secondary-color);
}

.page-promotions-welcome-bonus__why-choose-us .page-promotions-welcome-bonus__section-title::after {
    background-color: var(--secondary-color);
}

.page-promotions-welcome-bonus__why-choose-us .page-promotions-welcome-bonus__text-block {
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-welcome-bonus__feature-card {
    background-color: rgba(255, 255, 255, 0.15);
    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;
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-promotions-welcome-bonus__feature-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions-welcome-bonus__feature-text {
    font-size: 1em;
    line-height: 1.7;
}

/* FAQ Section */
.page-promotions-welcome-bonus__faq-section {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions-welcome-bonus__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-promotions-welcome-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-welcome-bonus__faq-title {
    margin: 0;
    color: inherit;
}

.page-promotions-welcome-bonus__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-promotions-welcome-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-dark-bg);
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px;
}

.page-promotions-welcome-bonus__faq-text {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* CTA Section */
.page-promotions-welcome-bonus__cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    padding: 80px 20px;
}

.page-promotions-welcome-bonus__cta-section .page-promotions-welcome-bonus__section-title {
    color: var(--secondary-color);
}
}