:root {
    --bg-dark: #111827;
    --card-bg: rgba(30, 41, 59, 0.7);
    --hakan: #38bdf8; /* Açık Mavi */
    --ayse: #f472b6;  /* Tatlı Pembe */
    --accent: #8b5cf6; /* Mor */
    --text: #f1f5f9;
}

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

/* Arkaplan Gradyanı */
.bg-gradient {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(244, 114, 182, 0.15), transparent 40%);
    z-index: -1;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Header Tasarımı */
header {
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.couple-badge {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.h-text { color: var(--hakan); }
.a-text { color: var(--ayse); }

.status-pill {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.clock-area { text-align: center; margin-bottom: 20px; }
#clock { font-size: 3.5rem; margin: 0; font-weight: 700; letter-spacing: -2px; line-height: 1; }
#greeting { color: #94a3b8; margin: 5px 0 0; font-size: 1rem; }

/* Aktif Görev Kartı */
.current-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-icon {
    font-size: 2rem;
    background: rgba(0,0,0,0.2);
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.card-info { flex: 1; }
.card-info h2 { margin: 0 0 8px; font-size: 1.1rem; font-family: 'Fredoka', sans-serif; }

.progress-track {
    background: rgba(255,255,255,0.1);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 6px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hakan), var(--ayse));
    width: 0%;
    transition: width 1s ease;
}
#time-remaining { font-size: 0.8rem; color: #cbd5e1; }

/* Timeline Akışı */
.timeline-area { padding: 20px; }

.flow-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.flow-item.active {
    opacity: 1;
    transform: scale(1.02);
}

.time {
    font-size: 0.9rem;
    color: #64748b;
    padding-top: 15px;
    min-width: 45px;
    text-align: right;
    font-weight: 600;
}
.flow-item.active .time { color: var(--hakan); }

.card {
    flex: 1;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Focus Modu (Özel Tasarım) */
.card.focus-mode {
    display: block;
    background: linear-gradient(160deg, #1e293b, #0f172a);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.focus-header {
    text-align: center;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.dual-task {
    display: grid;
    gap: 10px;
}

.task {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    border-left: 3px solid #ccc;
}
.task.ayse { border-color: var(--ayse); }
.task.hakan { border-color: var(--hakan); }
.task span { font-size: 0.75rem; font-weight: bold; opacity: 0.8; }
.task p { margin: 3px 0 0; font-size: 0.95rem; }

.details h3 { margin: 0 0 5px; font-family: 'Fredoka', sans-serif; font-size: 1.1rem; }
.details p { margin: 0; font-size: 0.9rem; color: #cbd5e1; line-height: 1.4; }
.details small { display: block; margin-top: 8px; color: var(--hakan); font-size: 0.75rem; }

.icon { font-size: 1.5rem; }

.end-note { text-align: center; margin-top: 30px; color: #64748b; font-family: 'Fredoka', sans-serif; }