/* style.css */
:root {
    --bg: #050505;
    --fg: #e0e0e0;
    --accent: #00ff41;
    --border: #333;
    --surface: #111;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    min-height: 100vh;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
}

.container {
    max-width: 700px;
    margin: 60px auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: left;
    margin-bottom: 50px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

header h1 span {
    color: var(--accent);
}

header p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #666;
    margin-top: 5px;
}

.upload-section {
    margin-bottom: 40px;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid var(--border);
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
    display: inline-block;
}

.custom-file-upload:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.controls {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 40px;
}

.control-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.control-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.65rem;
    margin-bottom: 12px;
    color: #888;
    letter-spacing: 1px;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: #222;
    appearance: none;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent);
    cursor: pointer;
}

.toggles {
    display: flex;
    gap: 25px;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 25px;
}

.toggle-item {
    cursor: pointer;
    font-size: 0.7rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.output-container {
    border: 1px solid var(--border);
    background: #000;
}

.output-header {
    padding: 12px 20px;
    background: #0a0a0a;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: #666;
}

#copyBtn {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 6px 15px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.65rem;
    transition: all 0.2s;
}

#copyBtn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

pre {
    padding: 30px;
    font-size: 11px;
    line-height: 11px;
    white-space: pre;
    overflow-x: auto;
    color: var(--accent);
    text-align: center;
}

@media (max-width: 600px) {
    .control-row { flex-direction: column; }
}
