/* ИДИ НАХУЙ ДОЛБАЕБ HTTPS://WINCHANII.RU */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-y: auto;
    position: relative;
    background: black;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

@media (max-width: 768px) {
    .search-container {
        width: 80%;
        padding: 30px;
    }
    .search-input {
        width: 100%;
    }
    .search-button {
        width: 100%;
        margin-top: 10px;
    }
    .result-container {
        width: 80%;
        padding: 20px;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 20px;
    padding: 20px;
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 614px;
    text-align: center;
    z-index: 2;
}

.search-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: linear-gradient(45deg, #5a5a5a, #000000);
    filter: blur(5px);
    z-index: -1;
}

.search-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.search-title {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.search-description {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 14px;
}

.search-description-bold {
    font-weight: bold;
    color: #ff6b6b;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.search-input {
    width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 16px;
    outline: none;
    z-index: 20;
    position: relative;
}

.search-input:focus {
    border-color: #fff;
}

.search-button {
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: auto;
    z-index: 20;
    position: relative;
}

.search-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.error-message {
    color: #ff6b6b;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    width: 80%;
    z-index: 20;
    position: relative;
}

.result-container {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 614px;
    text-align: center;
    z-index: 2;
    margin-top: 20px;
}

.result-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: linear-gradient(45deg, #5a5a5a, #000000);
    filter: blur(5px);
    z-index: -1;
}

.result-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.result-success p {
    color: #fff;
    word-break: break-all;
    white-space: pre-wrap;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.result-error {
    color: #ff6b6b;
}

.download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 21;
    position: relative;
}

.download-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* --- НОВЫЙ РАЗДЕЛ КОНТАКТОВ --- */
.contacts-section {
    margin-top: 60px; /* Отступ сверху от предыдущего элемента */
    text-align: center; /* Центрируем содержимое */
    width: 100%; /* Ширина на всю ширину родителя */
    padding: 20px; /* Внутренние отступы */
    /* Дополнительно: можно добавить фон или границы, если хочется больше отделить */
    /* background: rgba(0, 0, 0, 0.2); */
    /* border-top: 1px solid rgba(255, 255, 255, 0.3); */
}

.contact-link {
    display: inline-block; /* Чтобы применялись margin, padding, border-radius */
    margin: 10px; /* Отступы вокруг ссылки */
    padding: 10px 20px; /* Внутренние отступы */
    color: #00ffff; /* Неоново-голубой цвет текста */
    text-decoration: none; /* Убираем подчеркивание по умолчанию */
    border-radius: 10px; /* Скругленные углы */
    transition: all 0.3s ease; /* Плавный переход для hover эффектов */
    font-size: 16px; /* Размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    /* Тени для неонового эффекта */
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 0 0 10px rgba(0, 255, 255, 0.3);
    opacity: 0.8; /* Чуть прозрачная по умолчанию */
    background: transparent; /* Прозрачный фон */
}

.contact-link:hover {
    opacity: 1; /* Полностью непрозрачная при наведении */
    /* Усиленные тени при наведении */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.6);
    transform: scale(1.05); /* Легкое увеличение при наведении */
}
/* --- /НОВЫЙ РАЗДЕЛ КОНТАКТОВ --- */
