.registration-container {
    background-image: url('/images/register.webp');
    background-size: cover;
    background-position: bottom center;
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    min-height: 100vh;
}

#registration-form {
    max-width: 80%;
    margin: 5rem auto 0 auto
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #fff;
    border-radius: 12px;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: white;
    background: rgba(139, 28, 31, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ✅ ERROR STATE */
.form-input.input-error {
    border-color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
    animation: shake 0.3s ease;
}

.error-text {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
    display: block;
}

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

.play-button {
    width: 100%;
    max-width: 180px;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: white;
    color: #9b1c1f;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px auto 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.play-button:active {
    transform: translateY(-1px);
}

.play-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.product-showcase {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 20px;
}

.product-bottle {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.product-bottle:nth-child(2) {
    width: 100px;
    animation-delay: 0.5s;
}

.product-bottle:nth-child(3) {
    width: 85px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.error-message {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.success-message {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.4);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .registration-container {
        padding: 40px 20px;
    }

    #registration-form {
        max-width: 90%;
    }

    .form-input {
        font-size: 0.9rem;
        padding: 15px 20px;
    }

    .error-text {
        font-size: 0.75rem;
    }

    .product-showcase {
        gap: 10px;
    }

    .product-bottle {
        width: 60px;
    }

    .product-bottle:nth-child(2) {
        width: 75px;
    }

    .product-bottle:nth-child(3) {
        width: 65px;
    }
}

@media (max-width: 480px) {
    #registration-form {
        max-width: 95%;
    }

    .form-input {
        font-size: 0.85rem;
        padding: 14px 18px;
    }

    .play-button {
        max-width: 150px;
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}