:root {
    --sand: #F7F3E9;
    --coral: #FF6B6B;
    --ocean: #4ECDC4;
    --sun: #FFD166;
    --space: #6B5B95;
    --peach: #FF9A8B;
}

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

/* latin-ext */
@font-face {
    font-family: 'Bubblegum Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./assets/fonts/AYCSpXb_Z9EORv1M5QTjEzMEteaOxILtbKR5GwY.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Bubblegum Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./assets/fonts/AYCSpXb_Z9EORv1M5QTjEzMEteaAxILtbKR5.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    background-color: var(--sand);
    overflow-x: hidden;
}

body, html {
    overflow-x: hidden;
}

h1 {
    /*font-family: 'Bubblegum Sans', cursive;*/
    font-family: 'Nunito', sans-serif;
    color: var(--coral);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Шапка */
.hero {
    background: linear-gradient(135deg, rgba(247, 243, 233, 0.8) 0%, rgba(78, 205, 196, 0.7) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #FF6B6B, #6B5B95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 3;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    max-width: 800px;
    z-index: 2;
    color: var(--space);
    font-weight: bold;
    position: relative;
}

/* Таймер */
.timer {
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    z-index: 2;
    border: 3px dashed var(--coral);
    position: relative;
    max-width: 120%;
}

.timer-item {
    text-align: center;
}

.timer-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--space);
    /*font-family: 'Bubblegum Sans', cursive;*/
}

.timer-label {
    font-size: 1.2rem;
    color: var(--coral);
    /*font-family: 'Bubblegum Sans', cursive;*/
}

/* Изображения персонажей */
.lilo-image {
    position: absolute;
    width: 180px;
    bottom: 20px;
    left: 20px;
    z-index: 5;
    animation: sway 4s infinite ease-in-out;
}

.stitch-image {
    position: absolute;
    width: 150px;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    animation: sway 3s infinite ease-in-out;
}

.hidden-stitch {
    position: absolute;
    width: 100px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.hidden-stitch:hover {
    opacity: 1;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

/* Основные секции */
section {
    padding: 4rem 2rem;
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--peach);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: var(--space);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 1rem;
    /* background: white;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.map-container {
    height: 500px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);*/
    /*border: 5px solid var(--ocean);*/
    position: relative;
}

.form-container {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px dashed var(--coral);
    position: relative;
    overflow: hidden;
}

.flower-subscription {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    /*margin: 2rem;*/
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--peach);
    position: relative;
    overflow: hidden;
}

.subscription-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
    /* background: white; */
    padding: 2rem;
    /* border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.subscription-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--space);
}

.subscription-form input,
.subscription-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--ocean);
    border-radius: 10px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif;
}

.subscription-form textarea {
    min-height: 100px;
    resize: vertical;
}

.donate-btn {
    background-color: var(--peach);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    /* font-family: 'Bubblegum Sans', cursive; */
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.donate-btn:hover {
    background-color: var(--coral);
    transform: scale(1.05);
}

.thank-you-message {
    text-align: center;
    padding: 2rem;
    display: none;
    animation: fadeIn 0.5s;
}

.thank-you-message.active {
    display: block;
}

.thank-you-message h3 {
    color: var(--space);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.thank-you-message p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.thank-you-message img {
    width: 150px;
    margin: 1rem 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Подвал */
footer {
    background-color: var(--space);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
    border-top: 5px solid var(--peach);
}

/* Пасхалка модальное окно */
.easter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.easter-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popIn 0.5s;
    border: 5px solid var(--coral);
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .timer {
        /*flex-direction: column;*/
        gap: 1.5rem;
        padding: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .lilo-image,
    .stitch-image {
        width: 100px;
    }

    section {
        margin: 1rem;
        padding: 2rem 1rem;
    }

    .payment-option {
        width: 100%;
    }
}

/* Новые стили для блока подтверждения */
.rsvp-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.rsvp-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    /* font-family: 'Bubblegum Sans', cursive; */
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rsvp-btn.yes {
    background-color: var(--ocean);
    color: white;
}

.rsvp-btn.no {
    background-color: var(--peach);
    color: white;
}

.rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.rsvp-form {
    display: none;
    animation: fadeIn 0.5s;
}

.rsvp-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Стили для блока подтверждения */
.confirmation-message {
    text-align: center;
    padding: 2rem;
    /* background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    /*margin-top: 2rem;*/
    animation: fadeIn 0.5s;
}

.confirmation-message.active {
    display: block;
}

.confirmation-message h3 {
    color: var(--space);
    margin-bottom: 1rem;
}

.confirmation-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.confirmation-message img {
    width: 100px;
    margin: 1rem 0;
}

.back-btn {
    background: none;
    border: none;
    color: var(--space);
    margin-top: 1rem;
    cursor: pointer;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.1rem;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}