* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.form-container {
    background: rgba(45, 45, 45, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) brightness(1.1) contrast(1.2);
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: linear-gradient(135deg, #f5f5dc 0%, #ddd8c0 100%);
    color: #1a1a1a;
    transform: scale(1.1);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.progress-line.active {
    background: linear-gradient(135deg, #f5f5dc 0%, #ddd8c0 100%);
}

h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #f5f5dc;
    font-size: 28px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-description {
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.error-message {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    text-align: center;
    font-size: 14px;
    animation: shake 0.5s ease-in-out;
}

.success-message {
    background: rgba(40, 167, 69, 0.2);
    color: #51cf66;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(40, 167, 69, 0.3);
    text-align: center;
    font-size: 14px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #f5f5dc;
    font-weight: 500;
    font-size: 14px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group textarea {
    min-height: 80px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #f5f5dc;
    box-shadow: 0 0 0 3px rgba(245, 245, 220, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f5f5dc 0%, #ddd8c0 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 245, 220, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5dc 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.success-actions {
    text-align: center;
    margin-top: 30px;
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.form-footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.form-footer a {
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(245, 245, 220, 0.3);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
    animation-duration: 6s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .progress-bar {
        padding: 0 10px;
    }
    
    .progress-step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .progress-line {
        width: 40px;
    }
    
    .logo {
        max-width: 100px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .input-group input,
    .input-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px;
        font-size: 14px;
    }
}