body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url(/fon1.jpg) no-repeat center fixed;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.invitation-card {
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.invitation-card .card-header {
    border-radius: 20px 20px 0 0 !important;
    border: none;
}

.invitation-card .card-body {
    background: white;
    border-radius: 0 0 20px 20px;
}

.success-icon {
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-control {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .invitation-card .card-body {
        padding: 2rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }
    
    .invitation-card .card-body {
        padding: 1.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}