* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    color: #f0f0f0;
    background: linear-gradient(135deg, #0d0d0d, #171414);
    background-size: 400% 400%;
    animation: backgroundShift 15s ease infinite;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: url(src/cursor.png) 16 16, auto;
}

.background {
    position: fixed;
    inset: 0;
    background: url("src/bb.jpg") center/cover no-repeat;
    z-index: -1;
    filter: brightness(0.5);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    min-height: 100vh;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    color: #ff1a1a;
    text-shadow: 0 0 10px #ff1a1a, 0 0 20px #ff1a1a;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.2s;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.options label {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    text-align: left;
}

input, textarea, button {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2,0.8,0.1,1) forwards;
}

input, textarea {
    padding: 12px 15px;
    font-size: 16px;
    width: 250px;
    outline: none;
    background-color: #1a1a1a;
    border: 2px solid #333;
    color: #fff;
}

input:focus, textarea:focus,
input:hover, textarea:hover {
    border-color: #ff1a1a;
    box-shadow: 0 0 15px #ff1a1a;
    transform: scale(1.05);
}

button {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 16px;
    width: 200px;
    border: none;
    background: linear-gradient(135deg, #ff1a1a, #ff4d4d);
    color: white;
    cursor: pointer;
    text-shadow: 0 0 5px #000;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px #ff1a1a;
}

.result {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #00ff7f;
    text-shadow: 0 0 10px #00ff7f;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 1.5s;
}

.result.error {
    color: #ff1a1a;
    text-shadow: 0 0 10px #ff1a1a;
}

footer {
    margin-top: 40px;
    width: 100%;
    text-align: center;
}

footer a {
    margin: 0 15px;
    text-decoration: none;
    color: #ff1a1a;
    font-size: 18px;
    transition: all 0.3s ease;
}

footer a:hover {
    text-shadow: 0 0 10px #ff1a1a;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
