/* ------- BASE ------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom, #d2b78f 0%, #FAF7F4 65%);
  color: #3A3A3A;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Manrope для заголовков */
.title,
.btn-cta {
  font-family: "Manrope", sans-serif;
}

/* ------- LAYOUT ------- */

.wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.hero {
  max-width: 480px;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

/* ------- TEXT ------- */

.content {
  text-align: center;
  width: 100%;
}

.title {
  font-size: 28px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15); /* эффект объема */
}

.subtitle {
  font-size: 15px;
  color: #6F6F6F;
  line-height: 1.55;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12); /* объем текста */
}

/* ------- CTA BUTTON ------- */

.btn-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 36px;
  margin-top: 26px;
  background-color: #D6A85E;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.20); /* объем кнопки */
}

.btn-cta:hover {
  background-color: #C9984B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.btn-cta:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
}

/* ------- FOOTER ------- */

.footer {
  padding: 18px 8px;
  text-align: center;
  font-size: 12px;
  color: #6F6F6F;
  text-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* ------- TRANSFER PAGE (красивый экран редиректа) ------- */

.transfer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #d2b78f 0%, #FAF7F4 65%);
}

.transfer-center {
  background: rgba(250, 247, 244, 0.96);
  padding: 26px 22px;
  border-radius: 18px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

.transfer-title {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.transfer-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6F6F6F;
  margin-bottom: 18px;
}

/* круглый лоадер */
.transfer-loader {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid rgba(214, 168, 94, 0.25);
  border-top-color: #D6A85E;
  animation: transfer-spin 0.8s linear infinite;
}

@keyframes transfer-spin {
  to {
    transform: rotate(360deg);
  }
}

.transfer-hint {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #8a8a8a;
}

.transfer-link {
  color: #D6A85E;
  text-decoration: underline;
}


/* =====================================================
   =============== AGE CONFIRMATION MODAL ===============
   ===================================================== */

.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.age-modal.show {
  display: flex;
}

.age-box {
  background: #FAF7F4;
  padding: 26px 22px;
  border-radius: 14px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 12px 38px rgba(0,0,0,0.25); /* глубокий объем */
  transform: scale(0.85);
  opacity: 0;
  animation: modalFade 0.3s ease forwards; /* эффект появления */
}

/* Анимация появления */
@keyframes modalFade {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Заголовок модалки */
.age-box h3 {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  margin-bottom: 12px;
  color: #3A3A3A;
  text-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

/* Текст модалки */
.age-box p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  color: #6F6F6F;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.age-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.age-yes,
.age-no {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18); /* объем кнопок */
}

.age-yes {
  background: #D6A85E;
  color: #fff;
}

.age-yes:hover {
  background: #C9984B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.24);
}

.age-no {
  background: #E5D8C8;
  color: #3A3A3A;
}

.age-no:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* ===== AVATAR (закругленные углы) ===== */
.avatar-wrapper {
  width: 250px;
  height: 250px;
  margin: 40px auto 22px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25); /* глубокий объем */
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* УДАЛЕНО: весь блок BACKGROUND PARTICLES */
