@font-face {
    font-family: 'Heming';
    src: url('Fonts/heming-variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

html.lock-scroll, 
body.lock-scroll {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed;
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Heming', sans-serif;
    scroll-behavior: smooth;
}

.intro {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #ff7eb3, #ff4f9a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro-title {
    font-size: 72px;
    color: white;
    letter-spacing: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.line {
    display: block;
}

.intro.slide-up {
    transform: translateY(-100%);
}

.hero {
    background: url("images/background-texture.png") center/cover no-repeat; 
    position: relative;
    padding-top: 75px;
    opacity: 1;
    height: 200vh;
    z-index: 1;
}

.above-flower {
    padding-top: 100px;
}

.sticky-flower {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
}

.flower {
    width: 500px;
    height: auto;
    transform-origin: center;
}

.scroll-content {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reveal-text {
    font-size: 42px;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flower, .reveal-text {
    will-change: transform, opacity;
}

.top-bar {
    width: 100%;
    height: 120px;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

.top-left {
    margin: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    color: #ff4f9a;
    transition: 0.75s ease;
}

.top-left:hover {
    color: #ff7eb3;
    transform: translateY(-5px);
}

.hamburger {
    font-size: 45px;
    font-weight: 600;
}

.top-right {
    text-align: center;
    opacity: .95;
    margin: 30px;
    cursor: pointer;
    transition: 0.75s ease;
}

.top-right:hover {
    transform: translateY(-5px);
}

.since {
    display: flex;
    color: #ff7eb3;
}

.timer {
    font-size: 20px;
    padding: 5px;
    color: #ff4f9a;
}

.top-center {   
    font-weight: 600;
    font-size: 50px;
    color: #ff4f9a;
    margin-left: 120px;
    cursor: grab;
}

.top-center:hover {
    transform: translateY(-5px);
    transition: 0.75s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1500;
    transition: 0.4s;
}

.side-menu.open {
    left: 0;
}

.close-btn {
    color: antiquewhite;
    cursor: pointer;
    font-size: 70px;
    margin-left: 325px;
    margin-top: 20px;
}

.close-btn:hover {
    transform: translateY(-5px);
    color: #ff4f9a;
    transition: .75s ease;
}

.side-menu ul li {
    list-style: none;
    margin-bottom: 15px;
}

.side-menu ul li a {
    color: antiquewhite;
    text-decoration: none;
    font-size: 30px;
}

.side-menu ul li a:hover {
    color: #ff4f9a;
    transition: 0.7s;
}

.side-menu ul li:hover {
    transform: translateY(-5px);
    transition: 0.7s;
}

.horizontal-section {
    background: url(images/texture-heart.png) center/cover no-repeat fixed;
    height: 400vh;
    position: relative;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.horizontal-content {
    display: flex;
    padding: 0 10%;
    align-items: center;
    will-change: transform;
    width: max-content;
}

.side-heading h2 {
    font-size: 80px;
    line-height: 1;
    color: #ff4f9a;
    min-width: 400px;
    margin-right: 100px;
    margin-left: -50px;
}

.grid-track {
    display: flex;
    gap: 40px;
}

.grid-card {
    position: relative;
    width: 400px;
    height: 500px;
    background: rgba(255, 79, 154, 0.1);
    border: 2px solid rgba(255, 79, 154, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
    flex-shrink: 0;
}

.grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    box-sizing: border-box;
}

.card-content p {
    color: white;
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.valentines-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url(images/background-texture.png) center/cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#heartCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.valentine-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    padding: 60px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    animation: float 4s ease-in-out infinite;
}

.v-title {
    font-size: 60px;
    color: #ff4f9a;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.v-message {
    font-size: 24px;
    color:#ff7eb3;
    line-height: 1.6;
    opacity: 0.9;
}

.heart-icon {
    font-size: 50px;
    margin-top: 30px;
    filter: drop-shadow(0 0 10px white);
}

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

.horizontal-section,
.valentines-section {
    position: relative;
    z-index: 2;
}

.video-section {
    height: 120vh;
    background: url(images/background-texture.png) center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
}

.video-frame {
    position: relative;
    width: 350px;
    height: 600px;
    border-radius: 50px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
    background: #000;
    transform: rotate(-2deg);
}

.portrait-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    color: white;
    font-family: sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-text h3 {
    font-size: 60px;
    color: #ff4f9a;
    line-height: 1;
    margin-bottom: 20px;
}

.video-text p {
    font-size: 20px;
    color: #ff7eb3;
    max-width: 300px;
}

.love-zone {
    position: relative;
    min-height: 200vh;
    background: url(images/background-texture.png) center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 100px 0;
    overflow: hidden;
}

#heartCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.video-container, .valentine-card {
    position: relative;
    z-index: 10;
}

.promise-section {
    position: relative;
    min-height: 120vh;
    background: url(images/background-texture.png) center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0;
}

.promise-container {
    width: 85%;
    max-width: 1200px;
    text-align: center;
}

.promise-heading h2 {
    font-size: 80px;
    color: #ff4f9a;
    padding: 0;
    margin-bottom: 20px;
}

.promise-heading p {
    font-size: 22px;
    color: #ff7eb3;
    max-width: 700px;
    margin: 0 auto 80px auto;
    line-height: 1.6;
}

.promise-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promise-card {
    position: relative;
    width: 100%;
    max-width: 1500px;
    height: 300px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.promise-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.promise-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 20px;
}

.promise-overlay h3 {
    font-size: 50px;
    color: white;
}

.promise-overlay p {
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    max-width: 1300px;
    line-height: 1.5;
}

.love-footer {
    height: 40vh;
    background: linear-gradient(135deg, #ff4f9a, #ff7eb3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.love-text {
    display: flex;
    gap: 40px;
    font-size: 200px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.love-text span {
    opacity: 0;
    transform: translateY(60px);
    animation: riseFade 1.5s ease forwards;
}

.love-text span:nth-child(1) {
    animation-delay: 0.2s;
}
.love-text span:nth-child(2) {
    animation-delay: 0.6s;
}
.love-text span:nth-child(3) {
    animation-delay: 1s;
}

.love-text {
    animation: glowPulse 3s ease-in-out infinite;
}

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

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255,255,255,0.4),
                     0 0 40px rgba(255,255,255,0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255,255,255,0.8),
                     0 0 80px rgba(255,255,255,0.6);
    }
}

.final-text {
    color: white;
    font-size: 24px;
    margin-top: 200px;
}