:root {
    --primary-color: #6dd5ed;
    --secondary-color: #2193b0;
    --background-color: #f0f8ff;
    --text-color: #333;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    font-family: 'Arial', sans-serif;
    font-size: 16px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 350px;
    transition: all 0.3s ease;
}

.container h2 {
    margin: 0.5rem 0 1rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 2px solid #e0e0e0;
    background-color: var(--background-color);
    font-size: 0.9rem;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(109, 213, 237, 0.2);
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus + i {
    color: var(--primary-color);
}

.button {
    width: 100%;
    padding: 0.6rem;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.button:active {
    transform: translateY(0);
}

.snack-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

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

@media (max-height: 600px) {
    .container {
        padding: 1rem;
    }
    .snack-icon {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    .container h2 {
        font-size: 1.25rem;
        margin: 0.25rem 0 0.5rem;
    }
    .input-group {
        margin-bottom: 0.5rem;
    }
    .input-group input {
        padding: 0.5rem 1rem 0.5rem 2.25rem;
    }
}

@media (min-height: 800px) {
    .container {
        padding: 2rem;
    }
    .snack-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    .container h2 {
        font-size: 1.75rem;
        margin: 0.75rem 0 1.5rem;
    }
    .input-group {
        margin-bottom: 1.5rem;
    }
    .input-group input {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 1rem;
    }
    .button {
        padding: 0.75rem;
        font-size: 1.1rem;
    }
}