:root {
    --warm: #c9a87c;
    --warm-light: #e8d5bc;
    --text-dark: #3a3632;
    --text-muted: #8a847d;
    --bg-cream: #faf8f5;
    --success: #8c9c81;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    overflow: hidden;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.feed-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.feed-container::-webkit-scrollbar {
    display: none;
}

.task-card {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.task-content {
    max-width: 950px;
    width: 100%;
}

.task-category {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--warm);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.task-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.task-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 3.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.btn-done {
    background: transparent !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--text-dark) !important;
    transition: all 0.4s ease;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: none !important;
    padding: 1rem 3rem !important;
}

.btn-done:hover {
    background: var(--text-dark) !important;
    color: var(--bg-cream) !important;
    transform: translateY(-2px);
}
.task-card.completed .task-title {
    text-decoration: line-through;
    opacity: 0.3;
    transition: opacity 0.8s ease;
}
.task-card.completed .task-desc {
    opacity: 0.3;
    transition: opacity 0.8s ease;
}
.task-card.completed .btn-done {
    border-color: transparent !important;
    color: var(--success) !important;
    background: transparent !important;
    pointer-events: none;
    transform: none;
}
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.5s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    color: var(--text-muted);
    animation: gentleBounce 2.5s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50%      { transform: translateY(6px); opacity: 0.7; }
}
.welcome-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-cream);
    z-index: 100;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.d-1 {
    animation-delay: 0.2s;
}
header .brand {
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    opacity: 0.8;
}
.streak-counter {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
}
.minimal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--warm-light);
    color: var(--text-dark);
    font-size: 2.2rem;
    text-align: center;
    padding: 0.5rem;
    outline: none;
    transition: border-color 0.4s ease;
    font-family: 'Cormorant Garamond', serif;
}
.minimal-input:focus {
    border-bottom-color: var(--warm);
}
.minimal-input::placeholder {
    color: var(--text-muted);
    opacity: 0.4;
}
.minimal-time-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.4s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 15px;
}
.minimal-time-btn:hover {
    color: var(--warm);
    transform: translateX(10px);
}
.minimal-time-btn:active {
    transform: translateX(5px);
}
.minimal-time-btn .dur {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.4s ease;
    min-width: 60px;
    text-align: right;
}
.minimal-time-btn:hover .dur {
    color: var(--warm);
}
.minimal-time-btn .label-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
@media (max-width: 768px) {
    .task-card {
        padding: 1.5rem;
    }
    .task-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
        margin-bottom: 1rem;
    }
    .task-desc {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    .minimal-input {
        font-size: 1.8rem;
    }
    .minimal-time-btn .dur {
        font-size: 2.5rem;
    }
}
