:root {
    --primary-color: #1a1a2e;
    --secondary-color: #2a2a40;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #1a1a2e;
    color: #fff;
    font-family: "Playfair Display", serif;
    overflow-x: hidden;
}

.bithday-text {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    -webkit-background-clip: text;
    color: #E6B566;
    text-shadow: 0 0 20px rgba(246, 193, 119, 0.4);
}

.darling-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(46px, 5.2vw, 80px);
    font-weight: 700;
    background: linear-gradient(90deg, #FF8FA3, #FFD166);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.35));
    margin-top: 10px;
}

.darling-date {
    font-size: 2.8rem;
}

.text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.video-start {
    max-width: 100%;
    width: 100%;
    height: 600px;
}

.start-video {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.start-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;

    &:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }
}

.timeline {
    position: relative;
    padding: 150px 0;
    width: 100%;
}

.wave-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 200px;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

.wave-line svg {
    width: 100%;
    height: 100%;
}

.node {
    width: 22px;
    height: 22px;
    background: #D4AF37;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 15px #D4AF37;
    transition: all 0.3s ease;
    cursor: pointer;
}

.node:hover {
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 30px gold;
}

.node::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: gold;
    opacity: 0.3;
    transform: scale(1);
    transition: all 0.4s ease;
}

.node:hover::after {
    transform: scale(2);
    opacity: 0;
}

.node.active {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 30px gold;
}

.timeline-item {
    position: relative;
    margin: 150px 0;
}

.timeline-item .content {
    width: 40%;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
}

.timeline-item.left .content {
    margin-right: auto;
    text-align: right;
}

.timeline-item.right .content {
    margin-left: auto;
}

.timeline-item .content {
    width: 40%;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
}

.letter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(to bottom, #f5ebdd, #ead7d1); */
}

.letter-wrapper {
    max-width: 800px;
    padding: 40px;
}

.letter-paper {
    background: #fffaf3;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    line-height: 1.8;
    color: #2c2c2c;
    position: relative;
}

.letter-paper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.4), transparent 60%);
    pointer-events: none;
  }
  

  .surprise-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
  }
  
  .surprise-section.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
  }
  
  .center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    color: white;
    font-family: 'Playfair Display', serif;
    text-align: center;
    opacity: 0;
    transition: opacity 2s ease;
  }
  
  .surprise-section.active .center-text {
    opacity: 1;
  }