/* Main content - Trippy Center */
main {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    background-color: #f0f8ff; /* Light, slightly off-white for a base */
    animation: pulse 5s infinite alternate, hueShift 10s infinite linear; /* Subtle pulsing and color shifting */
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes hueShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Container - Melting Reality */
.container {
    max-width: 500px;
    width: 100%;
    padding: 30px; /* More padding for spaciousness */
    border: 2px dashed #ff69b4; /* Electric pink dashed border */
    border-radius: 12px;
    box-shadow: 5px 5px 15px rgba(139, 0, 139, 0.3); /* Deep purple shadow */
    background: linear-gradient(135deg, #e0ffff, #f0e68c, #add8e6, #fa8072); /* Psychedelic gradient background */
    animation: wobble 3s infinite alternate; /* Gentle wobble effect */
}

@keyframes wobble {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    75% { transform: translateX(5px) rotate(1deg); }
    100% { transform: translateX(0); }
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Arial Black', sans-serif; /* Strong, distorted font */
    font-size: 2.5em;
    color: #00ced1; /* Bright turquoise */
    text-shadow: 2px 2px 0 #ff4500, -2px -2px 0 #4682b4; /* Intense, contrasting text shadows */
    letter-spacing: 0.1em;
    animation: jiggle 0.5s infinite; /* Subtle text jiggle */
}

@keyframes jiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-0.5deg); }
    75% { transform: rotate(0.5deg); }
    100% { transform: rotate(0deg); }
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #8a2be2; /* Vivid violet label color */
    text-shadow: 1px 1px 0 #000; /* Subtle black text shadow for contrast */
    font-style: italic; /* Slanted for extra flair */
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 12px);
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #a9a9a9;
    border-radius: 6px;
    background-color: #f5f5dc; /* Beige-ish input background */
    font-family: monospace; /* Retro, slightly distorted feel */
}

.btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background: linear-gradient(to right, #00ff7f, #ff00ff); /* Electric gradient button */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 128, 0, 0.5); /* Greenish button shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 10px rgba(0, 128, 0, 0.7);
}
