* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #0b0d10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6e6e6;
    overflow: hidden;
}

/* ================= ЧАСТИЦЫ ================= */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particles span {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: rgba(245,166,35,0.8);
    border-radius: 50%;
    animation: float 10s linear infinite;
}

.particles span:nth-child(1) { left: 10%; animation-duration: 8s; }
.particles span:nth-child(2) { left: 20%; animation-duration: 10s; }
.particles span:nth-child(3) { left: 30%; animation-duration: 12s; }
.particles span:nth-child(4) { left: 40%; animation-duration: 9s; }
.particles span:nth-child(5) { left: 50%; animation-duration: 11s; }
.particles span:nth-child(6) { left: 60%; animation-duration: 13s; }
.particles span:nth-child(7) { left: 70%; animation-duration: 10s; }
.particles span:nth-child(8) { left: 80%; animation-duration: 9s; }
.particles span:nth-child(9) { left: 90%; animation-duration: 12s; }
.particles span:nth-child(10){ left: 95%; animation-duration: 14s; }

@keyframes float {
    from {
        transform: translateY(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    to {
        transform: translateY(-110vh);
        opacity: 0;
    }
}

/* ================= КАРТОЧКА ================= */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #12151b;
    border: 1px solid #1f232b;
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.25s ease;
}

.container:hover {
    box-shadow:
        0 0 40px rgba(245,166,35,0.15),
        0 20px 50px rgba(0,0,0,0.8);
}

/* ================= ТЕКСТ ================= */
h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 6px;
    color: #f5a623;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #9aa0a6;
    margin-bottom: 28px;
}

/* ================= FILE ================= */
.file-input input {
    width: 100%;
    background: #0e1116;
    border: 2px dashed #2a2f3a;
    padding: 16px;
    border-radius: 8px;
    color: #cfcfcf;
    cursor: pointer;
}

.file-input input:hover {
    border-color: #f5a623;
}

.file-loader {
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #f5a623, #ff8c2b);
    border-radius: 2px;
    margin-top: 6px;
    transition: width 0.3s ease;
}

/* ================= OPTIONS ================= */
.options {
    margin: 22px 0;
}

.options label {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
}

.options input {
    margin-right: 10px;
    accent-color: #f5a623;
}

/* ================= BUTTON ================= */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f5a623, #ff8c2b);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #12151b;
    cursor: pointer;
}

button:hover {
    box-shadow:
        0 0 14px rgba(245,166,35,0.8),
        0 0 32px rgba(245,166,35,0.4);
}

/* ================= LINKS ================= */
.accent-link {
    color: #f5a623;
    text-decoration: none;
}

.accent-link:hover {
    text-shadow:
        0 0 6px rgba(245,166,35,0.9),
        0 0 14px rgba(245,166,35,0.6);
}

.progress {
    width: 100%;
    height: 6px;
    background: #0e1116;
    border-radius: 4px;
    overflow: hidden;
    margin: 14px 0 18px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #f5a623, #ff8c2b);
    box-shadow:
        0 0 10px rgba(245,166,35,0.8),
        0 0 20px rgba(245,166,35,0.4);
    transition: width 0.15s ease;
}

/* ================= FOOTER ================= */
.footer {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: #7f8690;
}