/* Punchlite Shared Foundation — Warm Craft Design System */

:root {
    /* Dark Mode (default) — Warm Craft palette */
    --bg-primary: #0f0e14;
    --bg-secondary: #17161e;
    --bg-card: #17161e;
    --bg-accent: #1f1e28;
    --text-primary: #ede9e3;
    --text-secondary: #a8a3b3;
    --text-muted: #6e6a7a;
    --border-color: rgba(255, 255, 255, 0.07);
    --gradient-start: #818cf8;
    --gradient-end: #a855f7;
    --gradient-start-hover: #6366f1;
    --gradient-end-hover: #9333ea;
    --accent: #e8a654;
    --accent-warm: #e8a654;
    --error: #ef4444;
    --warning: #f59e0b;
    --success: #34d399;
    --info: #818cf8;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
    --bg-primary: #f8f6f1;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-accent: #f0ede6;
    --text-primary: #2c2a2e;
    --text-secondary: #5c5766;
    --text-muted: #9a94a5;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

/* Body base */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* Background depth blobs */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    right: -10%;
    width: 55%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(129, 140, 248, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 45%;
    height: 45%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    background: radial-gradient(ellipse, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
}

[data-theme="light"] body::after {
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
}

/* Default link style */
a {
    color: var(--accent-warm);
}

/* Utility */
.hidden {
    display: none !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
