@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #0a0a1a;
    color: #e0e0ff;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

#app-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    background: rgba(10, 10, 30, 0.7);
    border: 1px solid #404080;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(76, 76, 255, 0.3);
}

h1 {
    color: #ffffff;
    text-shadow: 0 0 10px #66f, 0 0 20px #66f;
}

p {
    color: #c0c0f0;
    margin-bottom: 20px;
}

#controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.control-group {
    width: 100%;
}

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

.custom-file-upload {
    border: 1px solid #404080;
    background-color: #202040;
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-weight: bold;
}

.custom-file-upload:hover {
    background-color: #303060;
    box-shadow: 0 0 15px rgba(100, 100, 255, 0.5);
}

#background-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.bg-choice {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #404080;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.bg-choice:hover {
    transform: scale(1.05);
    border-color: #a0a0ff;
}

.bg-choice.active {
    border-color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

#canvas-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #404080;
}

#main-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.drag-hint {
    font-size: 0.8em;
    color: #9090c0;
    margin-top: 15px;
    font-style: italic;
}

