:root {
    --bg-color: #FFEDF3;
    --text-color: #2D1B14;
    --brown: #7B4B36;
    --pink: #E8A0BF;
    --lilac: #C9A9E8;
    --gold: #FFD166;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --progress-bg: rgba(0, 0, 0, 0.2);
    --progress-fill: rgba(255, 255, 255, 0.9);
    
    /* Craft & Polish Pass Variables */
    --ease-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Type Scale */
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-xl: clamp(2rem, 1.8rem + 1vw, 2.5rem);
    
    /* Spacing */
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 30px;
    --space-xl: 40px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    /* Custom Cursor on Desktop */
    body {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23E8A0BF" stroke="%237B4B36" stroke-width="1.5"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 12 12, auto;
    }
    .haptic-btn, label, button, .flame {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="%23FFD166" stroke="%237B4B36" stroke-width="1.5"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 14 14, pointer !important;
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    touch-action: pan-y;
}

h1, h2, h3, .sticker-text {
    font-family: 'Fredoka', sans-serif;
    letter-spacing: 0.02em;
}

.app-container {
    position: relative;
    width: 100vw;
    height: 100dvh;
    margin: 0 auto;
    background-color: var(--bg-color);
    overflow: hidden;
    z-index: 1;
}

/* Global Hidden Class */
.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    transform: scale(0.9);
}

/* Background Decorations */
.decorations-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.floating-deco {
    position: absolute;
    font-size: 2rem;
    opacity: 0.5;
    will-change: transform;
    /* animation-name / duration / delay are randomised per-element in JS */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

/* Three gentle drift paths so decorations never move in unison */
@keyframes drift-a {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate(18px, -30px) rotate(12deg) scale(1.08); }
    100% { transform: translate(-12px, -55px) rotate(-8deg) scale(1); }
}
@keyframes drift-b {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-24px, -20px) rotate(-15deg); }
    100% { transform: translate(14px, -48px) rotate(18deg); }
}
@keyframes drift-c {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate(10px, 26px) rotate(20deg) scale(0.92); }
    100% { transform: translate(-16px, 42px) rotate(-12deg) scale(1); }
}

/* Loading Screen */
.loader-screen {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.loader-screen.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.heart-loader {
    width: 80px;
    height: 80px;
}

.heart-path {
    fill: transparent;
    stroke: var(--pink);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawHeart 2s forwards var(--ease-smooth);
}

@keyframes drawHeart {
    0% { stroke-dashoffset: 300; fill: transparent; transform: scale(1); }
    70% { stroke-dashoffset: 0; fill: transparent; transform: scale(1); }
    100% { stroke-dashoffset: 0; fill: var(--pink); transform: scale(1.1); }
}

/* Progress Bar */
.progress-bar-container {
    position: absolute;
    top: env(safe-area-inset-top, 10px);
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: var(--space-sm);
    z-index: 100;
}

.progress-segment {
    flex: 1;
    height: 2px;
    background-color: var(--progress-bg);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--progress-fill);
    width: 0%;
    transform-origin: left;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    transition: width 0.15s linear;
}

.progress-segment.completed .progress-fill {
    width: 100%;
}

/* Slides */
.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    padding-top: calc(30px + env(safe-area-inset-top, 0px));
}

.slide.slide-active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    position: relative;
    z-index: 10;
}

.center-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Navigation Zones */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--pink);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, transform 0.2s var(--ease-bouncy), box-shadow 0.2s ease;
}
.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.nav-left { left: 10px; }
.nav-right { right: 10px; }

/* Hand-Made Details */
.handwritten-note {
    font-family: 'Caveat', cursive;
    font-size: var(--text-lg);
    color: var(--brown);
    transform: rotate(-10deg);
    margin-bottom: -15px;
    z-index: 2;
    opacity: 0.9;
}

.footer-credit {
    position: absolute;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--brown);
    opacity: 0.5;
    font-weight: 500;
}

/* Aesthetics */
.sticker-text {
    font-size: var(--text-xl);
    font-weight: 600;
    color: #fff;
    /* Soft, multi-layered text shadow */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.15);
    background-color: var(--pink);
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    transform: rotate(-3deg);
    display: inline-block;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px rgba(232, 160, 191, 0.4);
    position: relative;
    z-index: 10;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    font-size: var(--text-base);
    color: var(--text-color);
    margin-top: var(--space-lg);
    width: 90%;
    max-width: 400px;
    font-family: 'Quicksand', sans-serif;
}

/* Inline Name Badge */
.name-badge {
    display: inline-block;
    background: var(--pink);
    color: white;
    padding: 2px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    line-height: 1.2;
    margin: 0 4px;
    border: 2px solid white;
    font-weight: bold;
}

/* Cover Slide Sticker Photos */
.sticker-photo {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 5;
    background: rgba(255,255,255,0.7);
    overflow: hidden;
}
.sticker-photo .photo-placeholder {
    border: none;
    border-radius: 0;
    background: transparent;
}
.sticker-photo .upload-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.sticker-photo .image-preview {
    border-radius: 50%;
}
.sticker-1 { top: 8%; left: 5%; transform: rotate(-12deg); }
.sticker-2 { top: 12%; right: 5%; transform: rotate(15deg); }
.sticker-3 { bottom: 12%; left: 2%; transform: rotate(8deg); }
.sticker-4 { bottom: 8%; right: 8%; transform: rotate(-10deg); }

@media (min-width: 600px) {
    .sticker-photo { width: 180px; height: 180px; }
    .sticker-photo .upload-icon { font-size: 3rem; }
    .sticker-1 { top: 10%; left: 8%; }
    .sticker-2 { top: 15%; right: 8%; }
    .sticker-3 { bottom: 10%; left: 8%; }
    .sticker-4 { bottom: 15%; right: 8%; }
}

/* Countdown Styles */
.countdown-state, .celebration-state {
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.countdown-state.fade-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
}
.countdown-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: var(--space-md);
}
.countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    min-width: 70px;
    margin-top: 0;
}
.countdown-val {
    font-family: 'Fredoka', sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--pink);
    display: inline-block;
    transition: transform 0.3s var(--ease-bouncy), opacity 0.3s var(--ease-smooth);
}
.countdown-val.tick {
    transform: translateY(-10px) scale(0.9);
    opacity: 0.5;
}
.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 4px;
}

.story-ring {
    padding: 6px;
    background: var(--ig-gradient);
    border-radius: 20px;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.polaroid-card {
    background: #fff;
    padding: 8px 8px 30px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 4px;
    transition: transform 0.3s ease, z-index 0s;
}
.polaroid-card:hover {
    transform: scale(1.08) rotate(0deg) !important;
    z-index: 100 !important;
}

.slide-2-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.collage-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin-bottom: var(--space-md);
}

.collage-slot {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    /* Removed padding as polaroid-card handles it */
}

.tree-container {
    display: block; 
    width: 100%;
    max-width: 400px;
    height: 450px;
    position: relative;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .slide-2-layout {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .collage-container {
        display: block;
        position: relative;
        width: 100%;
        height: 450px;
        max-width: 500px;
        margin-bottom: 0;
    }
    .collage-slot {
        position: absolute;
        width: 180px;
        height: 220px;
        /* transition handled by polaroid-card */
    }
    .slot-1 { top: 5%; left: 0%; transform: rotate(-5deg); z-index: 5; }
    .slot-2 { top: 35%; left: 30%; transform: rotate(3deg); z-index: 6; }
    .slot-3 { top: 0%; right: 0%; transform: rotate(8deg); z-index: 4; }
    .slot-4 { top: 45%; right: 10%; transform: rotate(-4deg); z-index: 7; }
}

/* Tree Canvas */
#treeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.4));
}

.caption-bottom {
    margin-top: 0;
    z-index: 50;
    position: relative;
}

.photo-container {
    width: 280px;
    height: 350px;
    position: relative;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed rgba(232, 160, 191, 0.6); /* Soft dashed border */
    color: var(--brown);
    font-weight: 600;
    min-height: 44px;
    min-width: 44px;
    z-index: 20;
    position: relative;
    transition: background-color 0.3s ease;
}

.photo-placeholder span:not(.upload-icon) {
    display: none; /* Hide text on collage slots */
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hidden-input { display: none; }

.image-preview {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    z-index: 15;
    pointer-events: none;
}

/* Haptic Buttons */
.haptic-btn {
    transition: transform 0.2s var(--ease-bouncy), box-shadow 0.2s var(--ease-bouncy);
    user-select: none;
}
.haptic-btn:active {
    transform: scale(0.92);
}

/* --- Animations & Effects --- */
/* Staggered Animations */
.staggered-item {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.5s var(--ease-bouncy), transform 0.5s var(--ease-bouncy);
}
.staggered-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Cake & Candle */
.cake-container {
    position: relative;
    font-size: 6rem;
    margin: var(--space-lg) 0;
    min-height: 100px;
    min-width: 100px;
    display: flex;
    justify-content: center;
    transition: opacity 2s ease 2s, transform 2s ease 2s; /* Slower */
}

.lights-on-state:not(.hidden) .cake-container {
    opacity: 1 !important;
    transform: translateY(0) !important;
    /* Once revealed, float gently */
    animation: cakeFloat 3s ease-in-out infinite 4.5s;
}

.candle {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 40px;
    background: repeating-linear-gradient(45deg, #fff, #fff 5px, #ff6b6b 5px, #ff6b6b 10px);
    border-radius: 5px;
    z-index: 5;
}

.flame {
    position: absolute;
    top: -45px;
    width: 20px;
    height: 25px;
    background: radial-gradient(ellipse at center, #ffeb3b 0%, #ff9800 100%);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 20px #ffeb3b, 0 0 40px #ff9800;
    animation: flicker 0.15s infinite alternate;
    z-index: 10;
    min-width: 44px;
    min-height: 44px;
    transition: opacity 1.5s ease 4s; /* Slower candle light up */
}
.flame::after { content: ''; position: absolute; top: -15px; left: -15px; right: -15px; bottom: -15px; }

.lights-on-state:not(.hidden) .flame {
    opacity: 1 !important;
}

/* Lights On Sequence */
.slide.dark-mode {
    background-color: #111;
    color: #fff;
    transition: background-color 1.5s ease;
}
.slide.lights-on-transition {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.lights-off-state {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 50;
    transition: opacity 0.5s ease;
}

.lights-on-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255,215,0,0.15), inset 0 0 10px rgba(255,255,255,0.05);
    letter-spacing: 0.05em;
    transition: transform 0.2s var(--ease-bouncy), box-shadow 0.2s ease, background 0.2s ease;
}
.lights-on-btn:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 30px rgba(255,215,0,0.35), inset 0 0 12px rgba(255,255,255,0.1);
}

.hanging-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    overflow: hidden;
}

.bird-wire {
    width: 100%;
    height: 100px;
}

.glow-bird {
    opacity: 0.15;
    transition: opacity 1s ease, filter 1s ease;
}

/* Animate birds with warm alternating pulsing glow once lights are on */
.lights-on-state:not(.hidden) .glow-bird {
    opacity: 1;
}
.lights-on-state:not(.hidden) .b1 {
    transition-delay: 0.2s;
    animation: birdGlow1 2.5s ease-in-out infinite 1.5s;
    fill: #FFD700;
}
.lights-on-state:not(.hidden) .b2 {
    transition-delay: 0.5s;
    animation: birdGlow2 3s ease-in-out infinite 1.8s;
    fill: #FFB347;
}
.lights-on-state:not(.hidden) .b3 {
    transition-delay: 0.8s;
    animation: birdGlow1 2.8s ease-in-out infinite 2.1s;
    fill: #FFEC8B;
}
.lights-on-state:not(.hidden) .b4 {
    transition-delay: 1.1s;
    animation: birdGlow2 2.6s ease-in-out infinite 2.4s;
    fill: #FFA07A;
}

.final-message {
    transition: opacity 0.6s var(--ease-smooth);
}
.final-message.hidden {
    opacity: 0;
    pointer-events: none;
}

.replay-btn {
    margin-top: var(--space-lg);
    padding: 14px 28px;
    border: none;
    border-radius: 20px;
    background: var(--ig-gradient);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: var(--text-base);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.25s var(--ease-bouncy), box-shadow 0.25s ease;
}
.replay-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.tap-prompt {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.easter-egg-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
    width: 100%; height: 100%;
}

.secret-note {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
    font-family: 'Caveat', cursive;
    color: var(--pink);
    font-size: var(--text-lg);
    opacity: 0;
    transform: translateY(10px);
    animation: revealNote 3s forwards var(--ease-bouncy);
}

@keyframes revealNote {
    10% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.first-slide-heart {
    position: absolute;
    color: #ff69b4;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(255, 105, 180, 0.9)) drop-shadow(0 0 15px rgba(255, 105, 180, 0.6));
    animation: floatDown linear forwards;
}

@keyframes floatDown {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.9; }
    80% { opacity: 0.9; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

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

@keyframes flicker {
    0% { transform: scale(1) rotate(-1deg); }
    100% { transform: scale(1.1) rotate(1deg); }
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-30px) scale(1.5); opacity: 0; }
}


@keyframes birdGlow1 {
    0%, 100% { filter: drop-shadow(0 0 8px #FFD700) drop-shadow(0 0 3px #fff); opacity: 0.85; }
    50% { filter: drop-shadow(0 0 22px #FFD700) drop-shadow(0 0 10px #fffbe0); opacity: 1; }
}
@keyframes birdGlow2 {
    0%, 100% { filter: drop-shadow(0 0 12px #FFB347) drop-shadow(0 0 4px #fff); opacity: 0.9; }
    50% { filter: drop-shadow(0 0 28px #FFB347) drop-shadow(0 0 12px #ffd9a0); opacity: 1; }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

 . n a n o - h e a r t   { 
         p o s i t i o n :   a b s o l u t e ; 
         c o l o r :   # f f 6 9 b 4 ; 
         f o n t - s i z e :   0 . 6 r e m ; 
         p o i n t e r - e v e n t s :   n o n e ; 
         z - i n d e x :   1 0 ; 
         o p a c i t y :   0 . 6 ; 
         a n i m a t i o n :   f l o a t D o w n   l i n e a r   i n f i n i t e ; 
 } 
 
 @ k e y f r a m e s   f l o a t D o w n   { 
         0 %   {   t r a n s f o r m :   t r a n s l a t e Y ( - 1 0 v h )   r o t a t e ( 0 d e g ) ;   o p a c i t y :   0 ;   } 
         1 0 %   {   o p a c i t y :   0 . 7 ;   } 
         9 0 %   {   o p a c i t y :   0 . 7 ;   } 
         1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e Y ( 1 1 0 v h )   r o t a t e ( 3 6 0 d e g ) ;   o p a c i t y :   0 ;   } 
 } 
  
 