/**
 * Data Landscape - Main Styles
 * Abstract landscape inspired by scientific illustration
 */

/* CSS Variables for easy palette adjustment */
:root {
    --bg-cream: #F9F6F0;
    --orange: #FF8354;
    --yellow: #FDDB64;
    --green: #98D3A1;
    --grey: #8B9B9B;
    --red: #FF4828;
    --teal: #71BC78;
    --dark-grey: #3A3A3A;
    --line-grey: rgba(58, 58, 58, 0.25);
}

/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow: hidden;
    background: var(--bg-cream);
    cursor: default;
}

/* Layer system - all fullscreen, stacked */
.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* SVG flow lines layer */
#flow-layer {
    z-index: 1;
}

/* Main canvas layer */
#main-canvas {
    z-index: 2;
}

/* Terminal container */
#terminal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* UI hints - subtle, scientific style */
#ui-hints {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.hint {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 9px;
    color: var(--dark-grey);
    text-align: right;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 1s ease;
}

/* Loading state */
body.loading {
    cursor: wait;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #ui-hints {
        bottom: 20px;
        right: 20px;
    }
    
    .hint {
        font-size: 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Selection styles */
::selection {
    background: rgba(0, 255, 136, 0.2);
    color: inherit;
}

/* Prevent text selection on canvas/SVG */
canvas, svg {
    user-select: none;
    -webkit-user-select: none;
}
