/* ==========================================================================
   Register Page Styles
   ========================================================================== */

.register-page {
  background: black;
}

/* ==========================================================================
   Header Section
   ========================================================================== */

.register-header {
  padding: 120px 0 50px 0;
  background: black;

  .title-colored {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #ff2e00 -20.72%, #b526bc 85.73%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .subtitle {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.register-hero {
  padding: 0 0 20px;
  background: black;

  .container {
    max-width: 1400px;
  }

  .hero-wrapper {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }

  .hero-gallery {
    flex: 1;
    min-height: 480px;
    max-height: 450px;

    .gallery-image {
      width: 101%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  .hero-card {
    width: 45%;
    flex-shrink: 0;
    background: white;
    display: flex;
    flex-direction: column;
  }

  .hero-card-header {
    background: linear-gradient(180deg, #ff2e00 0%, #b526bc 100%);
    padding: 24px 42px;
  }

  .hero-card-title {
    color: white;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

  .hero-card-body {
    padding: 10px 42px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .hero-pricing {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: var(--color-secondary-purple);

    .price-old {
      text-decoration: line-through;
      text-decoration-color: var(--color-price-old);
    }
  }

  .hero-items {
    list-style: none;
    padding: 0;
    flex-grow: 1;
  }

  .hero-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 18px;
    font-weight: 200;
    color: var(--color-dark-black);

    .check-icon {
      color: var(--color-dark-black);
      flex-shrink: 0;
      margin-top: 2px;
      display: inline-flex;
      align-items: center;

      svg {
        display: block;
      }
    }
  }

  .hero-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-primary-blue);
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;

    &:hover {
      background: #2a2ae6;
      color: white;
    }
  }
}

/* ==========================================================================
   Protectors Passes Cards (First Row)
   ========================================================================== */

.protectors-passes-cards {
  padding: 0 0 20px;
  background: black;

  hr {
    display: none;
  }

  .container {
    max-width: 1400px;
  }

  /* White background wrapper around all cards */
  .cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 24px;
  }

  .pp-card {
    padding: 28px 24px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
  }

  /* Featured card (Protectors Passes - left card, no background) */
  .pp-card--featured {
    background: transparent;

    .pp-card-title {
      color: var(--color-secondary-purple);
      font-size: 40px;
      font-weight: 800;
      text-transform: uppercase;
      line-height: 1;
      margin-bottom: 28px;
      letter-spacing: -0.5px;
    }

    .pp-card-list {
      flex-grow: 1;
    }

    .pp-card-item {
      color: #1a0a5c;

      .check-icon {
        color: #5b3df8;
      }
    }

    .pp-card-additional {
      color: var(--color-secondary-purple);
      font-size: 20px;
      line-height: 28px;

      a {
        color: var(--color-secondary-purple);
        text-decoration: underline;
        font-weight: 700;
        font-style: normal;
        display: block;
        margin-top: 16px;

        &:hover {
          color: black;
        }
      }
    }
  }

  /* Purple/Blue cards (Creators, Distributors) */
  .pp-card--white {
    background: #5b3df8;
    border-radius: 12px;
    margin: 0 12px;
    color: white;

    .pp-card-title {
      font-size: 40px;
      font-weight: 800;
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 4px;
      color: white;
      letter-spacing: 2px;
    }

    .pp-card-subtitle {
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      color: white;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pp-card-price {
      font-size: 22px;
      font-weight: 600;
      text-align: center;
      color: white;
      text-transform: uppercase;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }

    hr {
      display: block;
      border: none;
      border-top: 2px solid white;
      margin: 0 0 18px 0;
      opacity: 1;
    }

    .pp-card-item {
      color: white;

      .check-icon {
        color: white;
      }
    }

    .pp-card-button {
      margin: auto auto 0 auto;
      background: transparent;
      border: 2px solid white;
      color: white;
      border-radius: 50px;
      padding: 12px 32px;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      min-width: 200px;

      &:hover {
        background: white;
        color: #5b3df8;
      }
    }
  }

  .pp-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
  }

  .pp-card-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 16px;
    line-height: normal;
    font-weight: 200;

    .check-icon {
      flex-shrink: 0;
      margin-top: 2px;
      display: inline-flex;
      align-items: center;

      svg {
        display: block;
      }
    }
  }
}

/* ==========================================================================
   Register Cards (Second Row)
   ========================================================================== */

.register-cards {
  padding: 0 0 20px;
  background: black;

  hr {
    display: none;
  }

  .container {
    max-width: 1400px;
  }

  /* Black background wrapper around all cards */
  .cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: black;
    border-radius: 16px;
    padding: 24px;
    border: 3px solid white;
  }

  .reg-card {
    min-height: 400px;
    padding: 0 20px;

    &:last-child {
      border-right: none;
    }
  }

  .reg-card-inner {
    background: transparent;
    padding: 14px 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
  }

  /* Card header typography - gradient title */
  .reg-card-top {
    background: white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1;
  }

  .reg-card-type {
    background: linear-gradient(180deg, #ff2e00 0%, #b526bc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2px;
    line-height: 22px;
    letter-spacing: 0.5px;
  }

  .reg-card-title {
    background: linear-gradient(180deg, #ff2e00 0%, #b526bc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
  }

  .reg-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
  }

  .reg-card-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 200;
    color: white;

    .check-icon {
      color: #e91e8c;
      flex-shrink: 0;
      margin-top: 6px;
      display: inline-flex;
      align-items: center;

      svg {
        display: block;
      }
    }
  }

  .reg-card-button {
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: auto auto 0 auto;
    min-width: 200px;

    &:hover {
      background: white;
      color: black;
    }
  }
}

/* ==========================================================================
   VIP Discount Section
   ========================================================================== */

.vip-discount {
  padding: 0 0 20px 0;

  .container {
    max-width: 1400px;
  }

  .vip-content {
    border: 2px solid var(--color-primary-blue);
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;

    p {
      margin: 0;
    }

    a {
      color: white;
      text-decoration: underline;
      font-weight: 600;

      &:hover {
        color: rgba(255, 255, 255, 0.8);
      }
    }
  }
}

/* ==========================================================================
   Update Registration Section
   ========================================================================== */

.update-registration {
  padding: 0;

  .container {
    max-width: 1400px;
  }

  .ur-wrapper {
    background: var(--color-secondary-blue);
    border: 2px solid var(--color-secondary-blue);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .ur-text {
    flex: 1;
  }

  .ur-title {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
  }

  .ur-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
  }

  .button-secondary {
    color: var(--color-secondary-blue);
    letter-spacing: 1.4px;
    padding: 12px 32px;
    transition: all 0.3s ease;

    &:hover {
      background: var(--color-secondary-blue);
      border: 2px solid white;
      color: white;
    }
  }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.register-faq {
  padding: 50px 0;
  background: black;

  .container {
    max-width: 1400px;
  }

  .faq-wrapper {
    display: flex;
    gap: 80px;
  }

  .faq-header {
    flex: 0 0 45%;
  }

  .faq-title {
    color: white;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px 0;
    text-transform: uppercase;
  }

  .faq-subtitle {
    color: #aeaeae;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    max-width: 400px;
    margin: 0;
  }

  .faq-content {
    flex: 1;
  }

  .faq-list {
    border-top: 1px solid var(--color-gray-2);
  }

  .faq-item {
    border-bottom: 1px solid var(--color-gray-2);

    &.active {
      .faq-icon {
        transform: rotate(180deg);
      }

      .faq-answer {
        max-height: 500px;
        padding-bottom: 20px;
      }
    }
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
  }

  .faq-question-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
  }

  .faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    svg {
      display: block;
    }
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;

    p {
      margin: 0 0 12px 0;
      color: white;
      line-height: normal;

      a {
        color: white;
        font-weight: 700;
      }
    }
  }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
  .register-hero {
    .hero-wrapper {
      flex-direction: column;
    }

    .hero-gallery {
      min-height: 300px;
    }

    .hero-card {
      width: 100%;
    }
  }

  .protectors-passes-cards .cards-row {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
  }

  .protectors-passes-cards .pp-card {
    padding: 20px 16px;
  }

  .protectors-passes-cards .pp-card--white {
    margin: 0 8px;
  }

  .register-cards .cards-row {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
  }

  .register-cards .reg-card {
    padding: 0 12px;
    border-right: 1px solid #333;

    &:last-child {
      border-right: none;
    }
  }

  .register-faq {
    .faq-wrapper {
      flex-direction: column;
      gap: 40px;
    }

    .faq-header {
      flex: none;
    }
  }
}

@media (max-width: 991px) {
  .register-header {
    padding: 140px 0 80px;
    position: relative;
    z-index: 2;
    background: black;

    .title-colored {
      font-size: 42px;
      line-height: 1.1;
      letter-spacing: 1.26px;
      text-shadow: 5px 5px 20px rgba(181, 38, 188, 0.3);
    }

    .subtitle {
      font-size: 16px;
      letter-spacing: 3px;
      line-height: 26px;
    }
  }

  .register-hero {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 20px;
    overflow: visible;

    .container {
      position: relative;
      padding: 0 22px;
    }

    .hero-wrapper {
      display: flex;
      flex-direction: column;
      border-radius: 0;
      overflow: visible;
      position: relative;
      padding-top: 80px;
    }

    /* Image positioned behind the card with angled clip */
    .hero-gallery {
      position: absolute;
      top: -60px;
      left: -22px;
      right: -22px;
      height: 280px;
      z-index: 0;
      clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);

      .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
      }
    }

    .hero-card {
      width: 100%;
      position: relative;
      z-index: 1;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 5px 5px 20px rgba(181, 38, 188, 0.3);
      background: white;
    }

    .hero-card-header {
      padding: 24px;
      background: linear-gradient(90deg, #ff2e00 20.72%, #b526bc 85.73%);
    }

    .hero-card-title {
      font-size: 32px;
      text-align: center;
      line-height: 30px;
    }

    .hero-card-body {
      padding: 24px 30px 28px;
    }

    .hero-pricing {
      margin: 0 auto 16px;
      justify-content: center;
      font-size: 32px;
      gap: 16px;

      .price-old {
        position: relative;
      }
    }

    .hero-item {
      align-items: flex-start;
      padding: 10px 0;
      font-size: 16px;
      line-height: 22px;

      .check-icon {
        margin-top: 2px;
      }
    }

    .hero-button {
      margin-top: 20px;
      background: #2c8cff;
      border-radius: 100px;
      padding: 11px 33px;
      font-size: 16px;
      letter-spacing: 1.4px;
      box-shadow: 0 10px 16px rgba(0, 0, 0, 0.16);
    }

    .button-tertiary {
      display: block;
      width: 100%;
      margin: 20px auto 0;
      text-align: center;
      background: #543bf9;
      color: white;
      border-radius: 100px;
      padding: 11px 33px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      text-decoration: none;
      box-shadow: 0 10px 16px rgba(0, 0, 0, 0.16);
      border: none;

      &:hover {
        background: #1a7ae6;
        color: white;
      }
    }
  }

  .protectors-passes-cards {
    padding: 0 0 20px;

    .container {
      padding: 0 22px;
    }

    .cards-row {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 40px 16px;
      border-radius: 8px;
    }

    .pp-card {
      min-height: auto;
      padding: 0;
    }

    /* Featured card - Protectors Passes intro */
    .pp-card--featured {
      border-right: none;
      border-bottom: none;
      padding: 0 0 16px;

      .pp-card-list {
        display: none;
      }
    }

    .pp-card--featured .pp-card-title {
      text-align: center;
      font-size: 32px;
      line-height: 26px;
      margin-bottom: 16px;
      max-width: 80%;
      margin: auto auto 20px auto;
    }

    .pp-card-additional {
      text-align: center;
      font-size: 16px;
      line-height: 22px;
      max-width: 80%;
      margin: auto;

      a {
        display: inline;
        margin-top: 0;
      }
    }

    /* Purple cards - full width stacked */
    .pp-card--white {
      margin: 0;
      padding: 24px 18px;
      border-radius: 8px;
    }

    .pp-card--white .pp-card-title {
      font-size: 40px;
      letter-spacing: 0;
      margin-bottom: 16px;
      line-height: 25px;
    }

    .pp-card--white .pp-card-subtitle {
      display: none;
    }

    .pp-card--white .pp-card-price {
      font-size: 22px;
      margin-bottom: 16px;
      line-height: 25px;
    }

    .pp-card--white hr {
      margin: 0 0 16px 0;
      border-top-width: 2px;
    }

    .pp-card--white .pp-card-list {
      margin-bottom: 24px;
    }

    .pp-card--white .pp-card-item {
      font-size: 18px;
      padding: 5px 0;
      gap: 10px;
      line-height: 22px;
    }

    .pp-card--white .pp-card-button {
      width: auto;
      padding: 12px 40px;
      font-size: 16px;
      letter-spacing: 1.4px;
      min-width: 222px;
    }
  }

  .register-cards {
    padding: 0 0 20px;

    .container {
      padding: 0 22px;
    }

    .cards-row {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 24px 30px;
      border-radius: 8px;
    }

    .reg-card {
      min-height: auto;
      padding: 24px 0;
      border-right: none;
      border-bottom: 2px solid white;

      &:first-child {
        padding-top: 0;
      }

      &:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
    }

    .reg-card-inner {
      padding: 0;
    }

    .reg-card-top {
      font-size: 28px;
      margin-bottom: 4px;
      line-height: 1;
    }

    .reg-card-type {
      font-size: 13px;
      line-height: 22px;
      margin-bottom: 4px;
    }

    .reg-card-title {
      font-size: 22px;
      line-height: 25px;
      margin-bottom: 16px;
    }

    .reg-card-list {
      margin-bottom: 50px;
    }

    .reg-card-item {
      font-size: 18px;
      padding: 5px 0;
      line-height: 22px;
    }

    .reg-card-button {
      width: auto;
      padding: 12px 40px;
      font-size: 16px;
      letter-spacing: 1.4px;
      min-width: 222px;
    }
  }

  .vip-discount {
    padding: 0 0 20px;

    .container {
      padding: 0 22px;
    }

    .vip-content {
      border: 2px solid #3332ff;
      border-radius: 8px;
      padding: 30px 24px;
      font-size: 18px;
      line-height: 25px;
    }
  }

  .update-registration {
    .container {
      padding: 0 22px;
    }

    .ur-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 16px;
      padding: 30px 24px;
      border-radius: 8px;

      .ur-title {
        font-size: 26px;
        line-height: 24px;
        margin-bottom: 20px;
      }

      .ur-subtitle {
        margin-top: 8px;
        font-size: 18px;
        line-height: normal;
        margin-bottom: 20px;
      }

      .button-secondary {
        width: auto;
        display: inline-block;
        padding: 11px 33px;
        border-radius: 100px;
        background: white;
        border: none;
        color: var(--color-secondary-blue);
        font-size: 16px;
        letter-spacing: 1.4px;

        &:hover {
          background: #1a7ae6;
          color: white;
        }
      }
    }
  }

  .register-faq {
    padding: 40px 0;

    .container {
      padding: 0 22px;
    }

    .faq-wrapper {
      flex-direction: column;
      gap: 24px;
    }

    .faq-header {
      flex: none;
      text-align: left;
    }

    .faq-title {
      font-size: 28px;
      line-height: normal;
      text-transform: uppercase;
    }

    .faq-subtitle {
      font-size: 16px;
      line-height: 25px;
    }

    .faq-question-text {
      font-size: 14px;
      line-height: 20px;
    }

    .faq-answer p {
      font-size: 14px;
    }
  }
}
