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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d2b, #1a1a6e, #2e1a8e, #6b2080, #8b2560);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: #fff;
}

h1 {
    font-family: Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
}

p.subtitle {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 28px;
    font-family: Arial, sans-serif;
}

label.field-label {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    margin-bottom: 6px;
    opacity: 0.9;
}

input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 22px;
    outline: none;
    transition: border-color 0.2s;
}

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

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

input[type="tel"].invalid {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.9;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #7b2560;
}

.checkbox-group.invalid input[type="checkbox"] {
    outline: 2px solid #ff6b6b;
    outline-offset: 1px;
}

.checkbox-group.invalid label {
    color: #ff6b6b;
}

.checkbox-group a {
    color: #d4a8ff;
    text-decoration: underline;
}

button[type="submit"] {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    background: rgba(107, 32, 128, 0.8);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: rgba(139, 37, 96, 1);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-message.success {
    background: rgba(72, 199, 142, 0.2);
    border: 1px solid rgba(72, 199, 142, 0.4);
}

.form-message.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.form-message a {
    color: #d4a8ff;
    text-decoration: underline;
}
