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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
}

.demo-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.demo-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.demo-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #38bdf8;
}

.controls {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    font-family: ui-monospace, monospace;
}

.controls label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.controls input[type="range"] {
    cursor: pointer;
}

button {
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #0369a1;
}

#particle-canvas {
    flex: 1;
    width: 100%;
    height: 100%;
    display: block;
}

.demo-footer {
    padding: 6px 16px;
    font-size: 0.75rem;
    color: #64748b;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}
