* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000 url('background.jpg') center/contain no-repeat fixed;
    font-family: 'Arial', sans-serif;
    color: white;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.form-container {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#url-form {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

input[type="url"] {
    background: transparent;
    border: 2px solid white;
    border-right: none;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    flex: 1;
    min-width: 0;
    outline: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

input[type="url"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input[type="url"]:focus {
    border-color: rgba(255, 255, 255, 0.9);
}

button[type="submit"] {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

button[type="submit"]:hover {
    background: white;
    color: #111;
    text-shadow: none;
}

.destination {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    margin-top: auto;
    font-size: 18px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 600px;
    text-align: center;
}

.message.success {
    background: rgba(0, 200, 100, 0.3);
    border: 1px solid rgba(0, 200, 100, 0.5);
}

.message.error {
    background: rgba(255, 50, 50, 0.3);
    border: 1px solid rgba(255, 50, 50, 0.5);
}

.message.loading {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.disclaimer {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 90%;
}

/* reCAPTCHA modal overlay */
.captcha-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.captcha-overlay.active {
    display: flex;
}

.captcha-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    input[type="url"] {
        font-size: 16px;
        padding: 12px 15px;
    }

    .disclaimer {
        font-size: 8px;
    }
}
