* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #533483 100%);
  color: #fff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 0;
}

/* Estrelas */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--opacity); transform: scale(1); }
}

/* Lua */
.moon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 0 40px rgba(253, 203, 110, 0.4),
    0 0 80px rgba(253, 203, 110, 0.2);
  margin-bottom: 2rem;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.moon:hover {
  transform: scale(1.1);
}

.moon:active {
  transform: scale(0.95);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.crater {
  position: absolute;
  background: rgba(214, 162, 67, 0.3);
  border-radius: 50%;
}

.c1 { width: 20px; height: 20px; top: 25px; left: 30px; }
.c2 { width: 12px; height: 12px; top: 60px; left: 70px; }
.c3 { width: 16px; height: 16px; top: 75px; left: 25px; }

.face {
  position: absolute;
  width: 100%;
  height: 100%;
}

.eye {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #5d4037;
  border-radius: 50%;
  top: 50px;
  animation: blink 4s infinite;
}

.eye.left { left: 35px; }
.eye.right { right: 35px; }

@keyframes blink {
  0%, 48%, 52%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.cheek {
  position: absolute;
  width: 14px;
  height: 10px;
  background: rgba(255, 107, 107, 0.3);
  border-radius: 50%;
  top: 62px;
}

.cheek.left { left: 28px; }
.cheek.right { right: 28px; }

.mouth {
  position: absolute;
  width: 20px;
  height: 10px;
  border-bottom: 3px solid #5d4037;
  border-radius: 0 0 20px 20px;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
}

/* Nuvens */
.clouds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cloud {
  position: absolute;
  font-size: 3rem;
  opacity: 0.6;
  animation: drift linear infinite;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.cloud-1 { top: 10%; left: -10%; animation-duration: 25s; animation-delay: 0s; }
.cloud-2 { top: 30%; left: -15%; animation-duration: 35s; animation-delay: 5s; font-size: 2.2rem; opacity: 0.4; }
.cloud-3 { top: 60%; left: -8%; animation-duration: 30s; animation-delay: 12s; font-size: 2.5rem; opacity: 0.5; }

@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(110vw); }
}

/* Card principal */
.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 460px;
  width: 90%;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease-out;
}

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

h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ffeaa7, #fab1a0, #fd79a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Quote box */
.quote-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #fdcb6e;
  transition: transform 0.3s ease;
}

.quote-box:hover {
  transform: scale(1.02);
}

#quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Botão */
.btn-cute {
  background: linear-gradient(135deg, #fd79a8 0%, #e17055 100%);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(253, 121, 168, 0.35);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.btn-cute:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(253, 121, 168, 0.5);
}

.btn-cute:active {
  transform: translateY(0) scale(0.98);
}

/* ========== WORKER SECTION ========== */
.worker-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.worker-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.api-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  transition: transform 0.2s ease;
}

.api-box:hover {
  transform: translateX(4px);
}

.api-box:last-child {
  margin-bottom: 0;
}

.api-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.api-response {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.api-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.3rem;
}

.btn-small {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(116, 185, 255, 0.35);
}

.btn-small:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.wish-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s ease;
}

.wish-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wish-input:focus {
  border-color: #74b9ff;
}

.wish-status {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.2em;
  color: #55efc4;
}

.wish-list {
  list-style: none;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.wish-list::-webkit-scrollbar {
  width: 4px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.wish-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.wish-list li:last-child {
  border-bottom: none;
}

.wish-list .wish-icon {
  flex-shrink: 0;
}

.wish-list .wish-text {
  word-break: break-word;
}

.wish-empty {
  color: rgba(255, 255, 255, 0.35) !important;
  font-style: italic;
  text-align: center;
  justify-content: center;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-emoji {
  font-size: 1.5rem;
}

.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffeaa7;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

/* Responsivo */
@media (max-width: 480px) {
  body { padding: 1.5rem 0; }
  .moon { width: 90px; height: 90px; }
  .eye { width: 8px; height: 8px; top: 38px; }
  .eye.left { left: 26px; }
  .eye.right { right: 26px; }
  .cheek { top: 48px; width: 11px; height: 8px; }
  .cheek.left { left: 20px; }
  .cheek.right { right: 20px; }
  .mouth { top: 48px; width: 16px; height: 8px; }
  .crater.c1 { width: 15px; height: 15px; top: 18px; left: 22px; }
  .crater.c2 { width: 9px; height: 9px; top: 45px; left: 55px; }
  .crater.c3 { width: 12px; height: 12px; top: 58px; left: 18px; }
  h1 { font-size: 1.6rem; }
  .card { padding: 2rem 1.5rem; }
  .worker-section { padding: 1rem; }
}
