* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Segoe UI', sans-serif;
    background: #000;
    color: #c0c0ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.container {
    width: 90%;
    max-width: 620px;
    padding: 40px 30px;
    background: #000;
    border-radius: 20px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 30, 60, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.9);
    border: 1px solid #0a0a2a;
    position: relative;
    overflow: auto;
}

/* Фон с эффектом тёмной вселенной */
.container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 30, 60, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 20, 40, 0.12) 0%, transparent 35%);
    pointer-events: none;
    z-index: -1;
}

header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    bottom: -15px; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0077ff, transparent);
}

header h1 {
    font-size: 2.8rem;
    color: #fff;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

header p {
    color: #66a0ff;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.upload-area {
    border: 2px dashed #1a1a3a;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    color: #7a7aff;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
}

.upload-area:hover, .upload-area.dragover {
    border-color: #00bfff;
    background: rgba(0, 150, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.1);
}

.upload-area i {
    font-size: 3.5rem;
    margin-bottom: 12px;
    color: #0090ff;
    text-shadow: 0 0 10px rgba(0, 140, 255, 0.4);
}

.upload-area p {
    font-size: 1.05rem;
    color: #88a0ff;
}

#submitBtn {
    width: 100%;
    padding: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    background: #001133;
    color: #a0d0ff;
    border: 1px solid #0088ff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    box-shadow: 0 0 10px rgba(0, 120, 255, 0.2);
}

#submitBtn:hover:not(:disabled) {
    background: #002244;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(0, 140, 255, 0.4);
    transform: translateY(-1px);
}

#submitBtn:disabled {
    background: #0a0a1a;
    color: #445577;
    border-color: #222;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result {
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.card {
    background: #0a0a1a;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #001a40;
    box-shadow: 0 5px 15px rgba(0, 20, 40, 0.3);
    backdrop-filter: blur(6px);
}

.card h2 {
    color: #00bfff;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 600;
}

.card p {
    margin: 10px 0;
    color: #a0d0ff;
    font-size: 1.05rem;
    line-height: 1.6;
}

.card p strong {
    color: #ffffff;
}

.btn {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 20px;
    background: #001a40;
    color: #a0e8ff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid #0088ff;
    transition: all 0.3s;
    box-shadow: 0 0 8px rgba(0, 120, 255, 0.2);
}

.btn:hover {
    background: #002a60;
    color: white;
    box-shadow: 0 0 14px rgba(0, 140, 255, 0.4);
    transform: translateY(-1px);
}

.lyrics {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #c0d0ff;
}

.lyrics h3 {
    color: #00bfff;
    margin-bottom: 10px;
    font-weight: 600;
}

.lyrics pre {
    background: #080818;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #001a40;
    overflow-x: auto;
    color: #a0d0ff;
    white-space: pre-wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.error {
    background: #200000;
    color: #ff9090;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #400000;
    font-size: 1.05rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(100, 0, 0, 0.2);
}