.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  gap: 1.5rem;
}

.setup-panel {
  background: #170e12;
  color: rgba(255, 255, 255, 0.0.55);
  border-radius: 15px;
  padding: 1.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.input-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: white;
  opacity: 0.4;
}

input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
}

input {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

button {
  background: #e94560;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

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

.oracle-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

.reload {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
}

.wheel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.spin-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #0fccce;
  color: black;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 20px rgba(15, 204, 206, 0.5);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 25px;
}

.spin-button:hover {
  background: #00e6e8;
  transform: scale(1.05);
}

.spin-button:disabled {
  background: #666;
  cursor: not-allowed;
  transform: scale(1);
}

.spin-button .arrow {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 25px solid #0fccce;
}

.spin-button:hover .arrow {
  border-bottom-color: #00e6e8;
}

.spin-button:disabled .arrow {
  border-bottom-color: #666;
}

.options-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.option {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: default;
  overflow: hidden;
  word-break: break-word;
  font-size: 0.8rem;
  z-index: 5;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
}

.option.highlighted {
  background: #0fccce;
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(15, 204, 206, 0.7);
  z-index: 10;
  font-weight: bold;
}

.result {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-text {
  color: white;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none;
}

/* Estilos para el contador de caracteres */
.char-counter {
    font-size: 0.8rem;
    color: #0fccce;
    margin-top: 0.3rem;
    text-align: right;
}

/* Asegurar que el texto de las opciones se ajuste */
.option {
  color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

/* Tamaños de fuente responsivos para las opciones */
.option.small-text {
    font-size: 0.65rem;
}

.option.medium-text {
    font-size: 0.75rem;
}

.option.large-text {
    font-size: 0.8rem;
}

/* Estilos para tooltip/burbuja (igual al otro sistema) */
.tooltip-burbuja {
    position: absolute;
    background: #e94560;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    white-space: nowrap;
    animation: fadeIn 0.2s ease;
}

.tooltip-burbuja::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #e94560;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }
  
  .oracle-container {
    max-width: 400px;
  }
  
  .option {
    width: 65px;
    height: 65px;
    font-size: 0.7rem;
    margin-left: -32.5px;
    margin-top: -32.5px;
  }
  
  .spin-button {
    width: 80px;
    height: 80px;
    font-size: 0.9rem;
    padding-top: 20px;
  }
  
  .spin-button .arrow {
    top: -20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid #0fccce;
  }
  
  h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .oracle-container {
    max-width: 320px;
  }
  
  .option {
    width: 55px;
    height: 55px;
    font-size: 0.65rem;
    padding: 5px;
    margin-left: -27.5px;
    margin-top: -27.5px;
  }
  
  .spin-button {
    width: 70px;
    height: 70px;
    font-size: 0.8rem;
    padding-top: 18px;
  }
  
  .spin-button .arrow {
    top: -18px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 18px solid #0fccce;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .setup-panel {
    padding: 1rem;
  }
}