* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: #190812;
  color: #ffffff;
  overflow: hidden;
  height: 100vh;
}

.hero {
  height: 100vh;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding-bottom: 20px;
}

.hero-content {
  padding: clamp(24px, 4vw, 48px) clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  max-width: 520px;
  width: 90%;
  backdrop-filter: blur(2px);
  background: transparent;
  border-radius: 24px;
  border: 1px solid rgba(254, 60, 179, 0.5);
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.6vw, 16px);
  align-items: center;
  text-align: center;
  margin-top: 0;
}

.main-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 52px);
  line-height: 130%;
  color: #ffffff;
  max-width: min(576px, 100%);
  text-align: center;
}

.subtitle {
  font-family: "Inter Display", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 20px);
  line-height: 140%;
  color: #ffffff;
  opacity: 0.6;
  max-width: min(405px, 100%);
}

/* ========================================
   HERO REGISTRATION FORM
   ======================================== */

.reg-form-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: min(575px, 100%);
  width: 100%;
  align-items: center;
}

.hero-reg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-input {
  width: 100%;
  height: clamp(48px, 4.6vw, 60px);
  border-radius: clamp(14px, 1.3vw, 20px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(34, 33, 38, 0.42);
  color: #fff;
  padding: 0 clamp(16px, 1.3vw, 20px);
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.hero-input:focus {
  outline: none;
  border-color: #fe3cb3;
  background: rgba(34, 33, 33, 0.82);
}

.hero-input.error {
  border-color: #e53935;
  background: rgba(229, 57, 53, 0.12);
}

.hero-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-error {
  color: #e53935;
  font-size: 13px;
  min-height: 18px;
}

.hero-cta {
  width: 100%;
  height: clamp(48px, 4.6vw, 60px);
  border-radius: clamp(14px, 1.3vw, 20px);
  background: rgba(254, 60, 179, 0.2);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.2vw, 18px);
  border: 1.5px solid #fe3cb3;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-cta:hover:not(:disabled) {
  background: rgba(254, 60, 179, 0.35);
  transform: translateY(-1px);
}

.hero-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cta-icon {
  width: 14px;
  height: 22px;
  flex-shrink: 0;
}

.hero-cta .submit-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-divider .divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-divider .divider-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.social-btn {
  width: 100%;
  height: clamp(44px, 4vw, 52px);
  border-radius: clamp(12px, 1.1vw, 16px);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.google-btn {
  background: rgba(66, 133, 244, 0.2);
  color: #ffffff;
  border: 1.5px solid #4285f4;
}

.google-btn:hover {
  background: rgba(66, 133, 244, 0.35);
  border-color: #5a95f5;
}

.discord-btn {
  background: rgba(88, 101, 242, 0.2);
  color: #ffffff;
  border: 1.5px solid #5865f2;
}

.discord-btn:hover {
  background: rgba(88, 101, 242, 0.35);
  border-color: #6b77f3;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.hero-terms {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.4;
}

.hero-right {
  display: none;
}

.background-image {
  position: fixed;
  inset: 0;
  background: url("94d5b94208b99c44c44760550c944a0ffa422b2b.webp") no-repeat
    center center;
  background-size: contain;
  z-index: 0;
}

@media (max-width: 768px) {
  .background-image {
    background-size: cover;
  }
}

/* ========================================
   PAYWALL MODAL
   ======================================== */

:root {
  --color-primary: #fe3cb3;
  --color-primary-hover: #e535a0;
  --color-error: #e53935;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --transition-fast: 0.2s;
}

.paywall-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.paywall-overlay.active {
  display: flex;
}
.paywall-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.paywall-center {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1020px;
  max-height: 100vh;
  overflow: hidden;
  padding: 16px;
}
.paywall-wrap {
  background: #0d0d0d;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.paywall-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paywall-desktop {
  display: flex;
}
.paywall-mobile {
  display: none;
}
.paywall-left {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.paywall-right {
  width: 45%;
  background: #1a1a1a;
  position: relative;
}

.paywall-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
}

.paywall-plans-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Plan card layout */
.paywall-plan {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  color: #fff;
  transition: var(--transition-fast);
  background: transparent;
}

.paywall-plan.active {
  border-color: var(--color-primary);
  background: rgba(254, 60, 179, 0.1);
}

.paywall-plan.best-choice {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

/* Ensure active state works even with best-choice class */
.paywall-plan.best-choice.active {
  border-color: var(--color-primary);
  background: rgba(254, 60, 179, 0.1);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  line-height: 1;
}

.plan-inner-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.plan-left {
  text-align: left;
}

.plan-left .plan-old-price + span {
  margin-left: 8px;
}

.plan-right {
  flex-direction: column;
  justify-content: center;
}

.plan-right .plan-old-price {
  text-decoration: none;
}

.plan-right .plan-price-cents {
  margin-left: 0;
}

.plan-duration {
  font-size: 16px;
  font-weight: 600;
  color: #fff;

  display: flex;
  align-items: center;
}

.plan-duration + div {
  margin-top: 5px;
}

.plan-discount {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;

  margin-left: 5px;
}

.plan-center {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 16px;
  min-width: 70px;
  text-align: right;
}

.plan-old-price {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.plan-right {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.plan-price-dollar {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.plan-price-cents {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.plan-price-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 4px;
  font-weight: 500;
}

.paywall-cta {
  width: 100%;
  height: 60px;
  border-radius: 16px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.paywall-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.paywall-cta:hover:not(:disabled) {
  background: var(--color-primary-hover);
  transform: scale(1.02);
}
.paywall-cta .submit-spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: paywallSpinner 0.6s linear infinite;
}
@keyframes paywallSpinner {
  to {
    transform: rotate(360deg);
  }
}

.paywall-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.paywall-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.paywall-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, #000 0%, transparent 100%);
}
.paywall-benefits-list {
  list-style: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.paywall-benefits-list .tiny-check {
  margin-right: 8px;
  color: var(--color-primary);
}
.paywall-guarantee .tiny-check {
  margin-right: 6px;
  color: var(--color-primary);
}

.paywall-skip {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
}
.paywall-guarantees {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .paywall-desktop {
    display: none;
  }
  .paywall-mobile {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }
  .paywall-image-wrap {
    height: 38vh;
    min-height: 200px;
    max-height: 320px;
    flex-shrink: 0;
    overflow: hidden;
  }
  .paywall-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
  .paywall-mobile-bottom {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
    min-height: 0;
  }
  .paywall-title {
    font-size: clamp(15px, 4vw, 18px);
  }
  .paywall-title-mobile {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2px;
  }
  .paywall-benefits-list {
    font-size: 11px;
    gap: 3px;
  }
  .paywall-image-overlay {
    padding: 16px;
  }
  .paywall-center {
    padding: 12px;
    overflow: hidden;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .paywall-wrap {
    height: auto;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .paywall-left {
    padding: 20px;
    gap: 12px;
  }
  .paywall-cta {
    height: 50px;
    font-size: 16px;
  }

  /* Mobile plan card styles */
  .paywall-plan {
    padding: 12px 16px;
    border-radius: 12px;
  }
  .plan-duration {
    font-size: 15px;
  }
  .plan-discount {
    font-size: 12px;
  }
  .plan-center {
    min-width: 60px;
    margin-right: 12px;
  }
  .plan-old-price {
    font-size: 14px;
  }
  .plan-price-dollar {
    font-size: 26px;
  }
  .plan-price-cents {
    font-size: 15px;
  }
  .plan-price-period {
    font-size: 12px;
  }
  .plan-badge {
    font-size: 9px;
    padding: 3px 8px;
    left: 16px;
    top: -9px;
  }
  .paywall-plans-area {
    gap: 10px;
  }

  .paywall-guarantees {
    gap: 16px;
    font-size: 10px;
    justify-content: center;
  }
  .paywall-skip {
    font-size: 12px;
    margin-top: 8px;
  }
  .paywall-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
}
