
/* =========================================================
   THE LAST SOUL — SEASON 02
   JOIN THE EVENT
   Minimal cinematic design / No cards
========================================================= */


/* =========================================================
   01 / MAIN SECTION & BACKGROUND
========================================================= */

.join {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #0b0a0b;
  padding: 135px 0 145px;
  text-align: left;
}

/* Background glow */

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 90% 18%,
      rgba(143, 64, 25, 0.17),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 4% 76%,
      rgba(117, 43, 20, 0.13),
      transparent 39%
    ),
    linear-gradient(
      180deg,
      #0b0a0b 0%,
      #100d0c 45%,
      #0b0a0b 100%
    );
}

/* Subtle diagonal texture */

.join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  opacity: 0.24;

  background: repeating-linear-gradient(
    115deg,
    transparent 0 105px,
    rgba(200, 172, 121, 0.025) 106px 107px,
    transparent 108px 180px
  );
}

.join .wrap {
  max-width: 1100px;
}


/* =========================================================
   02 / MAIN HEADING — WILL YOU SURVIVE?
========================================================= */

.join-heading {
  text-align: center;
  margin: 0 auto 100px;
}

.join-heading h2 {
  font-family: Cinzel, serif;
  font-size: clamp(27px, 5.4vw, 76px);
  font-weight: 500;

  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: -0.04em;

  margin: 22px 0 25px;
}

.join-heading h2 em {
  font-style: normal;
  color: var(--gold);
}

.join-heading > p:last-child {
  color: #b2a79b;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 auto;
}


/* =========================================================
   03 / INTRO — HOW TO PARTICIPATE
========================================================= */

.join-intro {
  max-width: 690px;
  text-align: center;
  margin: 0 auto 115px;
}

.join-label {
  display: block;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;

  color: var(--gold);
  margin-bottom: 18px;
}

.join-intro h3 {
  font-family: Cinzel, serif;
  font-size: clamp(27px, 3.5vw, 44px);
  font-weight: 500;

  margin: 0 0 22px;
}

.join-intro p {
  color: #b0a69a;
  font-size: 14px;
  line-height: 1.9;

  max-width: 570px;
  margin: 0 auto;
}


/* =========================================================
   04 / JOIN METHODS — PRIORITY & FREE ENTRY
========================================================= */

.join-method {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 110px;
}

.join-method-number {
  display: block;

  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);

  margin-bottom: 22px;
}

.join-method-heading h3 {
  font-family: Cinzel, serif;
  font-size: clamp(29px, 4.1vw, 52px);
  font-weight: 500;
  line-height: 1.25;

  margin: 0 0 27px;
}

.join-method-heading h3 em {
  font-style: normal;
  color: var(--gold);
}

.join-method-description {
  max-width: 720px;

  color: #b0a69a;
  font-size: 14px;
  line-height: 1.95;

  margin: 0 0 20px;
}


/* =========================================================
   05 / BENEFITS LIST
========================================================= */

.join-benefits {
  max-width: 760px;
  margin: 38px 0 70px;
}

.join-benefits p {
  position: relative;

  margin: 0;
  padding: 14px 0 14px 22px;

  border-bottom: 1px solid rgba(200, 172, 121, 0.16);

  color: #d0c6b9;
  font-size: 13px;
  line-height: 1.6;
}

.join-benefits p::before {
  content: "—";
  position: absolute;
  left: 0;

  color: var(--gold);
}


/* =========================================================
   06 / PRICING SECTION
========================================================= */

.join-pricing {
  margin-top: 65px;
}

.join-pricing-heading {
  margin-bottom: 30px;
}

.join-pricing-heading h4 {
  font-family: Cinzel, serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 500;

  margin: 0;
}


/* =========================================================
   07 / PRICING TIERS — FOUNDERS, EARLY, ETC.
========================================================= */

.join-price-period {
  margin: 38px 0 0;
}

.join-period-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;

  margin: 0 0 12px;
}

.join-period-title h5 {
  font-family: Cinzel, serif;
  font-size: 21px;
  font-weight: 500;

  color: #eee9df;
  margin: 0;
}

.join-period-title span {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #ad9d85;
}


/* =========================================================
   08 / PACKAGE ROWS — SOLO, DUO, SQUAD, TEAM
========================================================= */

.join-price-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    100px
    135px;

  gap: 20px;
  align-items: center;

  padding: 18px 0;
  border-bottom: 1px solid rgba(200, 172, 121, 0.17);

  text-align: left;
}

/* Package name */

.join-price-row h6 {
  font-family: Cinzel, serif;
  font-size: 15px;
  font-weight: 500;

  margin: 0 0 6px;
}

/* Player count */

.join-price-row p {
  color: #9f978d;
  font-size: 12px;
  line-height: 1.5;

  margin: 0;
}

/* Slots */

.join-price-row .join-slots {
  color: #b6aa9b;
  font-size: 12px;
  text-align: right;
}

/* Price */

.join-price-row strong {
  font-family: Cinzel, serif;
  font-size: 20px;
  font-weight: 500;

  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

/* Featured package */

.join-price-row.join-featured {
  border-bottom-color: rgba(200, 172, 121, 0.42);
}


/* =========================================================
   09 / CHECKOUT BUTTON
========================================================= */

.join-purchase {
  margin-top: 42px;
}

.join-purchase > span:first-child {
  display: block;

  color: #b2a69a;
  font-size: 10px;
  letter-spacing: 0.2em;

  margin-bottom: 18px;
}

.join-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;

  min-height: 54px;
  padding: 17px 28px;

  background: var(--gold);
  border: 1px solid var(--gold);
  color: #100d0b;

  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;

  transition:
    background 0.2s,
    color 0.2s;
}

.join-button:hover {
  background: transparent;
  color: var(--gold);
}

/* Disabled checkout */

.join-button-disabled {
  background: transparent;
  border-color: rgba(200, 172, 121, 0.5);
  color: var(--gold);
  cursor: default;
}


/* =========================================================
   10 / FREE ENTRY
========================================================= */

.join-free-method {
  padding-top: 95px;
  border-top: 1px solid rgba(200, 172, 121, 0.3);
}

.join-free-action {
  margin-top: 55px;
}

.join-free-action p {
  color: #b0a69a;
  font-size: 14px;
  line-height: 1.85;

  margin: 0 0 25px;
}


/* =========================================================
   11 / FAIR PLAY NOTICE
========================================================= */

.join-fairness {
  max-width: 650px;
  margin: 0 auto;
  padding-top: 50px;

  text-align: center;
  border-top: 1px solid rgba(200, 172, 121, 0.2);
}

.join-fairness span {
  display: block;

  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;

  margin-bottom: 18px;
}

.join-fairness p {
  color: #a9a29a;
  font-size: 13px;
  line-height: 1.9;
}


/* =========================================================
   12 / RESPONSIVE — TABLETS & MOBILE
========================================================= */

@media (max-width: 700px) {

  .join {
    padding: 90px 0 100px;
  }

  .join-heading {
    margin-bottom: 75px;
  }

  .join-heading h2 {
    font-size: clamp(22px, 6vw, 40px);
  }

  .join-intro {
    margin-bottom: 80px;
  }

  .join-method {
    padding-bottom: 75px;
  }

  .join-free-method {
    padding-top: 75px;
  }

  .join-method-heading h3 {
    font-size: clamp(27px, 7vw, 42px);
  }

  .join-price-row {
    grid-template-columns:
      minmax(0, 1fr)
      65px
      80px;

    gap: 9px;
  }

  .join-price-row strong {
    font-size: 17px;
  }

  .join-price-row .join-slots {
    font-size: 11px;
  }

  .join-button {
    width: 100%;
    font-size: 10px;
  }

  .join-period-title {
    flex-wrap: wrap;
  }

  .join-period-title h5 {
    font-size: 19px;
  }

}


/* =========================================================
   13 / RESPONSIVE — SMALL PHONES
========================================================= */

@media (max-width: 370px) {

  .join-heading h2 {
    font-size: 21px;
  }

  .join-price-row h6 {
    font-size: 13px;
  }

  .join-price-row strong {
    font-size: 15px;
  }

}


/* =========================================================
   14 / EVENT → JOIN
   SMOOTH CINEMATIC TRANSITION
========================================================= */

/* Remove hard background separation */

#event {
  position: relative;
  isolation: isolate;
  background: #0b0a0b;
}

/* Soft transition at the end of Event */

#event::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  left: 0;
  right: 0;
  bottom: -1px;
  height: 420px;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(35, 17, 12, 0.12) 35%,
    rgba(29, 15, 12, 0.35) 70%,
    #100c0b 100%
  );
}

/* Join begins with the same background color */

#join {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #100c0b;
}

/* Continuous cinematic background */

#join::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  inset: 0;

  background:
    radial-gradient(
      ellipse 65% 28% at 75% 0%,
      rgba(95, 38, 18, 0.16),
      transparent 75%
    ),
    radial-gradient(
      ellipse 60% 35% at 20% 55%,
      rgba(80, 31, 15, 0.09),
      transparent 80%
    ),
    linear-gradient(
      to bottom,
      #100c0b 0%,
      #0d0a0a 35%,
      #0b0a0b 100%
    );
}

/* Remove any hard top border */

#join,
#join .wrap {
  border-top: none;
}

/* Keep content above decorative background */

#join > .wrap {
  position: relative;
  z-index: 1;
}

.join-free-notice {
  margin: 35px 0 50px;
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--gold);
  max-width: 700px;
}

.join-free-notice span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.join-free-notice p {
  color: #b0a69a;
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
}

/* Ticket checkout */

.ticket-package-select,
.ticket-checkout-modal input {
  width: 100%;
  padding: 15px 18px;
  margin: 12px 0 20px;
  background: #151315;
  color: #fff;
  border: 1px solid #60534b;
  border-radius: 4px;
  font: inherit;
}

.ticket-checkout-modal {
  width: min(92vw, 480px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  background: #111013;
  color: #fff;
  border: 1px solid #6b5142;
  border-radius: 8px;
}

.ticket-checkout-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.ticket-checkout-modal h3 {
  margin: 15px 0 25px;
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 4vw, 28px);
}

.ticket-checkout-modal label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
}

.ticket-checkout-modal .join-button {
  width: 100%;
  cursor: pointer;
}

.ticket-checkout-modal .join-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-close {
  float: right;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.checkout-notice {
  margin: 12px 0 22px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}

#checkout-message {
  margin-top: 18px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
