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

:root {
    --primary-color: #0A2463;
    --secondary-color: #E34234;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

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

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    padding: 120px 20px 80px; /* Adjust padding-top for fixed header */
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #06153B 100%);
    color: var(--text-light);
    overflow: hidden;
}

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

.page-promotions-new-user-bonus__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    text-align: center;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background: #C73429;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-promotions-new-user-bonus__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background-color: var(--bg-dark);
}

.page-promotions-new-user-bonus__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions-new-user-bonus__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-promotions-new-user-bonus__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-promotions-new-user-bonus__video-link:hover .page-promotions-new-user-bonus__video-overlay {
  opacity: 1;
}

.page-promotions-new-user-bonus__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-promotions-new-user-bonus__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-promotions-new-user-bonus__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-promotions-new-user-bonus__play-now-button:hover {
  background: #C73429;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Content Section */
.page-promotions-new-user-bonus__content-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__offer-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-promotions-new-user-bonus__offer-card {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-new-user-bonus__offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__offer-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
}

.page-promotions-new-user-bonus__offer-card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__offer-card-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-promotions-new-user-bonus__step-item {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__step-description {
    font-size: 1em;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-promotions-new-user-bonus__terms-list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 20px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__terms-list li {
    margin-bottom: 10px;
}

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

.page-promotions-new-user-bonus__feature-item {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__feature-icon {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__feature-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__feature-description {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
    margin-bottom: 50px;
}

.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-question:hover {
  background: var(--bg-light);
  border-color: #d0d0d0;
}

.page-promotions-new-user-bonus__faq-question:active {
  background: #eeeeee;
}

.page-promotions-new-user-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--primary-color);
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-promotions-new-user-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--bg-light);
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 2000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-promotions-new-user-bonus__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Final CTA Section */
.page-promotions-new-user-bonus__cta-final {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(45deg, #0A2463, #001A4B);
    color: var(--text-light);
}

.page-promotions-new-user-bonus__cta-final-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
    font-size: 2.8em;
    margin-bottom: 25px;
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__paragraph {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: 2.8em;
    }
    .page-promotions-new-user-bonus__subtitle {
        font-size: 1.2em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 2.2em;
    }
    .page-promotions-new-user-bonus__offer-card-grid,
    .page-promotions-new-user-bonus__steps-container,
    .page-promotions-new-user-bonus__features-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-section {
        padding: 100px 15px 60px; /* Mobile: Adjust padding-top for fixed header */
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: 2.2em;
    }
    .page-promotions-new-user-bonus__subtitle {
        font-size: 1em;
    }
    .page-promotions-new-user-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-new-user-bonus__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Video Section Mobile */
    .page-promotions-new-user-bonus__video-section {
        padding-top: 10px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions-new-user-bonus__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-promotions-new-user-bonus__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions-new-user-bonus__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    .page-promotions-new-user-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain;
    }
    .page-promotions-new-user-bonus__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-promotions-new-user-bonus__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-new-user-bonus__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .page-promotions-new-user-bonus__content-section {
        padding: 40px 15px;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-new-user-bonus__paragraph {
        font-size: 1em;
    }
    .page-promotions-new-user-bonus__offer-card-grid,
    .page-promotions-new-user-bonus__steps-container,
    .page-promotions-new-user-bonus__features-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-new-user-bonus__offer-card,
    .page-promotions-new-user-bonus__step-item,
    .page-promotions-new-user-bonus__feature-item {
        padding: 20px;
    }
    .page-promotions-new-user-bonus__offer-card-image,
    .page-promotions-new-user-bonus__step-image,
    .page-promotions-new-user-bonus__feature-icon,
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-new-user-bonus__offer-card .page-promotions-new-user-bonus__cta-button {
        width: auto !important; /* Allow button to size naturally within card */
        max-width: 100% !important;
        margin: 0 auto; /* Center button in card */
    }

    /* FAQ Mobile */
    .page-promotions-new-user-bonus__faq-section {
        padding: 40px 15px;
    }
    .page-promotions-new-user-bonus__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions-new-user-bonus__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions-new-user-bonus__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions-new-user-bonus__faq-answer {
        padding: 0 15px;
    }
    .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
        padding: 15px !important;
    }

    .page-promotions-new-user-bonus__cta-final {
        padding: 60px 15px;
    }
    .page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__section-title {
        font-size: 2.2em;
    }
    .page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: 1.8em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 1.5em;
    }
    .page-promotions-new-user-bonus__offer-card-title,
    .page-promotions-new-user-bonus__step-title,
    .page-promotions-new-user-bonus__feature-title {
        font-size: 1.2em;
    }
    .page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__section-title {
        font-size: 1.8em;
    }
}