@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #f1f1f1;
}

/* ===== Общий контейнер ===== */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

/* ===== Заголовок ===== */
h1, h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Карточка записи ===== */
.recording {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recording:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* ===== Название ===== */
.title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== Мета-инфо ===== */
.meta {
    font-size: 0.9em;
    color: #cfd8dc;
    margin-bottom: 4px;
}

/* ===== Кнопки ===== */
.actions {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Смотреть */
.btn.play {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
}

.btn.play:hover {
    filter: brightness(1.1);
}

/* Скачать */
.btn.download {
    background: linear-gradient(135deg, #42e695, #3bb2b8);
    color: #002b2e;
}

.btn.download:hover {
    filter: brightness(1.1);
}

/* Выйти */
.btn-danger {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-danger:hover {
    filter: brightness(1.1);
}

/* ===== Нет записей ===== */
.no-records {
    text-align: center;
    opacity: 0.7;
    margin-top: 60px;
}

/* ===== Логин ===== */
.login-container {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    color: white;
}

input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

input:focus {
    outline: none;
    border-color: #00c6ff;
    box-shadow: 0 0 0 2px rgba(0,198,255,0.2);
}

.alert {
    background: rgba(255,0,0,0.15);
    border: 1px solid rgba(255,0,0,0.3);
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.login-container .btn {
    margin-top: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #e0e0e0;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

input::placeholder {
    color: #ccc;
}


/* ===== Адаптив ===== */
@media (max-width: 600px) {
    .recording {
        padding: 15px;
    }

    .actions {
        flex-direction: column;
    }
}

