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;
}

.lang { 
    color: #fff;
    font-size: 18px;
    border: 1px solid #fff;
    border-radius: 4px;
    text-decoration: none;
    padding: .5rem;
}

a { text-decoration: none;}

.text-lines {
    line-height: 1;
}

.text-yellow { color: #ffff00;}

.gold-svg {
  filter: sepia(1) saturate(3) hue-rotate(10deg) brightness(1.1);
  animation: goldGlow 2s ease-in-out infinite;
}

@keyframes goldGlow {
  0%, 100% { filter: sepia(1) saturate(3) hue-rotate(10deg) brightness(1.1); }
  50% { filter: sepia(1) saturate(4) hue-rotate(15deg) brightness(1.3); }
}

.flag {
    width: 200px;
    height: 100px;
    object-fit: cover;
}

.title {
    font-size: 52px;
    font-family: 'Montserrat', Arial;
    font-weight: 900;
    color: #FFFFFF;
    text-decoration: none;
}

.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;
    }
}