/* style/promotions-new-user-bonus.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000000;
    --bg-light: #f1f3f5;
    --card-bg: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content, considering the dark body background */
.page-promotions-new-user-bonus {
    color: var(--text-light); /* Default light text for dark body background */
    background-color: var(--bg-dark); /* Ensure sections have explicit backgrounds */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 120px; /* Desktop: Adjust for fixed header */
}

/* Responsive padding for main content */
@media (max-width: 768px) {
    .page-promotions-new-user-bonus {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
}

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

.page-promotions-new-user-bonus__section {
    padding: 60px 0;
    background-color: var(--bg-dark); /* Default dark section background */
}

.page-promotions-new-user-bonus__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.2;
}

.page-promotions-new-user-bonus__section-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-promotions-new-user-bonus__section-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-new-user-bonus__section-description a:hover {
    text-decoration: underline;
}

.page-promotions-new-user-bonus__hero-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.2)), url('[GALLERY:bg:game đánh bài đổi thưởng,promotion,banner]');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 180px; /* Desktop: Ensure content is below fixed header */
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-new-user-bonus__hero-title {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-new-user-bonus__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__hero-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-new-user-bonus__hero-description a:hover {
    text-decoration: underline;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    display: block;
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
}

.page-promotions-new-user-bonus__cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

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

.page-promotions-new-user-bonus__highlight {
    color: var(--primary-color);
}

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

.page-promotions-new-user-bonus__card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions-new-user-bonus__light-bg {
    background: #ffffff;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__card-icon {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.page-promotions-new-user-bonus__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__card.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__card-title {
    color: var(--secondary-color);
}

.page-promotions-new-user-bonus__card.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__card-text {
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__card-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-promotions-new-user-bonus__bonus-types .page-promotions-new-user-bonus__list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.page-promotions-new-user-bonus__list-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.page-promotions-new-user-bonus__list-item.page-promotions-new-user-bonus__light-bg {
    background: #ffffff;
    color: var(--text-dark);
}

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

.page-promotions-new-user-bonus__list-item.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__list-title {
    color: var(--secondary-color);
}

.page-promotions-new-user-bonus__list-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__list-item.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__list-text {
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__list-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-new-user-bonus__list-text a:hover {
    text-decoration: underline;
}

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

.page-promotions-new-user-bonus__step-card {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-promotions-new-user-bonus__step-number {
    font-size: 60px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.page-promotions-new-user-bonus__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-promotions-new-user-bonus__step-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.page-promotions-new-user-bonus__step-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-new-user-bonus__step-text a:hover {
    text-decoration: underline;
}

.page-promotions-new-user-bonus__faq-section {
    background-color: var(--bg-dark);
}

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

.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.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;
  color: var(--text-light);
  background: var(--card-bg);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--card-bg);
  border-radius: 0 0 8px 8px;
}

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

.page-promotions-new-user-bonus__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions-new-user-bonus__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  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(--secondary-color);
  transform: rotate(180deg);
}

.page-promotions-new-user-bonus__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-promotions-new-user-bonus__faq-answer p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-new-user-bonus__faq-answer p a:hover {
    text-decoration: underline;
}

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

/* Responsive design for mobile */
@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-banner {
        padding-top: 140px !important;
        padding-bottom: 40px;
    }
    
    .page-promotions-new-user-bonus__hero-title {
        font-size: 32px;
    }

    .page-promotions-new-user-bonus__hero-description {
        font-size: 16px;
    }

    .page-promotions-new-user-bonus__cta-button {
        padding: 15px 30px;
        font-size: 18px;
    }

    .page-promotions-new-user-bonus__section-title {
        font-size: 28px;
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__section-description {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .page-promotions-new-user-bonus__section {
        padding: 40px 0;
    }

    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__advantages .page-promotions-new-user-bonus__grid,
    .page-promotions-new-user-bonus__how-to-claim .page-promotions-new-user-bonus__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__list-item,
    .page-promotions-new-user-bonus__step-card {
        padding: 20px;
    }

    .page-promotions-new-user-bonus__card-title,
    .page-promotions-new-user-bonus__list-title,
    .page-promotions-new-user-bonus__step-title {
        font-size: 20px;
    }

    .page-promotions-new-user-bonus__card-icon {
        width: 100px;
    }

    .page-promotions-new-user-bonus__card-text,
    .page-promotions-new-user-bonus__list-text,
    .page-promotions-new-user-bonus__step-text {
        font-size: 15px;
    }
    
    .page-promotions-new-user-bonus__faq-question {
        padding: 15px;
    }

    .page-promotions-new-user-bonus__faq-question h3 {
        font-size: 16px;
    }

    .page-promotions-new-user-bonus__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

    .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
        padding: 15px !important;
    }

    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions-new-user-bonus__hero-image-wrapper,
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__list-item,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}