:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #FEE2E2;
    --bg-start: #FFF5F5;
    --bg-end: #FECACA;
    --card-bg: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --accent-yellow: #F59E0B;
    --border-color: #FECACA;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(220,38,38,0.15);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFF5F5 0%, #FECACA 100%);
    min-height: 100vh;
    padding-bottom: 70px;
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

.pumpkin-header {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    border-radius: 25px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    margin-bottom: 20px;
}

.pumpkin-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #FECACA;
    transition: transform 0.2s;
    margin-bottom: 16px;
}

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

.pumpkin-btn {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    font-size: 0.95rem;
}

.pumpkin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.pumpkin-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.pumpkin-btn-green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.pumpkin-btn-purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.pumpkin-btn-gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #000;
}

.pumpkin-btn-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.progress-bar {
    height: 10px;
    background: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #DC2626, #F59E0B);
    width: 0%;
    transition: width 0.3s;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 25px 25px 0 0;
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
    font-weight: 500;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #DC2626;
}

.nav-item:hover {
    color: #DC2626;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #DC2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    padding: 20px;
    border-radius: 25px 25px 20px 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 3000;
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
    white-space: nowrap;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.3rem; }
.text-2xl { font-size: 1.6rem; }
.text-3xl { font-size: 2rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 50%; }
.bg-white { background: white; }
.bg-gray-100 { background: #F3F4F6; }
.bg-red-50 { background: #FEF2F2; }
.bg-green-50 { background: #F0FDF4; }
.bg-blue-50 { background: #EFF6FF; }
.bg-purple-50 { background: #F5F3FF; }
.bg-yellow-50 { background: #FFFBEB; }
.border { border: 1px solid #E5E7EB; }
.text-white { color: white; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-gray-400 { color: #9CA3AF; }
.text-red-500 { color: #EF4444; }
.text-red-600 { color: #DC2626; }
.text-green-500 { color: #10B981; }
.text-green-600 { color: #059669; }
.text-blue-500 { color: #3B82F6; }
.text-purple-500 { color: #8B5CF6; }
.text-yellow-500 { color: #F59E0B; }
.break-all { word-break: break-all; }
.hidden { display: none; }
.block { display: block; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

@media (max-width: 640px) {
    .pumpkin-card { padding: 15px; }
    .pumpkin-header { padding: 15px; }
    .text-3xl { font-size: 1.5rem; }
}

input[type="text"], input[type="number"], input[type="tel"], input[type="password"], select, textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    font-size: 0.95rem;
    font-family: inherit;
    background: #F9FAFB;
    color: #1F2937;
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.container { max-width: 480px; margin: 0 auto; padding: 0 16px; }