/* ================================
   COMFYUI NOISE - BASE STYLES
   Common styles for all node pages
   ================================ */

/* GEIST FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* CSS CUSTOM PROPERTIES FOR EASY THEMING */
:root {
    /* Layout Variables */
    --container-max-width: 1400px;
    --sidebar-width: 300px;
    --container-gap: 40px;
    --section-padding: 20px;
    
    /* Typography Variables - UPDATED TO GEIST */
    --font-primary: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    --font-weight-thin: 100;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --font-size-hero: clamp(3rem, 8vw, 8rem);
    --font-size-title: 36px;
    --font-size-subtitle: 24px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-size-tiny: 12px;
    
    /* Base Colors */
    --color-black: #000;
    --color-dark-gray: #111;
    --color-gray: #222;
    --color-light-gray: #333;
    --color-white: #fff;
    --color-text-primary: #fff;
    --color-text-secondary: #ccc;
    --color-text-muted: #aaa;
    
    /* Generator Theme Colors */
    --color-generator-primary: #00ff00;
    --color-generator-secondary: #00ffff;
    --color-generator-accent: #ff4400;
    
    /* Processor Theme Colors */
    --color-processor-primary: #ff0040;
    --color-processor-secondary: #ff0080;
    --color-processor-accent: #8a2be2;
    
    /* Utility Theme Colors */
    --color-utility-primary: #ff8c00;
    --color-utility-secondary: #00ff00;
    --color-utility-accent: #1e90ff;
    
    /* Animation Variables */
    --animation-duration-fast: 0.2s;
    --animation-duration-normal: 0.3s;
    --animation-duration-slow: 0.5s;
    --animation-easing: ease;
    
    /* Border Variables */
    --border-radius-small: 4px;
    --border-radius-normal: 8px;
    --border-width-thin: 1px;
    --border-width-thick: 2px;
    --border-width-heavy: 4px;
    
    /* Shadow Variables */
    --shadow-text: 4px 4px 0px;
    --shadow-subtle: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-strong: 0 4px 8px rgba(0,0,0,0.3);
}

/* RESET & FUNDAMENTALS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    background: var(--color-black);
    color: var(--color-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* LAYOUT SYSTEM */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--container-gap);
}

.main-content {
    min-height: 100vh;
    padding: var(--section-padding);
}

.sidebar {
    background: #111;
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: 100vh;
    overflow-y: auto;
}

/* TYPOGRAPHY SYSTEM */
.node-title {
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    text-shadow: var(--shadow-text) var(--color-text-primary);
    line-height: 0.9;
}

.node-category {
    background: var(--color-text-primary);
    color: var(--color-black);
    padding: 8px 20px;
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-small);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
    margin-bottom: 30px;
}

.node-desc, .node-description {
    font-size: 18px;
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* HEADER SYSTEM */
.header {
    background: linear-gradient(90deg, var(--color-black) 0%, var(--color-dark-gray) 50%, var(--color-black) 100%);
    padding: 40px var(--section-padding);
    border-bottom: var(--border-width-heavy) solid currentColor;
    position: relative;
}

.node-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.node-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-text) var(--color-text-primary));
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(255,255,255,0.1) 4px,
        rgba(255,255,255,0.1) 8px
    );
    pointer-events: none;
}

.back-btn, .back-link {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 12px 24px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-small);
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
    transition: all var(--animation-duration-fast) var(--animation-easing);
    margin-bottom: 30px;
}

.back-btn:hover, .back-link:hover {
    background: currentColor;
    color: var(--color-white);
    transform: translateX(-4px);
}

/* VISUAL ANIMATION AREA */
.node-visual {
    background: #111;
    border: 2px solid #333;
    height: 300px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-text {
    color: var(--accent-color, #fff);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    text-align: center;
}

/* ================================
   ANIMATION VISUAL ELEMENTS
   ================================ */

/* NOISE GENERATOR VISUALS */
.waveform {
    position: absolute;
    width: 200px;
    height: 3px;
    background: var(--accent-color, #fff);
    border-radius: 2px;
    opacity: 0.7;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.waveform:nth-child(1) { top: 45%; transform: translate(-50%, -50%) rotate(-10deg); }
.waveform:nth-child(2) { top: 50%; transform: translate(-50%, -50%) rotate(-5deg); }
.waveform:nth-child(3) { top: 55%; transform: translate(-50%, -50%) rotate(0deg); }
.waveform:nth-child(4) { top: 60%; transform: translate(-50%, -50%) rotate(5deg); }
.waveform:nth-child(5) { top: 65%; transform: translate(-50%, -50%) rotate(10deg); }

.signal-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-color, #fff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.frequency-bars {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.frequency-bars .bar {
    width: 8px;
    background: var(--accent-color, #fff);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
}

.frequency-bars .bar:nth-child(1) { height: 20px; }
.frequency-bars .bar:nth-child(2) { height: 35px; }
.frequency-bars .bar:nth-child(3) { height: 50px; }
.frequency-bars .bar:nth-child(4) { height: 65px; }
.frequency-bars .bar:nth-child(5) { height: 45px; }
.frequency-bars .bar:nth-child(6) { height: 30px; }
.frequency-bars .bar:nth-child(7) { height: 15px; }

/* PERLIN NOISE VISUALS */
.noise-field {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.3;
}

.organic-layer {
    position: absolute;
    width: 120px;
    height: 80px;
    background: var(--accent-color, #fff);
    border-radius: 60% 40% 30% 70%;
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.organic-layer:nth-child(2) {
    width: 80px;
    height: 120px;
    border-radius: 40% 60% 70% 30%;
    opacity: 0.15;
}

.organic-layer:nth-child(3) {
    width: 100px;
    height: 100px;
    border-radius: 70% 30% 50% 50%;
    opacity: 0.1;
}

.fractal-center {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color, #fff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.perlin-octaves {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.perlin-octaves .octave {
    width: 30px;
    height: 4px;
    background: var(--accent-color, #fff);
    border-radius: 2px;
    opacity: 0.6;
}

.perlin-octaves .octave:nth-child(1) { width: 30px; }
.perlin-octaves .octave:nth-child(2) { width: 25px; }
.perlin-octaves .octave:nth-child(3) { width: 20px; }
.perlin-octaves .octave:nth-child(4) { width: 15px; }
.perlin-octaves .octave:nth-child(5) { width: 10px; }
.perlin-octaves .octave:nth-child(6) { width: 8px; }

/* TRUE CHAOS VISUALS */
.attractor-space {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color, #fff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.chaos-equations {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--accent-color, #fff);
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0.6;
    line-height: 1.3;
}

.lorenz-attractor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.lorenz-attractor .trajectory {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color, #fff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    opacity: 0.7;
}

.phase-space {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-color, #fff);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

.chaos-parameters {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.chaos-parameters .param-indicator {
    width: 12px;
    height: 12px;
    background: var(--accent-color, #fff);
    border-radius: 50%;
    opacity: 0.5;
}

/* AUDIO ANALYZER VISUALS */
.analysis-display {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, var(--accent-color, #fff) 50%, transparent 51%);
    opacity: 0.1;
}

.meter-section {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rms-meter, .peak-meter {
    width: 100px;
    height: 8px;
    background: #333;
    border-radius: 4px;
    position: relative;
}

.rms-level, .peak-level {
    height: 100%;
    background: var(--accent-color, #fff);
    border-radius: 4px;
    width: 60%;
}

.meter-labels {
    color: var(--accent-color, #fff);
    font-family: var(--font-mono);
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.7;
}

.spectrum-analyzer {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.spectrum-analyzer .spectrum-bar {
    width: 6px;
    background: var(--accent-color, #fff);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

.spectrum-analyzer .spectrum-bar:nth-child(1) { height: 15px; }
.spectrum-analyzer .spectrum-bar:nth-child(2) { height: 25px; }
.spectrum-analyzer .spectrum-bar:nth-child(3) { height: 40px; }
.spectrum-analyzer .spectrum-bar:nth-child(4) { height: 60px; }
.spectrum-analyzer .spectrum-bar:nth-child(5) { height: 45px; }
.spectrum-analyzer .spectrum-bar:nth-child(6) { height: 30px; }
.spectrum-analyzer .spectrum-bar:nth-child(7) { height: 20px; }
.spectrum-analyzer .spectrum-bar:nth-child(8) { height: 35px; }
.spectrum-analyzer .spectrum-bar:nth-child(9) { height: 25px; }
.spectrum-analyzer .spectrum-bar:nth-child(10) { height: 15px; }

.phase-correlation {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color, #fff);
    border-radius: 50%;
    opacity: 0.4;
}

.analysis-readouts {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.analysis-readouts .readout {
    text-align: center;
}

.readout-label {
    color: var(--accent-color, #fff);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: bold;
    opacity: 0.7;
}

.readout-value {
    color: var(--accent-color, #fff);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: bold;
    margin-top: 2px;
}

/* GRANULAR PROCESSOR VISUALS */
.grain-cloud {
    position: absolute;
    width: 100%;
    height: 100%;
}

.grain {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color, #fff);
    border-radius: 50%;
    opacity: 0.6;
}

/* DISTORTION VISUALS */
.distortion-wave {
    position: absolute;
    top: 50%;
    width: 180px;
    height: 3px;
    background: var(--accent-color, #fff);
    border-radius: 2px;
    transform: translateY(-50%);
}

.input-wave {
    left: 20px;
    opacity: 0.7;
}

.output-wave {
    right: 20px;
    opacity: 0.9;
}

/* FILTER VISUALS */
.filter-sweep {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 4px;
    height: 80%;
    background: var(--accent-color, #fff);
    transform: translateY(-50%);
    opacity: 0.8;
}

/* MIXER VISUALS */
.mixer-channels {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.mixer-channels .channel {
    width: 20px;
    background: var(--accent-color, #fff);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
}

.mixer-channels .channel:nth-child(1) { height: 40px; }
.mixer-channels .channel:nth-child(2) { height: 60px; }
.mixer-channels .channel:nth-child(3) { height: 35px; }
.mixer-channels .channel:nth-child(4) { height: 50px; }

/* REVERB VISUALS */
.reverb-impulse {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color, #fff), transparent);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* SPECS GRID SYSTEM */
.specs, .specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 60px var(--section-padding);
}

.spec-section {
    background: var(--color-dark-gray);
    border: var(--border-width-thin) solid var(--color-light-gray);
    position: relative;
}

.spec-section:nth-child(1) {
    border-right: none;
}

.spec-title {
    background: currentColor;
    color: var(--color-black);
    padding: 20px;
    font-size: var(--font-size-subtitle);
    font-weight: var(--font-weight-extrabold);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: var(--border-width-thin) solid var(--color-light-gray);
}

.section-header {
    background: linear-gradient(90deg, #333 0%, #222 50%, #333 100%);
    padding: 30px;
    position: relative;
}

.section-content {
    padding: 40px;
}

/* PARAMETER SYSTEM */
.param {
    padding: 20px;
    border-bottom: var(--border-width-thin) solid var(--color-gray);
    transition: all var(--animation-duration-fast) var(--animation-easing);
}

.param:hover {
    background: rgba(255,255,255,0.02);
    border-left: var(--border-width-heavy) solid currentColor;
}

.param:last-child {
    border-bottom: none;
}

.param-name {
    color: currentColor;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-body);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.param-type {
    background: var(--color-light-gray);
    color: var(--color-text-primary);
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: var(--font-size-tiny);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.param-range {
    color: var(--color-text-primary);
    font-family: var(--font-mono);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-small);
    margin-bottom: 8px;
}

.param-desc, .param-description {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-small);
    line-height: 1.4;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.feature {
    background: #111;
    padding: 30px;
    border-left: 4px solid var(--accent-color, #fff);
    transition: all 0.2s ease;
}

.feature:hover {
    background: #222;
    transform: translateX(4px);
}

.feature h4 {
    color: var(--accent-color, #fff);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature p {
    color: #ccc;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
}

/* EXAMPLES SECTION */
.examples {
    background: var(--color-dark-gray);
    margin: 60px var(--section-padding);
    border: var(--border-width-thick) solid var(--color-light-gray);
}

.examples-title {
    background: var(--color-white);
    color: var(--color-black);
    padding: 30px;
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}

.example {
    border-bottom: var(--border-width-thin) solid var(--color-gray);
    padding: 40px;
}

.example:last-child {
    border-bottom: none;
}

.example-title {
    color: currentColor;
    font-size: var(--font-size-subtitle);
    font-weight: var(--font-weight-extrabold);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.workflow {
    background: var(--color-black);
    padding: 20px;
    margin: 20px 0;
    border-left: var(--border-width-heavy) solid currentColor;
    font-family: var(--font-mono);
    color: currentColor;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    overflow-x: auto;
}

.workflow-node {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.settings {
    width: 100%;
    border-collapse: collapse;
    background: #333;
}

.settings th, .settings td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
    font-size: 14px;
}

.settings th {
    background: var(--accent-color, #fff);
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.settings td {
    color: #ccc;
    font-weight: normal;
}

/* TIPS SECTION */
.tips {
    background: #111;
    padding: 40px 20px;
    margin: 60px 0;
    border: 2px solid #333;
}

.tips-title {
    color: var(--accent-color, #fff);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.tip {
    background: #222;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color, #fff);
    color: #ccc;
    font-size: 16px;
    font-weight: normal;
    position: relative;
    padding-left: 50px;
}

.tip:before {
    content: counter(tip-counter);
    counter-increment: tip-counter;
    position: absolute;
    left: 20px;
    top: 20px;
    color: var(--accent-color, #fff);
    font-weight: 900;
    font-size: 14px;
}

.tips {
    counter-reset: tip-counter;
}

/* FOOTER */
.footer {
    background: #111;
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid var(--accent-color, #fff);
    margin-top: 80px;
}

.footer h3 {
    color: var(--accent-color, #fff);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .specs {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .node-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .examples-title {
        font-size: 24px;
    }
    
    .spec-title {
        font-size: 18px;
    }
}

/* BANDLIMITED NOISE VISUALS */
.frequency-band {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 30%;
    height: 40%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.band-low, .band-mid, .band-high {
    flex: 1;
    height: 100%;
    border-radius: 4px;
    opacity: 0.8;
}

.band-low {
    background: linear-gradient(to bottom, transparent 70%, var(--accent-color) 100%);
}

.band-mid {
    background: linear-gradient(to bottom, transparent 20%, var(--accent-color) 50%, transparent 80%);
}

.band-high {
    background: linear-gradient(to bottom, var(--accent-color) 0%, transparent 30%);
}

.filter-response {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    overflow: hidden;
}

.rolloff-curve {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-color) 20%,
        var(--accent-color) 80%,
        transparent 100%
    );
    opacity: 0.6;
}

.passband {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 10%;
    bottom: 10%;
    background: var(--accent-color);
    opacity: 0.8;
    border-radius: 2px;
}

.precision-indicators {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.precision-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.9;
}

/* SPECTRUM ANALYZER VISUALS */
.spectrum-display {
    position: absolute;
    left: 20px;
    top: 20px;
    right: 50%;
    height: 80px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
}

.spectrum-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    opacity: 0.6;
}

.spectrum-line:nth-child(1) { top: 20%; }
.spectrum-line:nth-child(2) { top: 40%; }
.spectrum-line:nth-child(3) { top: 60%; }
.spectrum-line:nth-child(4) { top: 80%; }

.fft-analyzer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2px;
}

.fft-bar {
    flex: 1;
    background: var(--accent-color);
    border-radius: 2px 2px 0 0;
    opacity: 0.8;
    transition: height 0.4s ease;
}

.fft-bar:nth-child(1) { height: 20px; }
.fft-bar:nth-child(2) { height: 35px; }
.fft-bar:nth-child(3) { height: 60px; }
.fft-bar:nth-child(4) { height: 85px; }
.fft-bar:nth-child(5) { height: 70px; }
.fft-bar:nth-child(6) { height: 45px; }
.fft-bar:nth-child(7) { height: 55px; }
.fft-bar:nth-child(8) { height: 75px; }
.fft-bar:nth-child(9) { height: 40px; }
.fft-bar:nth-child(10) { height: 25px; }
.fft-bar:nth-child(11) { height: 15px; }
.fft-bar:nth-child(12) { height: 10px; }

.frequency-grid {
    position: absolute;
    bottom: 150px;
    left: 20px;
    right: 20px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.freq-marker {
    font-size: 10px;
    color: var(--accent-color);
    background: #111;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Audio Player Interface Styling */
.save-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.audio-player {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.play-btn {
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.audio-info {
    flex: 1;
}

.filename {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #888;
}

.volume-control {
    font-size: 18px;
    color: var(--accent-color);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-control:hover {
    transform: scale(1.1);
}

.waveform-display {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 60px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.waveform-bar {
    background: linear-gradient(to top, var(--accent-color), rgba(255, 255, 255, 0.8));
    width: 6px;
    min-height: 4px;
    border-radius: 3px;
    animation: waveformPulse 2s ease-in-out infinite;
    transition: height 0.3s ease;
}

.waveform-bar:nth-child(odd) {
    animation-delay: 0.1s;
}

.waveform-bar:nth-child(even) {
    animation-delay: 0.2s;
}

@keyframes waveformPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.save-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    border-radius: 8px;
    animation: statusFadeIn 0.5s ease-out;
}

.status-icon {
    color: #4CAF50;
    font-size: 18px;
    font-weight: bold;
}

.status-text {
    color: #4CAF50;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

@keyframes statusFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} 