        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Comfortaa', cursive;
            background: linear-gradient(135deg, #ffcce6, #f9f2ff);
            color: #5d2a42;
            overflow-x: hidden;
        }

        header {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 3s ease;
        }

        header:hover {
            background: rgba(244, 135, 135, 0.95);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;

        }

        .logo {
            font-family: 'Pacifico', cursive;
            font-size: 2.5rem;
            color: #ff66b3;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            animation: bounce 2s infinite;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
            position: relative;
        }

        nav ul li a {
            text-decoration: none;
            color: #5d2a42;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 20px;
        }

        nav ul li a:hover {
            color: #fff;
            background: #fff;
            transform: translateY(-3px);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #ff66b3;
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        main {
            margin-top: 100px;
            min-height: calc(100vh - 200px);
            padding: 40px 20px;
        }


        .hero {
            text-align: center;
            padding: 60px 0;
            position: relative;
        }

        .hero h1 {
            font-family: 'Pacifico', cursive;
            font-size: 6rem;
            color: #ff66b3;
            margin-bottom: 20px;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
            animation: float 3s ease-in-out infinite;
        }

        .hero p {
            font-size: 2.5rem;
            max-width: 900px;
            margin: 0 auto 30px;
            line-height: 1.6;
        }

        .heart {
            position: absolute;
            font-size: 2rem;
            color: #ff66b3;
            animation: hearts 4s linear infinite;
            opacity: 0;
            z-index: 50;
        }

        .top-btn {

            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            outline: none;
            padding: 5px 10px;
            border: 3px solid #0ff;
            border-radius: 10px;
            background-color: #0ff;
            color: #000;
            display: flex;
            margin-left: 50%;
            font-size: 24px;


        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            padding: 40px 0;
            margin-bottom: 300px;

        }

        .gallery-text {
            margin-bottom: 80px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            height: 400px;
            transition: all 0.5s ease;
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.1);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.2);
        }

        .gallery-item .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(93, 42, 66, 0.8), transparent);
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .overlay {
            transform: translateY(0);

        }

        .btn {
            display: inline-block;
            background: #ff66b3;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 20px;
            box-shadow: 0 4px 15px rgba(255, 102, 179, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 102, 179, 0.6);
        }

        .btn:active {
            transform: translateY(1px);
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .features {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin: 80px 0 460px 0;
        }


        #about {
            position: relative;

        }

        h3 {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 40px;
            color: #ff66b3;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

        }

        .feature {
            text-align: center;
            width: 350px;
            padding: 30px;
            margin: 20px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;

        }

        .feature:hover {
            transform: translateY(-20px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            background: rgba(255, 255, 255, 0.9);
            transform: rotate(360deg) scale(2);
        }

        .feature i {
            font-size: 3rem;
            color: #ff66b3;
            margin-bottom: 20px;
            display: inline-block;
        }

        .feature h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #5d2a42;
            font-weight: 900;
        }

        .feature p {
            font-size: 1.5rem;
            color: #7a4a62;
            font-weight: 900;
        }

        .footer {
            background: #5d2a42;
            color: white;
            padding: 40px 0;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 0 20px;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
            margin: 20px;
            text-align: left;
        }

        .footer-section h2 {
            font-family: 'Pacifico', cursive;
            font-size: 1.8rem;
            color: #ff66b3;
            margin-bottom: 20px;
        }

        .footer-section p {
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 10px;
            text-align: center;
            line-height: 40px;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: #ff66b3;
            transform: rotate(15deg) scale(1.1);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        @keyframes hearts {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateY(-300px) rotate(360deg);
                opacity: 0;
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }

            100% {
                transform: scale(1);
            }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        .floating {
            position: absolute;
            animation: floating 6s ease-in-out infinite;
        }

        @keyframes floating {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }

        .confetti {
            position: fixed;
            width: 10px;
            height: 10px;
            background-color: #f00;
            opacity: 0;
            z-index: 9999;
            animation: confetti 5s ease-in-out infinite;
        }

        @keyframes confetti {
            0% {
                transform: translateY(-100px) rotate(0deg);
                opacity: 1;
            }

            100% {
                transform: translateY(100vh) rotate(360deg);
                opacity: 0;
            }
        }

        .magic-dust {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
        }

        .message-bubble {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #ff66b3;
            color: white;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(255, 102, 179, 0.4);
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.5s ease;
            z-index: 10000;
            position: relаtive;
        }

        .message-bubble.show {
            transform: translateY(0);
            opacity: 1;
        }

        .parallax-layer {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #ff66b3;
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            z-index: 999;
        }

        .scroll-top.show {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-top:hover {
            background: #ff3385;
            transform: translateY(-5px) scale(1.1);
        }

        .birthday-section {
            margin-bottom: 60px;
        }

        h2 {
            margin-top: 200px;
            font-weight: 900;
            font-size: 46px;
            color: red;
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 40px;

        }

        .content-container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            gap: 150px;
            margin-top: 450px;

        }

        .content-left,
        .content-right {
            flex: 1;
            /* Равная ширина */
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 300px;
        }

        .content-left {
            padding-right: 50px;
        }

        .content-right {
            padding-left: 50px;
        }

        /* Куб (левый блок) */
        .cube {
            width: 600px;
            height: 600px;
            position: relative;
            transform-style: preserve-3d;
            animation: rotate-3d 30s infinite linear;
            transform-origin: center;
        }

        .face {
            position: absolute;
            width: 100%;
            height: 100%;
            box-shadow: 0 0 15px rgba(255, 102, 179, 0.3);
            overflow: hidden;
            border: 3px solid #ff66b3;
            box-sizing: border-box;
        }

        .face img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .face:hover img {
            transform: scale(1.5);
        }

        .front {
            transform: translateZ(300px);
        }

        .back {
            transform: rotateY(180deg) translateZ(300px);
        }

        .left {
            transform: rotateY(-90deg) translateZ(300px);
        }

        .right {
            transform: rotateY(90deg) translateZ(300px);
        }

        .top {
            transform: rotateX(90deg) translateZ(300px);
        }

        .bottom {
            transform: rotateX(-90deg) translateZ(300px);
        }

        /* Круг (правый блок) */

        .circle {
            width: 400px;
            height: 400px;
            border-radius: 100%;
            background-color: rgba(255, 102, 179, 0.6);
            z-index: 2;
        }

        .circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 100%;
            border: 3px solid #ff66b3;
        }

        .text-circle {
            position: relative;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: #ffebf7;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-left: -488px !important;
        }

        .text-circle svg {
            width: 100%;
            height: 100%;

        }

        .text-circle circle {
            fill: #4e3898;
            filter: drop-shadow(0 0 10px rgba(255, 102, 179, 0.5));
        }

        .text-circle text {
            fill: #ccff33;
            font-family: 'Comfortaa', cursive;
            letter-spacing: 1px;
        }

        /* Анимация движения текста */
        @keyframes move-text {
            0% {
                startOffset: 100%;
            }

            100% {
                startOffset: 0%;
            }
        }

        .rotating-text {
            position: absolute;
            width: 100%;
            height: 100%;
            animation: rotate-text 20s linear infinite;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .rotating-text span {
            position: absolute;
            transform-origin: 0 300px;
            left: 50%;
            top: 0;
            font-size: 90px;
            color: #ff3385;
            font-weight: 900;
            font-family: 'Comfortaa', cursive;
        }

        @keyframes rotate-text {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .text-circle text {
            font-family: 'Comfortaa', cursive;
            animation: rotate-text 15s linear infinite;
            font-size: 64px;
        }

        /* Анимации */
        @keyframes rotate-3d {
            0% {
                transform: rotateX(10deg) rotateY(10deg);
            }

            100% {
                transform: rotateX(370deg) rotateY(370deg);
            }
        }

        @keyframes rotate-text {
            from {
                transform: rotate(0);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .galery__video {
            position: relative;
        }

        .slideshow-container {
            position: relative;
            width: 100%;
            height: 70vh;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 10px;
            border: 3px solid #444;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 1s ease;
        }

        .slide.active {
            opacity: 1;
        }

        .controls {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .controls button {
            padding: 12px 25px;
            background: #ff8a00;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .controls button:hover {
            background: #e57c00;
        }

        .photo-counter {
            margin-top: 15px;
            font-size: 18px;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 15px;
            border-radius: 20px;
            display: inline-block;
        }

        .timer {
            margin: 15px 0;
            font-size: 18px;
            display: flex;
            justify-content: space-between;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

        .progress-container {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
            margin: 15px 0;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: #ff8a00;
            transition: width 0.3s;
        }

        .video-container {
            position: relative;
            /*        padding-top: 300px;*/
        }

        .content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
        }

        /*СЛАЙДЕР*/
        .treume {
            width: 100%;
            height: 700px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #f9f2ff;
            margin-bottom: 200px;
            margin-top: -300px;
            border-radius: 20px;

        }

        .treume h2 {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 40px;
            color: #ff66b3;
            margin-left: 20px;
        }





        h4 {
            font-size: 84px;
            margin-bottom: 20px;
            color: #00fff2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: center;
            font-family: 'Pacifico', cursive;
            letter-spacing: 10px;
            height: 200px;
            letter-spacing: 10px;
        }


        .section-swiper {
            width: 100%;

            height: 100%;
        }

        .wow flip {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 40px;
            color: #ff66b3;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            font-family: 'Pacifico', cursive;
            animation: bounce 2s infinite;
            margin-top: -150px;
            margin-bottom: 50px;
        }


        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #de7474;
            display: flex;
            justify-content: center;
            align-items: center;

        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }








        /*   =================== */
        .libe p {
            font-size: 2.5rem;
            line-height: 1.6;
            color: #7a4a62;
            font-weight: 900;
            text-align: center;
            margin-top: -200px;
            margin-left: 550px;
            max-width: 800px;

        }

        .libe-img{
            display: block;
            width: 1500px;
            height: 1000px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 0 20px rgba(255, 102, 179, 0.3);
            margin: 50px auto;
            margin-top: 30px;
            border: 15px solid #ff66b3;
        
        }


    
        .video-bg {
            height: 100vh;
            width: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .flip-container {
            width: 300px;
            height: 300px;
            perspective: 1000px;
            cursor: pointer;
        }

        .flipper {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .flip-container.flipped .flipper {
            transform: rotateY(180deg);
        }

        .front,
        .back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            object-fit: cover;
        }

        .back {
            transform: rotateY(180deg);
        }


        .video-bg video {
            height: 100vh;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            object-fit: cover;
            z-index: 1;
            overflow: hidden;
            filter: brightness(60%);

        }

        .video-bg__content {
            display: flex;
            margin-left: 100px;
        }

        .effects {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            pointer-events: none;
            z-index: 2;
            background-color: rgba(0, 0, 0, 0.2);

        }

        .video-bg__img {
            display: flex;

            z-index: 2;
            position: relative;
            width: 300px;
            height: 300px;

            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
            animation: pulse 5s infinite;

            margin-top: 20px;

        }




 
        






        .text-typing {
            padding: 50px;
            font-size: 2.5rem;
            color: #5d2a42;
            font-weight: 900;
            text-align: center;
            margin-bottom: 100px;
            height: 48px;
            width: 100%;
            letter-spacing: 5px;
            font-size: 96px;
        }

        #typed {
            display: inline;
        }

        @keyframes cursor1 {
            50% {
                color: #000;
            }
        }

        .salyt {
            padding-top: 200px;
        }

        .salyt-title {
            display: flex;
            justify-content: center;
            font-size: 150px;
            background-color: rgb(125, 125, 208);
            justify-content: center;
            color: #f00;
            overflow: hidden;
            font-family: 'Pacifico', cursive;

        }

        .salyt p {

            font-size: 2.5rem;
            line-height: 1.6;
            color: #7a4a62;
            font-weight: 900;
            margin-left: 600px;
            max-width: 800px;

        }

        canvas {
            display: block;
        }

        .info {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            font-size: 14px;
        }