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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #0f2027, #000000);
}

/* Container */
.container {
    position: relative;
    width: 320px;
    padding: 40px 25px;
    border-radius: 20px;
    background: #111;
    text-align: center;
    overflow: hidden;
}

/* Animated glowing border */
.container::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, red, yellow, green, cyan, blue, magenta, red);
    animation: rotate 6s linear infinite;
    z-index: -1;
}

.container::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #111;
    border-radius: 18px;
    z-index: -1;
}

/* Animation */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Heading */
h1 {
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Input */
input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    text-align: center;
    font-size: 16px;
    background: #222;
    color: #fff;
    transition: 0.3s;
}

input:focus {
    box-shadow: 0 0 10px cyan;
}

/* Button */
button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background: linear-gradient(45deg, #00f5a0, #00d9f5);
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00f5a0;
}

/* Message */
#message {
    margin-top: 20px;
    font-size: 18px;
    color: #fff;
}