:root {
    --primary: #2563eb;
    --accent: #f59e0b;
    --bg: #f1f5f9;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.main-container { width: 100%; max-width: 480px; }

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

header { text-align: center; }

.live-indicator {
    color: #dc2626;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

h1 { font-size: 1.6rem; margin: 0.5rem 0 1.5rem; color: #1e293b; }

/* Milestone Styling */
.milestone-banner {
    background: #fffbeb;
    border: 1px dashed var(--accent);
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 1.5rem;
}

.counter-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

#total-count { font-size: 3rem; font-weight: 800; color: var(--primary); display: block; }

.progress-container {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    margin: 1rem 0 0.5rem;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    transition: width 1s ease-out;
}

.goal-text { font-size: 12px; color: #64748b; font-weight: 700; margin: 0; }

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.hidden { display: none; }

#success-area { text-align: center; color: #15803d; padding: 20px; }

.feed { margin-top: 2rem; border-top: 1px solid #f1f5f9; }

.sig-item { padding: 10px 0; border-bottom: 1px solid #f8fafc; }
.sig-item strong { font-size: 14px; color: #334155; }
.sig-item p { font-size: 13px; color: #64748b; margin: 2px 0; }
