/* ===== verify_activated.css — стили страницы подтверждения почты ===== */

/* ---- БАЗОВЫЕ СТИЛИ ---- */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- СТРАНИЦА ---- */
.activated-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, #0f1f18 0%, #0a0f13 70%);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* ---- CANVAS КОНФЕТТИ ---- */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---- КАРТОЧКА ---- */
.activated-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, #121a20 0%, #0d151a 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 32px;
  padding: 48px 40px 40px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(52, 211, 153, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: cardAppear 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardAppear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- ЛОГОТИП FREE MODELS ---- */
.activated-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-decoration: none;
  animation: textFadeIn 0.6s 0.1s both;
  transition: opacity 0.3s ease;
}

.activated-logo:hover {
  opacity: 0.8;
}

.activated-logo .logo-icon {
  font-size: 28px;
  color: #4f8aaa;
}

.activated-logo .logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #eef4f8;
  letter-spacing: -0.5px;
}

.activated-logo .logo-text span {
  color: #4f8aaa;
}

/* ---- ИКОНКА-ГАЛОЧКА ---- */
.activated-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPulse 2s ease-in-out infinite;
}

.activated-icon i {
  font-size: 36px;
  background: linear-gradient(135deg, #34d399, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(34, 197, 94, 0.3));
}

@keyframes checkPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

/* ---- ЗАГОЛОВОК ---- */
.activated-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #34d399, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px;
  animation: textFadeIn 0.8s 0.2s both;
}

.activated-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #9db6c6;
  margin: 0 0 16px;
  animation: textFadeIn 0.8s 0.3s both;
}

.activated-subtitle strong {
  color: #22c55e;
  font-weight: 700;
}

.activated-description {
  font-size: 14px;
  color: #718fa1;
  line-height: 1.65;
  margin: 0 0 28px;
  animation: textFadeIn 0.8s 0.4s both;
}

@keyframes textFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- КНОПКИ ---- */
.activated-btn-home,
.activated-btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.activated-btn-home {
  background: linear-gradient(135deg, #34d399, #22c55e);
  color: #0a0f13;
  border: none;
  animation: textFadeIn 0.8s 0.6s both;
}

.activated-btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.35);
}

.activated-btn-profile {
  display: inline-flex;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9db6c6;
  animation: textFadeIn 0.8s 0.7s both;
}

.activated-btn-profile:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(52, 211, 153, 0.4);
  color: #dce9f2;
  transform: translateY(-1px);
}

/* ---- ПОДПИСЬ ---- */
.activated-footer {
  margin-top: 24px;
  font-size: 13px;
  color: #4f6a7a;
  animation: textFadeIn 0.8s 0.8s both;
}

.activated-footer .heart {
  color: #22c55e;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
}

/* ---- АДАПТИВНОСТЬ ---- */
@media (max-width: 600px) {
  .activated-page {
    padding: 16px;
  }

  .activated-card {
    padding: 36px 24px 28px;
    border-radius: 24px;
  }

  .activated-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .activated-icon i {
    font-size: 28px;
  }

  .activated-title {
    font-size: 26px;
  }

  .activated-subtitle {
    font-size: 16px;
  }

  .activated-description {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .activated-btn-home,
  .activated-btn-profile {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .activated-logo {
    margin-bottom: 20px;
  }

  .activated-logo .logo-icon {
    font-size: 22px;
  }

  .activated-logo .logo-text {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .activated-card {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .activated-title {
    font-size: 22px;
  }

  .activated-subtitle {
    font-size: 14px;
  }

  .activated-logo .logo-icon {
    font-size: 18px;
  }

  .activated-logo .logo-text {
    font-size: 16px;
  }
}
