 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --beige: #f5f3f1;
            --pale-pink: #f9ece5;
            --soft-brown: #88786a;
            --light-brown: #d4c4b5;
            --dark-beige: #e8ddd4;
            --text-color: #571c04; /* Изменен цвет текста */
            --block-bg: #d5c8ed; /* Новый цвет для блоков */
        }

        @font-face {
                font-family: 'MiamaNueva';
                src: url('font/ofont.ru_MiamaNueva.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }

        body {
            font-family: 'MiamaNueva';
            background-color: white; /* Изменен на белый */
            color: #000;
            line-height: 1.6;
            overflow-x: hidden;
            background-image: url("/img/IMG_2439.JPG");
            /*background-size: cover;*/
            background-position: center;
        }

        h1, h2, h3{
             font-family: 'MiamaNueva';
            font-weight: bold;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            padding: 60px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom-left-radius: 50% 20%;
            border-bottom-right-radius: 50% 20%;
        }

        .header-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .header-content img{
            max-width: 100%;
            height: auto;
        }

        .floral-decoration {
            position: absolute;
            opacity: 0.1;
            z-index: 1;
        }

        .floral-1 {
            top: 10%;
            left: 5%;
            width: 150px;
            height: 150px;
        }

        .floral-2 {
            bottom: 10%;
            right: 5%;
            width: 120px;
            height: 120px;
        }

        h1 {
            /*font-family: 'Playfair Display', serif;*/
            font-size: 3.5rem;
            font-weight: bold;
            color: var(--text-color); /* Изменен цвет текста */
            margin-bottom: 20px;
            letter-spacing: 2px;
        }

        .date {
            font-size: 1.8rem;
            color: var(--text-color); /* Изменен цвет текста */
            margin-bottom: 30px;
            font-style: italic;
        }

        .names {
            font-size: 2.8rem;
            color: var(--text-color); /* Изменен цвет текста */
            margin-bottom: 40px;
            position: relative;
            display: inline-block;
            padding: 0 20px;
        }

        .names::before, .names::after {
            content: "✦";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: var(--light-brown);
            font-size: 1.5rem;
        }

        .names::before {
            left: 0;
        }

        .names::after {
            right: 0;
        }

        .invitation-text {
            font-size: 1.3rem;
            line-height: 1.8;
            max-width: 700px;
            font-weight: bold;
            margin: 0 auto 40px;
        }

        #invitation{
            margin-top: 40px;
        }

        .main-title{
            margin-bottom: 0 !important;
        }

        /* Section Styles */
        .section {
            /*padding: 20px 0;*/
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s, transform 0.8s;
        }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section-title {
            text-align: center;
            /*font-family: 'Playfair Display', serif;*/
            font-size: 2.5rem;
            color: var(--text-color); /* Изменен цвет текста */
            margin-bottom: 40px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 2px;
            background-color: var(--light-brown);
        }

        .content-box {
            /*background: linear-gradient(135deg, var(--block-bg) 0%, #e5daf5 100%); !* Градиент для блоков *!*/
            border-radius: 15px;
            padding: 30px;
            /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
            max-width: 800px;
            margin: 0 auto;
            color: var(--text-color); /* Изменен цвет текста */
        }

        /* Schedule Styles */
        .schedule-item {
            display: flex;
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px dashed var(--dark-beige);
        }

        .schedule-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .schedule-time {
            flex: 0 0 120px;
            font-weight: 600;
            color: var(--text-color); /* Изменен цвет текста */
            font-size: 1.1rem;
        }

        .schedule-details {
            flex: 1;
        }

        .schedule-details div {
            margin-bottom: 5px;
        }

        /* Survey Styles */
        .question {
            margin-bottom: 30px;
        }

        .question-title {
            font-size: 1.3rem;
            color: var(--text-color); /* Изменен цвет текста */
            margin-bottom: 15px;
            font-weight: 600;
        }

        .options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .option {
            background-color: rgba(255, 255, 255, 0.7);
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid rgba(213, 200, 237, 0.5);
            font-size: 1rem;
            color: var(--text-color); /* Изменен цвет текста */
        }

        .option:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .option.selected {
            background-color: var(--text-color); /* Изменен цвет выделения */
            color: white;
            border-color: var(--text-color);
        }

        /* Confirmation Styles */
        .confirmation {
            text-align: center;
            padding: 20px 20px;
            /*background: linear-gradient(135deg, var(--block-bg) 0%, #e5daf5 100%); !* Градиент для блока подтверждения *!*/
            border-radius: 15px;
            max-width: 800px;
            margin: 0 auto;
            color: var(--text-color); /* Изменен цвет текста */
        }

        .confirmation-btn {
            background-color: rgba(238, 167, 147, 0.30); /* Изменен цвет кнопки */
            color: #571C04FF;
            border: none;
            padding: 15px 40px;
            font-size: 1.2rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 20px;
            font-family: 'Cormorant Garamond', serif;
            font-weight: 600;
            letter-spacing: 1px;
            width: 90%;
        }

        .confirmation-btn:hover {
            background-color: #571C04FF;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            color: #fff;
        }

        .confirmation-note {
            margin-top: 15px;
            font-style: italic;
            color: var(--text-color); /* Изменен цвет текста */
        }

        .input-name{
            width: 100%;
            padding: 10px;
            border: #571C04FF solid 1px;
            color: #571C04FF;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .floating {
            animation: float 5s ease-in-out infinite;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            header {
                padding: 40px 15px;
                border-bottom-left-radius: 50% 10%;
                border-bottom-right-radius: 50% 10%;
            }

            h1 {
                font-size: 2.5rem;
            }

            .date {
                font-size: 1.4rem;
            }

            .names {
                font-size: 2rem;
            }

            .invitation-text {
                font-size: 1.1rem;
                font-weight: bold;
            }

            .section {
                /*padding: 20px 0;*/
            }

            .section-title {
                font-size: 2rem;
            }

            .content-box {
                padding: 20px;
            }

            .schedule-item {
                flex-direction: column;
            }

            .schedule-time {
                flex: none;
                margin-bottom: 10px;
                font-size: 1rem;
            }

            .options {
                flex-direction: column;
            }

            .option {
                text-align: center;
            }

            .floral-1, .floral-2 {
                display: none;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 2rem;
            }

            .date {
                font-size: 1.2rem;
            }

            .names {
                font-size: 1.8rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .confirmation-btn {
                padding: 12px 30px;
                font-size: 1.1rem;
            }
        }