body:has(.join-page) {
  background: #0b0f16;
}

body:has(.join-page) main,
body:has(.join-page) .main-content,
body:has(.join-page) .app-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #0b0f16 !important;
}

.join-logo {
  width: 180px;
  height: auto;
  margin-bottom: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.join-page {
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -24px;
  margin-bottom: -24px;
  background:
    radial-gradient(
      circle at top center,
      rgba(215, 180, 106, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, #11161f 0%, #0b0f16 100%);
  color: #fff;
}

.join-hero {
  padding: 120px 24px 90px;
  text-align: center;
}

.join-hero__content {
  width: min(100%, 820px);
  margin: 0 auto;
}

.join-kicker {
  margin-bottom: 18px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.join-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.join-subtitle {
  width: min(100%, 640px);
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.7;
}

.join-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d7b46a, #f3d489);
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(215, 180, 106, 0.22);
}

.join-section {
  padding: 0 24px 90px;
}

.join-section__content {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.join-section h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.join-section__subtitle {
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.join-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.join-feature {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.join-feature h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.join-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .join-features {
    grid-template-columns: 1fr;
  }

  .join-hero {
    padding-top: 90px;
  }

  .join-subtitle {
    font-size: 17px;
  }
}
.join-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.join-pack {
  position: relative;
  padding: 34px 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.join-pack:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.join-pack--featured {
  border-color: rgba(215, 180, 106, 0.38);
  background:
    radial-gradient(
      circle at top center,
      rgba(215, 180, 106, 0.16),
      transparent 46%
    ),
    rgba(255, 255, 255, 0.05);
}

.join-pack__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(215, 180, 106, 0.16);
  border: 1px solid rgba(215, 180, 106, 0.32);
  color: #f3d489;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-pack__credits {
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.join-pack__price {
  margin-bottom: 8px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.join-pack__validity {
  margin-bottom: 24px;
  color: #d7b46a;
  font-size: 14px;
  font-weight: 700;
}

.join-pack__text {
  min-height: 150px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.join-pack__cta {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d7b46a, #f3d489);
  color: #111;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(215, 180, 106, 0.18);
}

@media (max-width: 980px) {
  .join-packs {
    grid-template-columns: 1fr;
  }

  .join-pack__text {
    min-height: auto;
  }
}
.join-pack__list {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.join-pack__list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.join-pack__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d7b46a;
  font-weight: 900;
}
.join-pack__text {
  min-height: 140px;
}
.join-pack {
  display: flex;
  flex-direction: column;
}

.join-pack__text {
  min-height: 140px;
}

.join-pack__list {
  margin-top: auto;
}
.join-pack--selected {
  border-color: rgba(215, 180, 106, 0.72);
  box-shadow: 0 28px 70px rgba(215, 180, 106, 0.16);
}

.join-form-card {
  padding: 36px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(215, 180, 106, 0.22);
}

.join-form-kicker {
  margin-bottom: 14px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.join-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.join-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.join-form-field label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.join-form-field input {
  height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 15px;
}

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

.join-payment h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.join-payment__choices {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.join-payment__choice {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.join-cgv {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.74);
}

.join-submit {
  width: 100%;
  min-height: 62px;
  margin-top: 34px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d7b46a, #f3d489);
  color: #111;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(215, 180, 106, 0.18);
}

@media (max-width: 768px) {
  .join-form-grid {
    grid-template-columns: 1fr;
  }
}
.join-form-field--full {
  grid-column: 1 / -1;
}
.join-cgv-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7b46a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.join-cgv-link:hover {
  text-decoration: underline;
}
.join-payment__choice--active {
  border-color: rgba(215, 180, 106, 0.6);
  background: rgba(215, 180, 106, 0.12);
  color: #f3d489;
  box-shadow: 0 10px 26px rgba(215, 180, 106, 0.12);
}
.join-form-error {
  align-items: center;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fecaca;
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
  max-width: 520px;
}

.join-form-error:not([hidden]) {
  display: inline-flex;
}
.join-activation-note {
  margin: 18px 0 36px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.join-activation-note strong {
  color: #d7b46a;
  font-weight: 800;
}

.direct-join-page {
  max-width: 850px;
}

.direct-join-card {
  max-width: 820px;
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.direct-join-kicker {
  margin: 0 0 10px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.direct-join-card h1 {
  margin: 0 0 14px;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.direct-join-text {
  margin: 0 0 24px;
  max-width: 620px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.65;
}

.direct-join-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.direct-join-list span {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.direct-join-btn {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}
.direct-join-result {
  margin-top: 22px;
}

.join-link-success {
  padding: 20px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.join-link-title {
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 900;
}

.join-link-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  margin-bottom: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.join-link-copy {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.join-link-text {
  margin: 0 0 14px;
  color: #64748b;
  line-height: 1.5;
}
.join-qr-code {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.join-qr-code img,
.join-qr-code canvas {
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.pending-request-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-top: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.pending-request-main h3 {
  margin: 0 0 8px;
}

.pending-request-main p {
  margin: 4px 0;
  color: #64748b;
}

.pending-request-actions {
  display: flex;
  gap: 10px;
}

.pending-validate-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.pending-delete-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
