/* Reset and base styles */
html, body {
    background: transparent;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Container styles */
#unity-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Canvas styles */
#unity-canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent !important;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1) saturate(1.1) hue-rotate(0deg);
    transition: filter 0.3s ease;
}

/* Loading bar styles */
#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#unity-logo {
    background: url('Boomtech_logo.png') no-repeat center;
    background-size: 200px;
    width: 314px;
    height: 100px;
}

#unity-progress-bar-empty {
    width: 318px;
    height: 8px;
    margin-top: 22px;
    background: #D9D9D9;
    border-radius: 10px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 8px;
    margin-top: 22px;
    background: linear-gradient(#FAD057, #EF5D60);
    border-radius: 10px;
}

/* Warning message styles */
#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none;
    z-index: 10;
}

/* Post-processing controls */
#post-processing-controls {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-family: Arial, sans-serif;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(calc(100% - 40px));
}

#post-processing-controls:hover {
    transform: translateX(0);
}

#post-processing-controls::before {
    content: "⚙️";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
}

/* Control panel elements */
.control-group {
    margin: 10px 0;
    min-width: 200px;
}

.control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.control-group input[type="range"] {
    width: 100%;
}

.control-group .value {
    float: right;
    font-size: 12px;
}

/* Reset button */
#reset-effects {
    background: #4CAF50;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    font-size: 12px;
}

#reset-effects:hover {
    background: #45a049;
}
