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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffebee;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: fixed;
}

.container {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.video-item {
    height: 100vh;
    width: 100vw;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.media-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0) 20%,
        rgba(0,0,0,0) 80%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 2;
}

.content-info {
    position: absolute;
    bottom: 100px;
    left: 20px;
    right: 80px;
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.description {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 8px;
    opacity: 0.95;
}

.date {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 300;
}

.sidebar {
    position: absolute;
    right: 15px;
    bottom: 100px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: rgba(255, 105, 180, 0.5);
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn.playing {
    display: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 105, 180, 0.8) 0%, rgba(255, 105, 180, 0) 100%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

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

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 20px;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-btn:hover,
.nav-btn.active {
    opacity: 1;
    transform: scale(1.2);
}

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

.heart {
    position: absolute;
    font-size: 20px;
    color: rgba(255, 105, 180, 0.8);
    animation: floatHeart 4s infinite ease-in-out;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(80vh) rotate(90deg) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(20vh) rotate(270deg) scale(1);
    }
    100% {
        transform: translateY(-20vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.upload-content {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.upload-area {
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #ff6b6b;
    background: rgba(255,107,107,0.1);
}

.upload-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a5a);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

input[type="file"] {
    display: none;
}

.progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    width: 0%;
    transition: width 0.1s linear;
}

.audio-controls {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.audio-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 105, 180, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background: rgba(255, 105, 180, 0.5);
    transform: scale(1.1);
}

.audio-btn.playing {
    background: rgba(255, 107, 107, 0.8);
    animation: pulse-audio 2s infinite;
}

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

.volume-control {
    width: 30px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    cursor: pointer;
    display: none;
}

.volume-control.show {
    display: block;
}

.volume-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
    border-radius: 15px;
    height: 70%;
    transition: height 0.3s ease;
}

.volume-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.music-info {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 20px;
    color: white;
    font-size: 0.9rem;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.music-info.show {
    opacity: 1;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
    margin-left: 10px;
}

.eq-bar {
    width: 3px;
    background: #ff6b6b;
    border-radius: 2px;
    animation: equalizer 1s ease-in-out infinite;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.1s; }
.eq-bar:nth-child(3) { animation-delay: 0.2s; }
.eq-bar:nth-child(4) { animation-delay: 0.3s; }
.eq-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes equalizer {
    0%, 100% { height: 5px; }
    50% { height: 20px; }
}

.video-item:first-child .content-info {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    background: rgba(255, 105, 180, 0.2);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-item:first-child .title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-item:first-child .description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-item:first-child .date {
    font-size: 1rem;
    opacity: 0.9;
}

.video-item:first-child .floating-hearts {
    opacity: 0.8;
}

.video-item:first-child .heart {
    font-size: 30px;
}

.video-item:first-child .media-content {
    height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-item:first-child {
    background: #ffebee;
}

@media (max-width: 480px) {
    .content-info {
        bottom: 10px;
        left: 15px;
        right: 70px;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .sidebar {
        right: 10px;
        bottom: 120px;
        gap: 15px;
    }
    
    .action-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

.valentine-card {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    position: relative;
    overflow: hidden;
}

.valentine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.valentine-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.valentine-message .title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.valentine-message .description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.valentine-message .date {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.valentine-card .floating-hearts {
    z-index: 1;
}

.valentine-card .heart {
    font-size: 35px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 480px) {
    .valentine-message {
        padding: 20px;
    }
    
    .valentine-message .title {
        font-size: 1.8rem;
    }
    
    .valentine-message .description {
        font-size: 1.1rem;
    }
}