/* ==========================================================================
   TerraForge Studio - Professional Glassmorphic Botanical Design System
   ========================================================================== */

:root {
    --forest-50: #f2f7f4;
    --forest-100: #e1ede6;
    --forest-200: #c5dcd0;
    --forest-300: #9cc2b0;
    --forest-400: #6ea28b;
    --forest-500: #4c856e;
    --forest-600: #386a56;
    --forest-700: #2d5546;
    --forest-800: #1e3a2f;
    --forest-900: #13261f;
    --forest-950: #0a1511;

    --terracotta-400: #e68f6d;
    --terracotta-500: #dc6e46;
    --terracotta-600: #c95631;

    --parchment-50: #fcfbf7;
    --parchment-100: #f7f4eb;
    --parchment-200: #efe9d6;
    --parchment-300: #e2d7b8;
}

body {
    background-color: #0b1410;
    color: #f7f4eb;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(56, 106, 86, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(220, 110, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(19, 38, 31, 0.5) 0%, transparent 100%);
    background-attachment: fixed;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(10, 21, 17, 0.6);
}
::-webkit-scrollbar-thumb {
    background: #2d5546;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc6e46;
}

/* Glassmorphic Panels */
.glass-panel {
    background: rgba(15, 30, 24, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(156, 194, 176, 0.14);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
}

.glass-panel-elevated {
    background: rgba(19, 38, 31, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(156, 194, 176, 0.22);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.parchment-card {
    background: linear-gradient(135deg, #fcfbf7 0%, #f7f4eb 100%);
    color: #13261f;
    border: 1px solid #e2d7b8;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
}

.terrarium-stage {
    background: radial-gradient(circle at 50% 32%, rgba(76, 133, 110, 0.28) 0%, rgba(11, 20, 16, 0.95) 78%);
}

.selected-item-ring {
    filter: drop-shadow(0 0 10px rgba(220, 110, 70, 0.95));
}

/* Range Input Enhancements */
input[type="range"] {
    accent-color: #dc6e46;
}

input[type="range"]::-webkit-slider-thumb {
    cursor: grab;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.18);
}

/* Micro-Animations */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.animate-float {
    animation: floatSlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.08); }
}

.mist-particle {
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes subtleShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-bg {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: subtleShimmer 3.5s infinite;
}

