*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, rgb(0, 38, 255), aqua);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding: clamp(10px, 3vw, 30px);
}

#window {
    background: linear-gradient(135deg, #1a2a2d, #0d1416);
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(28px, 6vw, 52px);
    width: 100%;
    max-width: clamp(480px, 70vw, 680px);
    border-radius: 7px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#window h1 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: clamp(20px, 4vw, 30px);
    text-align: center;
}

.linha-input {
    display: flex;
    align-items: center;
    margin-bottom: clamp(14px, 2.5vw, 20px);
    width: 100%;
}

.linha-input label {
    width: 80px;
    flex-shrink: 0;
    text-align: right;
    margin-right: 20px;
    font-size: clamp(13px, 1.8vw, 14px);
}

.linha-input input {
    flex: 1;
    padding: clamp(8px, 1.5vw, 10px);
    border-radius: 8px;
    border: none;
    background-color: white;
    font-size: clamp(13px, 1.8vw, 15px);
    transition: outline 0.3s, transform 0.3s, background-color 0.3s;
    min-width: 0;
}

.linha-input input:hover {
    outline: 3px solid rgb(0, 162, 255);
    transform: translateY(-2px);
}

.linha-input input:focus {
    background-color: rgb(180, 178, 178);
    outline: 3px solid rgb(0, 162, 255);
}

.rodape-form {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: clamp(4px, 1vw, 10px);
    gap: 12px;
}

.rodape-form button {
    background: transparent;
    border: 1px solid #555;
    color: white;
    padding: clamp(7px, 1.2vw, 8px) clamp(16px, 2.5vw, 20px);
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(13px, 1.8vw, 15px);
    transition: transform 0.3s, background-color 0.3s;
}

.rodape-form button:hover {
    transform: scale(1.1);
    background-color: rgba(0, 255, 255, 0.638);
}

a {
    color: #87f3ef;
    text-decoration: none;
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: normal;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

a:hover {
    color: aqua;
    transform: scale(1.1);
}

.aviso-js {
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    padding: 15px;
    font-family: sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aviso-js a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

@media (max-width: 480px) {
    .linha-input {
        flex-direction: column;
        align-items: flex-start;
    }

    .linha-input label {
        width: 100%;
        text-align: left;
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 15px;
    }

    .linha-input input {
        width: 100%;
    }

    .rodape-form {
        flex-direction: column;
        align-items: center;
    }

    .rodape-form button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}