@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Quicksand:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fe 50%, #f0f4fc 100%);
    color: #3a4a6e;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Фоновые нежные цветочки */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.04"><path fill="none" stroke="%23b8d4e3" stroke-width="0.5" d="M20,30 Q30,20 40,30 T60,30 T80,30 M15,50 Q25,40 35,50 T55,50 T75,50 M25,70 Q35,60 45,70 T65,70 T85,70"/><circle cx="50" cy="50" r="3" fill="%23f5c6d0"/><circle cx="30" cy="40" r="2" fill="%23b8d4e3"/><circle cx="70" cy="60" r="2" fill="%23f5c6d0"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

/* Облака */
.clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1000px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(3px);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}

.cloud::before {
    width: 60%;
    height: 60%;
    top: -30%;
    left: 10%;
}

.cloud::after {
    width: 40%;
    height: 40%;
    top: -20%;
    right: 15%;
}

@keyframes moveCloud {
    from {
        transform: translateX(-20%);
    }
    to {
        transform: translateX(120%);
    }
}

/* Цветочные украшения */
.flower-decoration {
    position: fixed;
    width: 90px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

.flower-1 {
    top: 20px;
    left: 20px;
    animation: float 6s ease-in-out infinite;
}

.flower-2 {
    bottom: 30px;
    right: 20px;
    animation: float 8s ease-in-out infinite reverse;
}

.flower-3 {
    top: 40%;
    right: 10px;
    animation: float 7s ease-in-out infinite;
}

.flower-4 {
    bottom: 15%;
    left: 10px;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 70px;
    padding: 70px 50px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(184, 212, 227, 0.4);
    max-width: 850px;
    margin: 30px;
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    background: linear-gradient(135deg, #7b9ec0, #9bb7d4, #d4a5b8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s ease infinite;
    font-weight: 400;
}

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

.subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #8badc9;
    border-top: 1px solid #d4e0ec;
    border-bottom: 1px solid #d4e0ec;
    display: inline-block;
    padding: 8px 25px;
    margin: 20px 0;
}

.invite-btn {
    background: linear-gradient(135deg, #b8d4e3, #9bb7d4);
    border: none;
    padding: 14px 45px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 50px;
    color: white;
    transition: all 0.4s;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.invite-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(155, 183, 212, 0.3);
    background: linear-gradient(135deg, #c8e0ed, #adc9e0);
}

.modal-content-wedding {
    background: linear-gradient(145deg, #ffffff, #fbfdfe);
    border-radius: 50px;
    border: 1px solid #d4e0ec;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.08);
}

.step {
    display: none;
    animation: slideUp 0.5s ease;
}

.step.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #e8f0f5;
}

.dresscode-wrapper {
    background: #f8fafe;
    border-radius: 30px;
    padding: 25px;
    margin: 15px 0;
}

.dresscode-badge {
    background: #e8f0f5;
    color: #4a6a8a;
    padding: 8px 22px;
    border-radius: 40px;
    display: inline-block;
    margin: 6px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.warning-box {
    background: rgba(58, 74, 110, 0.88);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 50px;
    text-align: center;
    color: #f0f4fc;
    border: 1px solid rgba(155, 183, 212, 0.5);
}

.divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b8d4e3, transparent);
    margin: 25px auto;
}

.flower-divider {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: #d4a5b8;
}

.date-highlight {
    background: #f0f4fc;
    border-radius: 60px;
    padding: 12px 24px;
    display: inline-block;
    margin: 15px 0;
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: #8badc9;
}

label {
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
    color: #4a6a8a;
}

.form-check-input, .form-select {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #b8d4e3;
    border-color: #b8d4e3;
}

.btn-primary {
    background-color: #b8d4e3;
    border-color: #b8d4e3;
    color: #3a4a6e;
}

.btn-primary:hover {
    background-color: #9bb7d4;
    border-color: #9bb7d4;
}

.btn-success {
    background-color: #d4a5b8;
    border-color: #d4a5b8;
}

.btn-success:hover {
    background-color: #c894aa;
    border-color: #c894aa;
}

.alert-warning {
    background-color: #f8fafe;
    border-color: #d4e0ec;
    color: #6a8aaa;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }

    .hero-content {
        padding: 40px 25px;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .date-highlight {
        font-size: 1.2rem;
    }
}