* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Breathing Overlay */
.breathing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.2s ease-out, height 0.2s ease-out;
}

/* Content */
.content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    animation: fadeInScale 1s ease-out forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stats */
.stats {
    display: flex;
    gap: clamp(2rem, 8vw, 6rem);
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 300;
    opacity: 0.7;
    text-transform: lowercase;
}

/* Input Container */
.input-container {
    width: 100%;
    margin-bottom: 3rem;
}

#todo-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    padding: 1rem 0;
    outline: none;
    transition: border-color 0.3s ease-out;
}

#todo-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#todo-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Filter Container */
.filter-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 300;
    padding: 0.5rem 1rem;
    cursor: none;
    outline: none;
    position: relative;
    transition: color 0.3s ease-out;
}

.filter-btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.filter-btn.active {
    color: #ffffff;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
}

/* Todo List */
.todo-list {
    list-style: none;
    width: 100%;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.todo-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: none;
    outline: none;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease-out;
}

.todo-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.todo-checkbox:checked {
    background: #ffffff;
}

.todo-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
}

.todo-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.todo-text {
    flex: 1;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    transition: all 0.3s ease-out;
}

.todo-item.completed .todo-text {
    opacity: 0.3;
    text-decoration: line-through;
}

.todo-item.archived {
    opacity: 0.6;
}

.todo-item.archived .todo-text {
    opacity: 0.5;
}

.todo-delete {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    cursor: none;
    outline: none;
    padding: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.todo-item:hover .todo-delete {
    opacity: 1;
}

.todo-item.archived .todo-delete {
    opacity: 0.5;
}

.todo-item.archived:hover .todo-delete {
    opacity: 1;
    color: rgba(255, 255, 255, 0.5);
}

.todo-delete:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 0;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    opacity: 0.3;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .stats {
        gap: clamp(1.5rem, 6vw, 4rem);
    }
    
    .filter-container {
        gap: 1.5rem;
    }
}

/* Smooth Transitions */
* {
    transition-timing-function: ease-out;
}

