/* 1. Общие стили */
body {
    background-color: #f8f7fa;
    color: #111827;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 2rem;
    position: relative; /* Убираем flex и min-height */
}

/* 2. Контейнер для "жидких капель" */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-blobs::before,
.background-blobs::after {
    content: '';
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
}

/* Первая капля */
.background-blobs::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #a855f7, #d8b4fe);
    top: -15%;
    left: -15%;
    animation: move-blob-1 5s infinite alternate;
    opacity: 0.6;
}

/* Вторая капля */
.background-blobs::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #7c3aed, #c4b5fd);
    bottom: -20%;
    right: -20%;
    animation: move-blob-2 3s infinite alternate-reverse;
    opacity: 0.7;
}

@keyframes move-blob-1 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 150px) scale(1.2); }
}

@keyframes move-blob-2 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-150px, -100px) scale(0.8); }
}

/* 3. Эффект "стекла" для карточки */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
}

.card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.15);
}

/* 4. Читаемость и элементы интерфейса */
h1, h2 {
    color: #111827;
}

.subtitle {
    color: #4b5563;
}

.btn-primary {
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(90deg, #8B5CF6, #6366F1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.highlight {
    color: #6d28d9;
    font-weight: 600;
}

input[type="text"], input[type="url"] {
    background-color: rgba(243, 244, 246, 0.9);
    border: 1px solid rgba(209, 213, 219, 0.7);
    color: #111827;
}

input[type="text"]::placeholder, input[type="url"]::placeholder {
    color: #9ca3af;
}

/* 5. Иконка с градиентом через маску */
.logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(90deg, #8B5CF6, #6366F1);
    -webkit-mask-image: url('../files/upload-photo.svg');
    mask-image: url('../files/upload-photo.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Стили для обертки и футера */
.main-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Снова центрируем содержимое по вертикали */
  align-items: center;
  min-height: calc(100vh - 4rem); /* 100vh минус паддинги body */
  width: 100%;
}

.footer-text {
    text-align: center;
    flex-shrink: 0; /* Предотвращает сжатие футера */
    width: 100%;
    /* Убираем margin-top: auto и padding-top, чтобы футер следовал за контентом */
    margin-top: 2rem; /* Добавляем простой отступ от основного блока */
    box-sizing: border-box;
}
