@font-face {
  font-family: 'FakeFont_g2wfre6a';
  src: url('./fonts/g2wfre6ar8dwksy2.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_fddrof3x';
  src: url('./fonts/fddrof3xieg3umck.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_ocswk22f';
  src: url('./fonts/ocswk22fcul7sdv3.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_rb3eal09';
  src: url('./fonts/rb3eal099xojnx95.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_sxr760aq';
  src: url('./fonts/sxr760aqn93kgf3a.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_z5sxkl27';
  src: url('./fonts/z5sxkl271lkbzrcr.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_cgdtnufn';
  src: url('./fonts/cgdtnufnwsfc449g.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_kjqd6yd2';
  src: url('./fonts/kjqd6yd2jkh2das5.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_audzlv0d';
  src: url('./fonts/audzlv0d8tboe524.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_sffpbg0q';
  src: url('./fonts/sffpbg0qqca5z5ru.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_yp26qb89';
  src: url('./fonts/yp26qb89h9mh2hi0.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_kdo0hdx3';
  src: url('./fonts/kdo0hdx3j0xumn4o.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_5dwjh8md';
  src: url('./fonts/5dwjh8md6fsdf0xm.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_dmzcu7d3';
  src: url('./fonts/dmzcu7d3h4osb3sh.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_8fug7rz6';
  src: url('./fonts/8fug7rz6q2eoi9lq.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_fhdzw932';
  src: url('./fonts/fhdzw932w8mljlki.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_9f54g41r';
  src: url('./fonts/9f54g41ri0ckhuu4.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_wlgky0tp';
  src: url('./fonts/wlgky0tpfsqn2skc.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_mbicae4a';
  src: url('./fonts/mbicae4a5j82nfvj.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FakeFont_tmripcg3';
  src: url('./fonts/tmripcg3tj8be9uw.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MasiModularVF';
  src: url('./fonts/kdllwlfojee772fjlj818934kd1w9134jVF.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 50% 200%;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #AFFF00;
  color: #000000;
  font-family: 'MasiModularVF', sans-serif;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  background-color: #000000;
  color: #AFFF00;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: auto;
}

.editable-text {
  font-variation-settings: "wght" 900, "wdth" 120;
  font-size: 3.5rem;
  outline: none;
  border: none;
  max-width: 90vw;
  width: 90vw;
  margin: auto;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  line-height: 1.2;
  padding: 0;
  text-align: center;
}

/* Scroll personalizado */
.container::-webkit-scrollbar {
  width: 12px;
}
.container::-webkit-scrollbar-track {
  background: #000000;
}
.container::-webkit-scrollbar-thumb {
  background-color: #AFFF00;
  border-radius: 6px;
}

/* Painel */
.controls-panel {
  position: fixed;
  bottom: 2px;
  right: 2px;
  transform: translateX(20px) scale(0.85);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(25px);
  border-radius: 20px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.controls-panel.visible {
  opacity: 1;
  transform: translateX(0) scale(0.85);
  pointer-events: auto;
}

.label-custom {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #AFFF00;
}

/* Sliders */
input[type=range] {
  width: 300px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input[type=range]::-webkit-slider-runnable-track {
  height: 6px;
  background: #222222;
  border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  background: #AFFF00; /* Verde */
  border-radius: 50%;
  margin-top: -6px;
  border: none;
}

input[type=range]::-moz-range-track {
  background: #222222;
  height: 6px;
  border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
  background: #AFFF00; /* Verde */
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: none;
}

input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #222222;
  border-radius: 3px;
}

input[type=range]::-ms-fill-upper {
  background: #222222;
  border-radius: 3px;
}

input[type=range]::-ms-thumb {
  background: #AFFF00; /* Verde */
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: none;
}

/* Botões */
.button-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.button-group button {
  background: #000000;
  color: #AFFF00;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
}

/* Zonas dos ícones */
#hoverZone, #downloadZone {
  position: fixed;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  pointer-events: auto;
}

#hoverZone {
  bottom: 20px;
  right: 20px;
}

#downloadZone {
  bottom: 20px;
  left: 20px;
}

.icon-container {
  background: #000000;
  padding: 12px 24px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container i {
  font-size: 18px;
  color: #AFFF00;
}
