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

:root {
    --primary-pink: #ff6b9d;
    --soft-pink: #ffb6c1;
    --light-pink: #ffe4e9;
    --deep-pink: #c73659;
    --white: #ffffff;
    --text-dark: #4a4a4a;
    --text-light: #888888;
    --gradient-1: linear-gradient(135deg, #ff6b9d 0%, #ffb6c1 50%, #ff6b9d 100%);
    --gradient-2: linear-gradient(135deg, #c73659 0%, #ff6b9d 100%);
    --shadow: 0 10px 40px rgba(255, 107, 157, 0.3);
    --shadow-soft: 0 5px 20px rgba(255, 107, 157, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #fff5f8 0%, #ffe4e9 50%, #fff5f8 100%);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating Hearts Animation - менее заметные */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-hearts span {
    position: absolute;
    font-size: 1.2rem;
    animation: float 8s ease-in-out infinite;
    opacity: 0.15;
}

.floating-hearts span:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-hearts span:nth-child(2) { left: 30%; animation-delay: 1.6s; }
.floating-hearts span:nth-child(3) { left: 50%; animation-delay: 3.2s; }
.floating-hearts span:nth-child(4) { left: 70%; animation-delay: 4.8s; }
.floating-hearts span:nth-child(5) { left: 90%; animation-delay: 6.4s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--deep-pink);
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
    margin-bottom: 30px;
    line-height: 1.3;
    animation: fadeInDown 1s ease-out;
}

.emoji-flowers,
.emoji-hearts,
.emoji-stars {
    display: block;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-top: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.emoji-pointing {
    font-size: 1.5rem;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.quote {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.scroll-hint {
    font-size: 1rem;
    color: var(--text-light);
    animation: fadeIn 1s ease-out 0.6s both;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Invitation Section */
.invitation {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.invite-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--deep-pink);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
}

.invite-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.choose-hint {
    font-size: 1.2rem;
    color: var(--primary-pink);
    font-weight: 600;
}

/* Movies Section */
.movies {
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-2);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(199, 54, 89, 0.4);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.movie-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.movie-card.active {
    transform: scale(1.05);
}

.movie-poster {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--soft-pink), var(--light-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.movie-info {
    padding: 25px;
    text-align: center;
}

.movie-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-pink);
    margin-bottom: 15px;
}

.movie-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.movie-location,
.movie-duration {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--light-pink);
    padding: 5px 10px;
    border-radius: 15px;
    white-space: nowrap;
}

.movie-theater {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Spoiler Block */
.spoiler-block {
    margin-bottom: 20px;
}

.spoiler-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--light-pink);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--deep-pink);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.spoiler-btn:hover {
    background: var(--soft-pink);
    color: var(--white);
}

.spoiler-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.spoiler-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    transition: max-height 0.4s ease;
    background: linear-gradient(180deg, var(--light-pink) 0%, var(--white) 100%);
    border-radius: 15px;
    margin-top: 10px;
}

.spoiler-block.active .spoiler-content {
    padding: 15px;
}

.spoiler-block.active .spoiler-icon {
    transform: rotate(180deg);
}

.movie-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-2);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.movie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

/* Final Message Section */
.final-message {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.message-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
}

.final-text {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 2;
    color: var(--text-dark);
    font-style: italic;
}

.final-text br {
    margin-bottom: 10px;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-pink);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .movie-card {
        flex: 0 0 280px;
    }

    .movie-poster {
        height: 350px;
    }

    .message-card {
        padding: 35px 25px;
    }

    .floating-hearts span {
        font-size: 1rem;
    }

    .movie-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .movie-card {
        flex: 0 0 260px;
    }

    .movie-poster {
        height: 320px;
    }
}
