/* ═══════════════════════════════════════════
   PokerPay — Waitlist Page (waitlist.html) Styles
   ═══════════════════════════════════════════ */

/* ── PAGE LAYOUT ── */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

/* ── LEFT COPY ── */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

h1 em {
  font-style: normal;
  color: var(--gold);
}

.copy-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}

/* ── BENEFIT LIST ── */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.benefit-icon.gold  { background: rgba(245, 200, 66, 0.12); }
.benefit-icon.blue  { background: rgba(45, 125, 210, 0.15); }
.benefit-icon.green { background: rgba(52, 199, 123, 0.12); }

.benefit-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

.divider-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 36px 0;
}

/* ── PULL QUOTE ── */
.quote-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  max-width: 400px;
}

.quote-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  font-style: italic;
}

.quote-attr {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: 32px;
}

.form-header {
  margin-bottom: 28px;
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-sub);
}

/* ── SPOTS ROW ── */
.spots-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 10px 14px;
  background: rgba(52, 199, 123, 0.08);
  border: 1px solid rgba(52, 199, 123, 0.2);
  border-radius: 10px;
}

.spots-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.spots-text {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

/* ── FORM FIELDS ── */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 7px;
}

label .optional {
  color: var(--text-dim);
  font-weight: 400;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
  color: var(--text-dim);
}

.input-icon.at-sign {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-bright);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px 13px 40px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--border-focus);
}

input::placeholder {
  color: var(--text-dim);
}

input.at-input {
  padding-left: 32px;
}

/* ── PAYMENT CHIPS ── */
.payment-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.payment-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  font-family: inherit;
}

.chip:hover {
  border-color: rgba(77, 159, 255, 0.4);
  color: var(--text);
}

.chip.selected {
  border-color: var(--blue);
  background: rgba(45, 125, 210, 0.15);
  color: var(--blue-bright);
}

/* ── SUBMIT ── */
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: #060C1A;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 24px;
  font-family: inherit;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.5;
}

/* ── SUCCESS STATE ── */
@keyframes successFadeIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes checkCirclePop {
  0%   { transform: scale(0); opacity: 0; }
  65%  { transform: scale(1.18); }
  100% { transform: scale(1);   opacity: 1; }
}

@keyframes checkDraw {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

@keyframes successTitleIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes confettiFloat {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1.2); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--tr)) scale(0.3); opacity: 0; }
}

.success-state {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-state.show {
  animation: successFadeIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.success-state.show .success-icon {
  animation: checkCirclePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.success-state.show .check-svg polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: checkDraw 0.38s ease-out 0.38s forwards;
}

.success-state.show .success-title {
  animation: successTitleIn 0.35s ease-out 0.5s both;
}

.success-state.show .success-desc,
.success-state.show .success-handle,
.success-state.show .success-back {
  animation: successTitleIn 0.35s ease-out 0.62s both;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(52, 199, 123, 0.15);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}

.check-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.success-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.success-handle {
  display: inline-block;
  margin-top: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-bright);
}

.success-back {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFloat var(--dur) ease-out forwards;
  font-size: var(--fs);
  opacity: 1;
}

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-label {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}

.proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-left: -10px;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 13px;
  color: var(--text-sub);
}

.proof-text strong {
  color: var(--text);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 20px;
  }

  .form-card {
    position: static;
  }

  .proof-strip {
    padding: 0 20px;
    margin-bottom: 40px;
  }
}
