body {
    font-family: 'Arial', sans-serif;
    background: url('https://i.ibb.co/xqKTppqH/arka.webp') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.container {
    background-color: rgba(30, 30, 30, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

h1 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.file-input-container {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.file-label {
    background-color: #FFD700;
    color: #121212;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.file-label:hover {
    background-color: #FFE44D;
}

#fileName {
    color: #ffffff;
}

#imageUpload {
    display: none;
}

.preview-container {
    position: relative;
    margin: 0 auto;
    width: 400px;
    height: 400px;
    border: 3px dashed rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: rgba(42, 42, 42, 0.7);
    border-radius: 10px;
}

#imagePreview {
    max-width: 100%;
    max-height: 100%;
    display: none;
}

.halo {
    position: absolute;
    width: 200px;
    height: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.halo:active {
    cursor: grabbing;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
}

.size-slider {
    width: 100%;
    max-width: 300px;
}

#haloSizeValue, #haloOpacityValue, #haloHueValue {
    font-weight: bold;
    display: inline-block;
    min-width: 40px;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

button {
    background-color: #FFD700;
    color: #121212;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #FFE44D;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .preview-container {
        width: 300px;
        height: 300px;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .file-input-container {
        flex-direction: column;
    }
    
    .preview-container {
        width: 250px;
        height: 250px;
    }
}