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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    transition: all 0.8s ease;
    position: relative;
}
/* Footer */
.footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}
/* Background Videos/GIFs */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}


.bg-neutral {
    background: linear-gradient(135deg, rgba(2, 138, 131, 0.63) 0%, rgba(109, 4, 37, 0.8) 100%);
} 

/* Audio Visualizer */
.audio-visualizer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: none;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.audio-visualizer.active {
    display: flex;
}

.wave-bar {
    width: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 30px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 45px; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 60px; animation-delay: 0.3s; }
.wave-bar:nth-child(4) { height: 80px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 100px; animation-delay: 0.5s; }
.wave-bar:nth-child(6) { height: 120px; animation-delay: 0.6s; }
.wave-bar:nth-child(7) { height: 100px; animation-delay: 0.7s; }
.wave-bar:nth-child(8) { height: 80px; animation-delay: 0.8s; }
.wave-bar:nth-child(9) { height: 60px; animation-delay: 0.9s; }
.wave-bar:nth-child(10) { height: 45px; animation-delay: 1.0s; }
.wave-bar:nth-child(11) { height: 30px; animation-delay: 1.1s; }
.wave-bar:nth-child(12) { height: 50px; animation-delay: 1.2s; }
.wave-bar:nth-child(13) { height: 70px; animation-delay: 1.3s; }
.wave-bar:nth-child(14) { height: 90px; animation-delay: 1.4s; }
.wave-bar:nth-child(15) { height: 110px; animation-delay: 1.5s; }
.wave-bar:nth-child(16) { height: 130px; animation-delay: 1.6s; }
.wave-bar:nth-child(17) { height: 150px; animation-delay: 1.7s; }
.wave-bar:nth-child(18) { height: 130px; animation-delay: 1.8s; }
.wave-bar:nth-child(19) { height: 110px; animation-delay: 1.9s; }
.wave-bar:nth-child(20) { height: 90px; animation-delay: 2.0s; }
.wave-bar:nth-child(21) { height: 70px; animation-delay: 2.1s; }
.wave-bar:nth-child(22) { height: 50px; animation-delay: 2.2s; }
.wave-bar:nth-child(23) { height: 30px; animation-delay: 2.3s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
    50% { transform: scaleY(1.2); opacity: 1; }
}
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
}

/* Header */
.header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    color: white;
    letter-spacing: 2px;
}

.current-mood {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-moods {
    display: flex;
    gap: 12px;
    align-items: center;
}

.navbar-mood-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    justify-content: center;
}

.navbar-mood-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.navbar-mood-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.menu-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    
}

.welcome-title {
    color: white;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Music controls */
.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-top: 100px;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.music-btn.playing {
    background: rgba(255, 255, 255, 0.4);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: right 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-title {
    color: white;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.task-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    margin-bottom: 12px;
}

.task-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.task-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
}

.add-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tasks-container {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.task-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.task-text {
    color: white;
    font-size: 14px;
    flex: 1;
}

.task-item.completed .task-text {
    text-decoration: line-through;
    opacity: 1;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.task-action {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.task-action:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.2);
}

    @media (max-width: 768px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }
    
    .navbar-moods {
        order: -1;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-mood-btn {
        font-size: 11px;
        padding: 6px 10px;
        min-width: 60px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .welcome-section {
        padding: 24px;
    }
}