:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Card Style */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #dcfce7; color: #166534; }

/* Hero Section */
.hero {
    padding: 40px 0;
    text-align: center;
}

.hero img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

/* Mission List */
.mission-list {
    margin-top: 20px;
}

.mission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.mission-item:active {
    transform: scale(0.98);
}

.mission-info .location {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mission-info .title {
    font-weight: 700;
    font-size: 1.1rem;
}

.reward {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Steps */
.step-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.step-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Detail Page */
.detail-header {
    margin-bottom: 24px;
}

.checklist {
    list-style: none;
    margin: 20px 0;
}

.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.checklist li::before {
    content: '✔';
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.2rem;
}

.warning-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.warning-card p {
    color: #9a3412;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* Submit Page */
.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    background: white;
    margin-bottom: 20px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

/* Footer spacing */
.mt-auto {
    margin-top: auto;
    padding-top: 20px;
}
