:root {
    --primary: rgb(123, 34, 240);
    --primary-hover: #4338ca;
    --background: #f3f4f6;
    --surface: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #d1d5db;
    --error: #ef4444;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #2F0565;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    z-index: 2;
}
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    width: 100% !important;
    height: 100px !important; 
}
.icon-waprr {
    width: 200px;        
    display: block !important;
    z-index: 100;
}
.auth-card h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: #fff;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(251, 251, 251, 0.31);
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fafafa;
}
.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background-color: #fff;
}
.btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}
.btn:hover {background: var(--primary-hover);}
.error-msg {
    background-color: rgba(251, 251, 251, 0.31);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}
.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.auth-footer a:hover {
    text-decoration: underline;
}

.content {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none; /* Чтобы текст не мешал кликам, если нужно */
}

.bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: blur(80px); /* Главный секрет размытия */
  z-index: 1;
}

/* Базовые стили для всех окружностей */
.circle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen; /* Красивое смешивание цветов при пересечении */
  opacity: 0.6;
}

/* Настройка каждого круга (размер, цвет, позиция и своя анимация) */
.circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff416c 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: move-1 25s infinite alternate ease-in-out;
}

.circle-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation: move-2 30s infinite alternate ease-in-out;
}

.circle-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: move-3 20s infinite alternate ease-in-out;
}

.circle-4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #4facfe 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
  animation: move-4 35s infinite alternate ease-in-out;
}

.circle-5 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ffb300 0%, transparent 70%);
  top: 10%;
  right: 20%;
  animation: move-1 28s infinite alternate-reverse ease-in-out;
}

/* Траектории движения (Keyframes) */
@keyframes move-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40vw, 20vh) scale(1.2); }
  100% { transform: translate(20vw, 50vh) scale(0.9); }
}

@keyframes move-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-30vw, -40vh) scale(0.8); }
  100% { transform: translate(-60vw, -20vh) scale(1); }
}

@keyframes move-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-20vw, 30vh) scale(1.3); }
  100% { transform: translate(30vw, -20vh) scale(1); }
}

@keyframes move-4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50vw, -30vh) scale(0.7); }
  100% { transform: translate(10vw, -60vh) scale(1.2); }
}
