/* style/promotions-new-user-bonus.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --background-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-promotions-new-user-bonus {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Aligned with shared.css body padding-top */
    background-color: var(--card-bg-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-promotions-new-user-bonus__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-main-color);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-bonus__cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-user-bonus__cta-button--small {
    padding: 12px 30px;
    font-size: 16px;
}

.page-promotions-new-user-bonus__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

.page-promotions-new-user-bonus__cta-button--app {
    background: var(--primary-color);
}

.page-promotions-new-user-bonus__section {
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__section:last-of-type {
    border-bottom: none;
}

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

.page-promotions-new-user-bonus__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions-new-user-bonus p {
    font-size: 1.05em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-promotions-new-user-bonus h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

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

.page-promotions-new-user-bonus__step-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.page-promotions-new-user-bonus__step-card p {
    font-size: 1em;
    color: var(--text-main-color);
    text-align: center;
}

.page-promotions-new-user-bonus__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions-new-user-bonus__terms-list li {
    background-color: var(--card-bg-color);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.05em;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

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

.page-promotions-new-user-bonus__feature-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__feature-card h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__feature-card p {
    font-size: 1em;
    color: var(--text-main-color);
    text-align: center;
}

.page-promotions-new-user-bonus__game-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 auto 40px auto;
    max-width: 900px;
    text-align: left;
    color: var(--text-main-color);
}

.page-promotions-new-user-bonus__game-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-promotions-new-user-bonus__steps-image,
.page-promotions-new-user-bonus__games-image,
.page-promotions-new-user-bonus__faq-image,
.page-promotions-new-user-bonus__app-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

/* FAQ styles */
details.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-promotions-new-user-bonus__faq-item summary.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions-new-user-bonus__faq-item summary.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions-new-user-bonus__faq-item summary.page-promotions-new-user-bonus__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-promotions-new-user-bonus__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-promotions-new-user-bonus__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions-new-user-bonus__faq-item .page-promotions-new-user-bonus__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--secondary-color), 0.05);
  border-radius: 0 0 5px 5px;
  text-align: left;
}
details.page-promotions-new-user-bonus__faq-item .page-promotions-new-user-bonus__faq-answer p {
    color: var(--text-main-color);
    text-align: left;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .page-promotions-new-user-bonus {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-new-user-bonus__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-new-user-bonus__hero-image img {
        border-radius: 4px;
    }

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

    .page-promotions-new-user-bonus__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions-new-user-bonus__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-promotions-new-user-bonus__cta-button--small {
        padding: 10px 25px;
        font-size: 15px;
    }

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

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

    .page-promotions-new-user-bonus__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions-new-user-bonus p {
        font-size: 0.95em;
        text-align: left;
    }

    .page-promotions-new-user-bonus h3 {
        font-size: 1.3em;
    }

    .page-promotions-new-user-bonus__steps-wrapper,
    .page-promotions-new-user-bonus__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-promotions-new-user-bonus__terms-list,
    .page-promotions-new-user-bonus__game-list {
        padding-left: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-promotions-new-user-bonus__terms-list li,
    .page-promotions-new-user-bonus__game-list li {
        font-size: 0.95em;
        padding: 12px 15px;
    }

    .page-promotions-new-user-bonus__steps-image,
    .page-promotions-new-user-bonus__games-image,
    .page-promotions-new-user-bonus__faq-image,
    .page-promotions-new-user-bonus__app-image {
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    details.page-promotions-new-user-bonus__faq-item summary.page-promotions-new-user-bonus__faq-question { padding: 15px; }
    .page-promotions-new-user-bonus__faq-qtext { font-size: 15px; }
    .page-promotions-new-user-bonus__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    details.page-promotions-new-user-bonus__faq-item .page-promotions-new-user-bonus__faq-answer {
        padding: 0 15px 15px;
    }

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

/* Ensure all images and containers are responsive */
.page-promotions-new-user-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions-new-user-bonus__section,
.page-promotions-new-user-bonus__card,
.page-promotions-new-user-bonus__container,
.page-promotions-new-user-bonus__hero-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll for contained elements */
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-new-user-bonus__cta-buttons,
    .page-promotions-new-user-bonus__button-group,
    .page-promotions-new-user-bonus__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    
    .page-promotions-new-user-bonus__cta-buttons {
      display: flex;
      flex-direction: column; 
    }
}