body {
    background-color: #ffe4ec;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px;
    color: #d81b60;
}

.main-container {
    background: #fff0f5;
    padding: 30px;
    border-radius: 30px;
    border: 3px solid #f8bbd0;
    width: 450px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.upload-section {
    border: 2px dashed #fbcce7;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    background: white;
}

canvas {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    border: 4px solid #f8bbd0;
    background-color: #fff;
}

.controls-panel {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
}

.control-group {
    margin-bottom: 18px;
    text-align: left;
}

label { font-size: 14px; font-weight: bold; margin-bottom: 8px; display: block; }

input[type="range"] {
    width: 100%;
    appearance: none;
    height: 10px;
    border-radius: 10px;
    background: #fbcce7;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #ff85a2;
    border-radius: 50%;
    cursor: pointer;
}

.hue-slider {
    background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red) !important;
}

button {
    background: linear-gradient(to bottom, #ffb3c6, #ff85a2);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(255, 133, 162, 0.3);
}

button:hover { transform: scale(1.03); }
/* Libera a rolagem da página de novo */
html, body {
    overflow-y: auto; 
    height: auto;
    position: relative; /* Remove o 'fixed' que travava tudo */
    touch-action: auto;
}

/* O segredo: Trava o "arrasto de página" APENAS nos sliders */

input[type="range"] {
    touch-action: none; /* Quando o dedo estiver no slider, a página não mexe */
    cursor: pointer;
}

/* Garante que o container principal não quebre o scroll */
.main-container {
    max-width: 450px;
    margin: 0 auto;
    padding-bottom: 50px; /* Espaço extra para o rodapé respirar */
}
.meu-elemento {
  filter: hue-rotate(200deg) saturate(150%) brightness(120%);
  -webkit-filter: hue-rotate(200deg) saturate(150%) brightness(120%);
}
.ios-helper {
    margin-top: 25px;
    padding: 10px;
    background: #fff;
    border: 2px dashed #ffb3c6;
    border-radius: 15px;
}

.ios-helper p {
    font-size: 12px;
    margin-bottom: 5px;
    color: #d81b60;
}

.ios-link {
    display: inline-block;
    color: white;
    background: #ff85a2;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.ios-link:hover {
    background: #d81b60;
    transform: scale(1.05);
}