/* ============================================
   REGISTER.CSS — GLAMOUR LUXURY MODALS
   Includes: Register Modal + Login Premium
   ============================================ */

/* REGISTER MODAL — LUXURY OVERLAY */
.register {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 16, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.register.active {
  opacity: 1;
  pointer-events: all;
}

.register-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  color: white;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
}

.register.active .register-inner {
  transform: translateY(0);
}

/* LEFT SIDE CONTENT */
.eyebrow {
  color: #fed65b;
  letter-spacing: 4px;
  font-size: 11px;
  font-weight: 900;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.gold { color: #fed65b; }

.s-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  align-items: flex-start;
}

.feature-item h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.feature-item p  { font-size: 14px; opacity: 0.6; line-height: 1.6; }

.price-section {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.price-display {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
}

/* RIGHT SIDE FORM */
.form-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 45px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.input-field { margin-bottom: 22px; }

.input-field label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 10px;
  opacity: 0.5;
  letter-spacing: 1px;
  color: #fed65b;
}

.form-box input {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
  box-sizing: border-box;
}

.form-box input:focus {
  outline: none;
  border-color: #fed65b;
  background: rgba(255, 255, 255, 0.08);
}

.form-box input::placeholder {
  color: rgba(255,255,255,0.2);
}

/* Scope register btn-primary to form only — stops hero button bleed */
.form-box .btn-primary {
  width: 100%;
  padding: 20px;
  background: #fed65b;
  color: #051410;
  border: none;
  border-radius: 16px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-box .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(254, 214, 91, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(254, 214, 91, 0.25);
}

/* Payment Step Styles */
.pay-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 0.8;
}

.pay-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.pay-row.total {
  font-weight: 800;
  font-size: 18px;
  opacity: 1;
}

.animate-in {
  animation: slideUp 0.5s ease forwards;
}

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

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
  z-index: 10;
}

.close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* SUCCESS SCREEN */
.success-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.glam-key-display {
  box-shadow: 0 0 20px rgba(254, 214, 91, 0.1);
  animation: pulseKey 2s infinite;
}

@keyframes pulseKey {
  0%   { transform: scale(1);    box-shadow: 0 0 20px rgba(254, 214, 91, 0.1); }
  50%  { transform: scale(1.02); box-shadow: 0 0 40px rgba(254, 214, 91, 0.2); }
  100% { transform: scale(1);    box-shadow: 0 0 20px rgba(254, 214, 91, 0.1); }
}

.success-card .btn-primary {
  background: white;
  color: black;
}

.success-card .btn-primary:hover {
  background: #fed65b;
  color: #051410;
}

/* REGISTER MOBILE */
@media (max-width: 900px) {
  .register-inner  { grid-template-columns: 1fr; gap: 40px; }
  .register-left   { display: none; }
  .register        { padding: 20px; }
}


/* ============================================
   LOGIN PREMIUM UPGRADES
   ============================================ */

#loginModal {
  background: rgba(3, 10, 8, 0.97);
}

#loginModal .register-inner {
  align-items: center;
}

/* Ambient background orbs */
.login-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.login-orb--gold {
  width: 500px;
  height: 500px;
  background: #fed65b;
  top: -100px;
  right: -100px;
  animation: loginOrbDrift 8s ease-in-out infinite alternate;
}

.login-orb--teal {
  width: 400px;
  height: 400px;
  background: #00e5c8;
  bottom: -100px;
  left: -80px;
  animation: loginOrbDrift 10s ease-in-out infinite alternate-reverse;
}

@keyframes loginOrbDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

.login-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* LEFT PANEL */
.login-inner {
  position: relative;
  z-index: 2;
  gap: 100px;
}

.login-left-sub {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 340px;
  font-family: 'Manrope', sans-serif;
}

.login-trust-items {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.login-trust-item:hover .login-trust-icon {
  background: rgba(254,214,91,0.08);
  border-color: rgba(254,214,91,0.2);
}

.login-trust-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.login-trust-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-family: 'Manrope', sans-serif;
}

.login-version-tag {
  margin-top: 60px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.15);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* FORM BOX UPGRADES */
.login-form-box {
  position: relative;
}

.login-form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.login-form-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(254,214,91,0.08);
  border: 1px solid rgba(254,214,91,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fed65b;
  flex-shrink: 0;
}

.login-form-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}

.login-form-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
  font-family: 'Manrope', sans-serif;
}

.login-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

/* INPUT WITH ICON */
.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 18px;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.login-input-wrap.focused .login-input-icon {
  color: #fed65b;
}

.login-input-wrap input {
  padding-left: 48px !important;
  padding-right: 48px !important;
}

.login-input-wrap.focused input {
  border-color: rgba(254,214,91,0.5) !important;
  box-shadow: 0 0 0 3px rgba(254,214,91,0.06);
}

.login-pass-toggle {
  position: absolute;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  z-index: 2;
}

.login-pass-toggle:hover {
  color: rgba(255,255,255,0.7);
}

/* LABEL ROW */
.login-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.login-label-row label {
  margin-bottom: 0 !important;
}

.login-forgot {
  font-size: 10px;
  font-weight: 700;
  color: rgba(254,214,91,0.6);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.login-forgot:hover {
  color: #fed65b;
}

/* SUBMIT BUTTON */
.login-submit-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-submit-btn svg {
  transition: transform 0.3s ease;
}

.login-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Shake on empty submit */
@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}

.login-btn-shake {
  animation: loginShake 0.45s ease;
  border: 1px solid rgba(255, 80, 80, 0.4) !important;
}

/* SIGNUP PROMPT */
.login-signup-prompt {
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
  color: rgba(255,255,255,0.4);
  font-family: 'Manrope', sans-serif;
}

.login-signup-link {
  font-weight: 800;
  cursor: pointer;
  margin-left: 6px;
  transition: opacity 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.login-signup-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* LOGIN MOBILE */
@media (max-width: 900px) {
  #loginModal .register-left  { display: none; }
  #loginModal .register-inner { grid-template-columns: 1fr; }
}

/* Hover helpers */
.gold.open-register:hover,
.gold.open-login:hover {
  text-decoration: underline;
  opacity: 1;
}
/* ── REGISTER FORM PREMIUM HEADER ── */
.reg-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.reg-form-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(254,214,91,0.08);
  border: 1px solid rgba(254,214,91,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reg-form-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}
.reg-form-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-family: 'Manrope', sans-serif;
  margin-top: 3px;
}

/* ── MOBILE PRICE STRIP (hidden on desktop) ── */
.reg-mobile-price {
  display: none;
  background: rgba(254,214,91,0.04);
  border: 1px solid rgba(254,214,91,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.reg-mobile-price-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  font-family: 'Manrope', sans-serif;
  margin-bottom: 4px;
}
.reg-mobile-price-amount {
  font-size: 22px;
  font-weight: 900;
  color: #fed65b;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}
.reg-mobile-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-family: 'Manrope', sans-serif;
}

/* Phone select dark style */
#reg-phone-code option {
  background: #051410;
  color: white;
}

/* ── Show mobile price strip on mobile only ── */
@media (max-width: 900px) {
  .reg-mobile-price { display: flex; }
  .register { padding: 16px; align-items: flex-start; overflow-y: auto; }
  .form-box { padding: 24px 20px; border-radius: 24px; }
  .reg-form-title { font-size: 16px; }
}
/* ── MODAL SCROLLABILITY FIX ── */
.register {
  overflow-y: auto !important;
  align-items: flex-start !important;
  padding: 40px !important;
}

.register-inner {
  margin: auto;
  padding: 20px 0;
}

@media (max-width: 900px) {
  .register {
    padding: 16px !important;
  }

  .register-inner {
    padding: 60px 0 40px;
  }

  /* Login mobile — show a mini trust strip instead of full left panel */
  #loginModal .login-left { display: none; }
  #loginModal .register-inner { grid-template-columns: 1fr; }

  .login-form-box {
    position: relative;
  }

  /* Mini trust strip for login on mobile */
  .login-mobile-trust {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
  }

  .login-mobile-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    font-family: 'Manrope', sans-serif;
    text-align: center;
  }

  .login-mobile-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}/* ── TOUCH SCROLL FIX ── */
.register {
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain;
}

.register-inner {
  -webkit-overflow-scrolling: touch;
}
/* ── BACKGROUND LOGO WATERMARK ── */
.register::before {
  content: 'G';
  position: fixed;
  bottom: -80px;
  right: -40px;
  font-size: 420px;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(254, 214, 91, 0.03);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
}
/* ── CENTER APPLY BUTTON TEXT ── */
.form-box .btn-primary {
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ── MOBILE SCROLL COMPLETE FIX ── */
@media (max-width: 900px) {
  .register {
    position: fixed !important;
    inset: 0 !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    padding: 60px 16px 40px !important;
  }

  .register.active {
    display: block !important;
  }

  .register-inner {
    min-height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    width: 100% !important;
  }

  .register.active .register-inner {
    transform: none !important;
  }
}
/* ── INNER FORM SCROLL ON TOUCH ── */
.form-box {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}
/* ── LOGIN MOBILE TRUST STRIP ── */
.login-mobile-trust {
  display: none;
}

@media (max-width: 900px) {
  .login-mobile-trust {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
  }

  .login-mobile-trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: rgba(255,255,255,0.3) !important;
    font-family: 'Manrope', sans-serif !important;
  }

  .login-mobile-trust-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}