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

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Background Video */
#bgVideo {
  position: fixed;
  top: 0;
  left: -170px;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(0.4) brightness(0.5);
}

#video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Save-App Banner */
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 12px;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.banner button {
  background-color: #2E3A59;
  border: none;
  padding: 6px 12px;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  margin-left: 10px;
}

/* Center Content */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  box-sizing: border-box;
}

.content {
  max-width: 370px;
  width: 90%;
  height: 530px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(255, 140, 255, 0.08);
  margin-top: 10vh;
  padding: 0;
  z-index: 5;
  position: sticky;
  overflow-y: auto;
}

.title {
  font-size: 44px;
  font-weight: bold;
  color: #000;
  margin-top: 20px;
}

.subtitle {
  font-size: 17px;
  line-height: 1;
  margin-top: 10px;
  margin-bottom: 40px;
  color: #555;
}

.subtitle .here {
  display: block;
  text-align: center;
  margin-top: 4px;
  font-size: 17px;
  color: #555;
}

/* Buttons */
/* Unified width */
.input-field,
#age,
.content-btn,
.forgot-password {
  width: 80%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: white;
}

/* Input fields */
.input-field {
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  color: #000;
  backdrop-filter: blur(2px);
  margin-bottom: 10px;
}

.input-field:focus {
  outline: none;
  border: 1px solid #aaa;
  box-shadow: 0 0 0 2px rgba(0, 149, 246, 0.2);
}

/* Forgot password */
.forgot-password {
  text-align: right;
  margin-top: -5px;
  margin-bottom: 20px;
}

.forgot-password a {
  font-size: 12px;
  color: #2E3A59;
  text-decoration: none;
}

/* Log In / Register / Reset buttons (unified style) */
#login-btn,
#register-btn,
#reset-submit-btn {
  padding: 10px;
  background-color: #2E3A59;
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
  border-radius: 6px;
  cursor: pointer;
}

#login-btn:hover,
#register-btn:hover,
#reset-submit-btn:hover {
  background-color: #1e2a45;
}

/* Guest button */
#guest-btn {
  padding: 12px;
  background-color: #000000;
  color: white;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Back to.. Text */
#back-to-login-1 {
  text-align: right;
  margin-top: -5px;
  margin-bottom: 20px;
  color: #000000;
}

#back-to-login-1 a {
  font-size: 12px;
  color: #2E3A59;
  text-decoration: none;
  color: #000000;
}

/* Register info */
#register-info {
  text-align: center;
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 30px;
}

/* Guest link */
.signup-text {
  text-align: center;
  display: block;
  color: #2E3A59;
  text-decoration: none;
  font-size: 0.9em;
  margin-top: 20px;
}

.form-title {
  font-weight: bold;
  text-align: left;
  margin: -15px auto 7px auto;
  padding-left: 48px;
  font-size: 16px;
  color: black;
}

/* Separator between Sign up and Guest button */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  width: 100%;
  max-width: 80%;
  margin-top: 30px;
}

.separator .line {
  flex: 1;
  height: 1px;
  background-color: #777;
}

.separator .or-text {
  padding: 0 30px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* BTC Support */
.btc-icon {
  background-color: black;
  width: 35px;
  height: 35px;
}

#btc-support-text {
  cursor: pointer;
  color: white;
  font-size: 20px;
  transition: color 0.2s ease;
  margin-top: 20px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px;
}

#btc-support-text:hover {
  transform: scale(1.02);
  color: white;
  /* removed invalid: position: center; */
}

.btc-header {
  font-size: 16px !important;
  display: flex;
  justify-content: flex-start !important;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  margin-top: 30px !important;
}

.btc-logo {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
  margin-top: -10px !important;
  border-radius: 50%;
  /* removed invalid: align-items: left; */
}

.qr-code {
  width: 150px;
  height: 150px;
}

.btc-message {
  font-size: 23px !important;
  text-align: left !important;
  font-weight: bold;
  color: white;
  margin-top: 15px;
}

.btc-disclaimer {
  color: #888888;
  font-size: 15px !important;
  margin-top: 35px !important;
  margin-bottom: 5px !important;
  text-align: left !important;
}

.btc-qr {
  color: #888888;
  font-size: 14.5px !important;
  margin-top: 20px !important;
  margin-bottom: 15px !important;
  text-align: left;
}

.btc-address {
  font-size: 12px !important;
  font-weight: bold !important;
  color: white;
  max-width: 100%;
  word-break: break-word;
  text-align: center;
  letter-spacing: 0.4px;
  line-height: 1 !important;
  margin-top: 10px !important;
}

/* Modal Window */
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.modal-content {
  background-color: #1C2539;
  color: white;
  padding: 15px 30px 15px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 370px;
  height: 530px;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px !important;
}

/* Sound button */
.sound-toggle {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  padding: 5px;
  transition: transform 0.2s ease;
}

.sound-toggle:hover {
  transform: scale(1.1);
}

/* Helper Classes */
.hidden {
  display: none !important;
}

/* Reset Email Modal (visual match to Login/Signup design) */
#reset-email-modal .modal-content {
  background: rgba(255, 255, 255, 0.85);
  padding: 35px 25px;
  border-radius: 14px;
  width: 370px;
  max-width: 100%;
  height: 530px;
  box-shadow: 0 0 40px rgba(255, 140, 255, 0.08);
  text-align: center;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#reset-email-modal .modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

#reset-email-modal .modal-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 25px;
}

#reset-email-input {
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  color: #000;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

#reset-email-submit {
  width: 100%;
  padding: 12px;
  background-color: #2E3A59;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-bottom: 16px;
}

#reset-email-submit:hover {
  background-color: #1e2a45;
}

.back-text {
  font-size: 13px;
  color: #333;
  text-align: right !important;
  margin-top: auto;
}

.back-text a {
  text-decoration: none;
  color: #2E3A59;
  font-weight: 500;
}

/* ===== Mobile Optimization for Landing Page ===== */
@media screen and (max-width: 320px) {
  .content-wrapper {
    min-height: 65vh; /* Leaves space for header and footer */
    padding-top: 45px;
    padding-bottom: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .content {
    transform: scale(0.85);
    transform-origin: top center;
    /* Shrinks entire content block */
  }

  .title {
    font-size: 32px;
    margin-top: 10px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .input-field {
    font-size: 13px;
    padding: 10px;
  }

  .save-modal,
  .support-modal {
    transform: scale(0.85);
    transform-origin: top center;
    /* Also shrink the SAVE and BITCOIN modals */
  }

  #reset-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2E3A59;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 16px;
  }
}

/* Save App modal (Instagram-style, one page) */
.save-app {
  position: relative;
}

.save-app .close {
  position: absolute;
  top: 10px;
  right: 12px;
  float: none;
}

.save-title {
  font-size: 22px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.save-sub {
  font-size: 13.5px;
  color: #cfd6e6;
  margin-bottom: 46px; /* previously 16px -> now +30px spacing */
}

/* Save steps block */
.save-steps {
  text-align: left;
  margin: 0 auto 18px auto;
  max-width: 290px;
}

.save-steps .platform {
  font-weight: 700;
  margin: 14px 0 6px 0;
  color: #ffffff;
}

.save-steps .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.save-steps .row:last-child {
  border-bottom: none;
}

.save-steps .emoji {
  font-size: 18px;
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.95;
}

.save-steps .label {
  font-size: 14px;
  color: #e9eefc;
}

.save-steps .spacer {
  height: 10px;
}

/* Save CTA (Button) */
.save-cta {
  width: 100%;
  max-width: 290px;
  margin: 14px auto 4px auto;
  border-radius: 999px;                  /* pill shape */
  padding: 12px 0;
  font-size: 15px;
  background: transparent;               /* no fill */
  border: 2px solid rgba(255, 165, 0, 0.8); /* golden border */
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.5); /* glowing edge */
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.save-cta:hover {
  background: rgba(255, 165, 0, 0.15);   /* subtle golden glow on hover */
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}
