* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #08090f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
  user-select: none;
  -webkit-user-select: none;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

/* Floating UI Container */
.ui-container {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
  flex-wrap: wrap;
}

.brand-pill, .controls-pill {
  pointer-events: auto;
  background: rgba(18, 20, 29, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  color: #ff3b30;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.brand-logo:hover {
  color: #ff5247;
}

.divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.project-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

/* Minimalist Buttons */
button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

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

.btn-share {
  background: #1da1f2;
  border-color: #1da1f2;
  color: #ffffff;
  font-weight: 600;
}
.btn-share:hover {
  background: #0c85d0;
  border-color: #0c85d0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .ui-container {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 8px;
  }
  .brand-pill, .controls-pill {
    padding: 6px 12px;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
  }
  .brand-logo, .project-title {
    font-size: 12px;
  }
  button {
    padding: 5px 10px;
    font-size: 11px;
  }
}
