/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hoverGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(50, 150, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(50, 150, 255, 0.8); }
}
@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f0f4f8; /* Douce teinte bleutée */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    animation: fadeIn 1s ease-in-out;
}

.container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 1.5s ease;
}

header {
    background: linear-gradient(45deg, #32aaff, #87cefa);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

textarea {
    background: #f9fafb;
    border: 1px solid #dfe3e6;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    color: #333;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
    border-color: #32aaff;
    box-shadow: 0 0 8px rgba(50, 150, 255, 0.4);
    outline: none;
}

button {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #32aaff, #1e90ff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: buttonPulse 2s infinite;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(50, 150, 255, 0.4);
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    background: #f9fafb;
    color: #6c757d;
}

footer a {
    color: #32aaff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer a:hover {
    color: #1e90ff;
}
