/* Основные стили */
body {
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    margin: 0;
    overflow: hidden; /* Убираем прокрутку */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* Контейнер для контента */
.main-container {
    background-color: rgba(27, 27, 46, 0.8);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(239, 71, 111, 0.5);
    z-index: 10; /* Поверх canvas */
    border: 1px solid #ef476f;
}

h1 {
    color: #ffd166;
    margin-bottom: 20px;
}

/* Поле для ввода */
#name-input {
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #06d6a0;
    background-color: #1b1b2e;
    color: #e0e0e0;
    font-size: 16px;
    text-align: center;
}

#name-input:focus {
    outline: none;
    box-shadow: 0 0 10px #06d6a0;
}

/* Кнопка */
#submit-btn {
    display: block;
    width: 60%;
    margin: 20px auto 0;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #ef476f;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#submit-btn:hover {
    transform: scale(1.05);
}

/* Текст с результатом */
#result-text {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
    min-height: 50px;
    transition: color 0.5s;
}

/* Специальный стиль для "Даши" */
.dasha-style {
    color: #ff3b3b !important;
    animation: shake 0.5s;
}

/* Анимация тряски */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Canvas для частиц */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
